---
title: "SearchResults"
---

> Documentation Index
> Fetch the complete documentation index at: https://docs.deathspot.org/llms.txt
> Use this file to discover all available pages before exploring further.

Path: Deathspot UG API

## Fields

- `SearchResults.spots` (array<unknown>, required) — Up to 8 matching mapped spots, best first.
  - `SearchResults.spots.id` (integer, required)
  - `SearchResults.spots.title` (string, required)
  - `SearchResults.spots.area` (string, required)
  - `SearchResults.spots.category` (string, required) — What happens at the spot: `murder` (killing), `mob_action`, `boda_gang`, `robbery` (robbery or snatching), `stabbing` (stabbing or hacking), `kidnapping`, `other`.
    - one of `"murder"`, `"mob_action"`, `"boda_gang"`, `"robbery"`, `"stabbing"`, `"kidnapping"`, `"other"`
  - `SearchResults.spots.severity` (integer, required)
    - min 1; max 5
  - `SearchResults.spots.status` (string, required) — The community's verdict from votes. `confirmed` needs at least 3 more confirmations than denials, and `disputed` means denials outnumber confirmations by more than 2.
    - one of `"unverified"`, `"confirmed"`, `"disputed"`
  - `SearchResults.spots.moderator_verified` (boolean, required)
  - `SearchResults.spots.lat` (number, required)
    - format `double`
  - `SearchResults.spots.lng` (number, required)
    - format `double`
  - `SearchResults.spots.score` (number, required) — Relevance. Higher is better; only matches above 0.5 are returned.
    - example `1.8`
- `SearchResults.places` (array<object>, required) — Matching places, those near mapped spots first.
  - `SearchResults.places.name` (string, required)
    - example `"Mulago"`
  - `SearchResults.places.detail` (string, required) — Up to three levels of administrative context.
    - example `"Kawempe, Kampala, Central Region"`
  - `SearchResults.places.lat` (number, required)
    - format `double`
  - `SearchResults.places.lng` (number, required)
    - format `double`
  - `SearchResults.places.nearby` (array<unknown>, required) — Up to 5 mapped spots within 2 km, nearest first.
    - `SearchResults.places.nearby.id` (integer, required)
    - `SearchResults.places.nearby.title` (string, required)
    - `SearchResults.places.nearby.area` (string, required)
    - `SearchResults.places.nearby.category` (string, required) — What happens at the spot: `murder` (killing), `mob_action`, `boda_gang`, `robbery` (robbery or snatching), `stabbing` (stabbing or hacking), `kidnapping`, `other`.
      - one of `"murder"`, `"mob_action"`, `"boda_gang"`, `"robbery"`, `"stabbing"`, `"kidnapping"`, `"other"`
    - `SearchResults.places.nearby.severity` (integer, required)
      - min 1; max 5
    - `SearchResults.places.nearby.status` (string, required) — The community's verdict from votes. `confirmed` needs at least 3 more confirmations than denials, and `disputed` means denials outnumber confirmations by more than 2.
      - one of `"unverified"`, `"confirmed"`, `"disputed"`
    - `SearchResults.places.nearby.moderator_verified` (boolean, required)
    - `SearchResults.places.nearby.lat` (number, required)
      - format `double`
    - `SearchResults.places.nearby.lng` (number, required)
      - format `double`
    - `SearchResults.places.nearby.distance_m` (number, required) — Distance from the place in metres (at most 2000).
      - example `1240`
- `SearchResults.error` (string, optional) — Set when place search was skipped, e.g. the geocoder is unavailable.


Source: https://docs.deathspot.org/api/schemas/SearchResults/index.md
