Skip to content
Navo24Navo24
GETAPI key

Address geocoding

GETapi.navo24.com/v1/geo/address

Street address to coordinates and postcode, from OpenStreetMap and OpenAddresses house numbers. Write the address the way a person would. The example is Derybasivska 10, Odesa.

Query parameters

qstringrequired

Street, house number and city in one string.

ccstring

ISO 3166-1 alpha-2 country filter.

limitinteger

Results, 1 to 20. Default 5.

Response schema

12 fields

Derived from the example response, nested as the JSON is.

dataobject[]

The payload. Everything an endpoint returns sits under this key.

data[]object
kindstring

carrier_event when a carrier filed it, trackingmcp_inference when we derived the step from surrounding events.

namestring

Human-readable name.

streetstring
housenumberstring
citystring

City the airport serves.

postcodestring
country_codestring

ISO 3166-1 alpha-2 country code.

latnumber

Latitude.

lngnumber

Longitude.

sourcestring

Where the answer on this call came from: direct_carrier or warm_db.

took_msnumber

Errors

A failure carries { "ok": false, "error": { "code", "message", "severity" } }. Branch on the code, and log the message.

missing_key401

No Authorization: Bearer *** or X-API-Key header.

invalid_key401

The key was not recognised.

invalid_request400

q is missing.

curl 'https://api.navo24.com/v1/geo/address?q=Deribasivska%2010%20Odesa&cc=UA&limit=1' \
  -H "Authorization: Bearer tmcp_YOUR_API_KEY"
Response
{
  "data": [
    {
      "kind": "address",
      "name": "Дерибасівська вулиця 10",
      "street": "Дерибасівська вулиця",
      "housenumber": "10",
      "city": "Одеса",
      "postcode": "65026",
      "country_code": "UA",
      "lat": 46.484352,
      "lng": 30.741688,
      "source": "osm"
    }
  ],
  "took_ms": 190.9
}