---
title: "Forward geocoding"
method: GET
path: "/api"
tags: ["Geocoding"]
---

# Forward geocoding

`GET /api`

Convert an address or place name to GeoJSON coordinates.

## Query parameters

- `api_key` string
- `q` string, required
- `limit` integer
- `lang` string
- `lat` number, double
- `lon` number, double

## Response `200`

GeoJSON feature collection.

- GeoJsonFeatureCollection
  - `type` 'FeatureCollection', required
  - `features` GeoJsonFeature[], required
    - `type` 'Feature', required
    - `geometry` object, required
      - `type` string, required
      - `coordinates` number[], required
    - `properties` object, required

## Other responses

- `400` — Bad request or invalid parameters.
- `429` — Rate limit exceeded.
- `503` — Upstream geocoding service unavailable.

---

[API](https://skmtc.net/latlng/apis/latlng-api.md) · [All operations](https://skmtc.net/latlng/apis/latlng-api/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/latlng/latlng-api/revisions/d6031c15b5ec/schema)
