Skip to main content
GET
Geocode a free-text address

Authorizations

X-API-Key
string
header
required

Query Parameters

q
string
required

Free-text place description to resolve — a city, postal code, or street address.

Required string length: 1 - 200

Response

OK

lat
number | null

Latitude of the best match in decimal degrees, or null when nothing matched.

Required range: -90 <= x <= 90
lon
number | null

Longitude of the best match in decimal degrees, or null when nothing matched.

Required range: -180 <= x <= 180
display_name
string
default:""

Human-readable name of the matched place. Empty string when nothing matched.