---
title: "Suggests geocodes for a given query string"
method: GET
path: "/geocode/suggest"
tags: ["Suggest", "Geocode"]
---

# Suggests geocodes for a given query string

`GET /geocode/suggest`

## Query parameters

- `q` string, required
- `limitToResolution` string

## Response `200`

OK

- Location[] — A list of geo locations
  - `query` string
  - `country` string — ISO-3166-2 code of a country
  - `administrativeAreaLevel1` string
  - `administrativeAreaLevel2` string
  - `administrativeAreaLevel3` string
  - `place` string
  - `name` string
  - `geoResolution` string
  - `geometry` Position
    - `latitude` number, required
    - `longitude` number, required

## Other responses

- `422` — Unprocessable entity
- `500` — Internal server error

---

[API](https://skmtc.net/globaldothealth/apis/global-health-geolocation-service.md) · [All operations](https://skmtc.net/globaldothealth/apis/global-health-geolocation-service/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/globaldothealth/global-health-geolocation-service/revisions/97f3a25df026/schema)
