Skip to main content
GET
/
tools
/
geocode-single
Error
A valid request URL is required to generate request examples
{
  "lat": 123,
  "lon": 123,
  "message": "<string>"
}

Authorizations

Authorization
string
header
required

Your access token or API key. Pass as Authorization: Bearer <token>.

Query Parameters

query
string
required

The address or location query to geocode. e.g., '1600 Pennsylvania Ave NW, Washington, DC'

country
string | null

Optional two-letter country code (ISO 3166-1 alpha-2) to improve geocoding accuracy.

Required string length: 2

Response

Successful Response

Response schema for single geocoding.

lat
number | null

Latitude of the location. Null if no results found.

lon
number | null

Longitude of the location. Null if no results found.

message
string | null

Additional information, such as error messages if no results were found.