For the complete documentation index, see llms.txt. This page is also available as Markdown.

Reverse Geocoding

This API translates a location on the map (coordinates of latitude and longitude) to a human-readable address.

The service converts geographic coordinates into detailed address information, including country, administrative areas and formatted addresses.

Endpoint

POST /reverse-geocoding

Headers

Name
Type
Required
Description

x-api-key

string

Yes

API Key for access authorization.

Request body

Content-Type: application/json

Parameters

Parameter
Type
Required
Description

latitude

number

Yes

Numeric representation of the latitude coordinate.

longitude

number

Yes

Numeric representation of the longitude coordinate.

Request example

{
  "latitude": -70.961452,
  "longitude": 100.714224
}

Responses

200 Success

Response parameters

Parameter
Type
Description

results

array

Array of geocoding results with address information.

results[].address_components

array

Array of address components with detailed location information.

results[].address_components[].long_name

string

Full name of the address component.

results[].address_components[].short_name

string

Abbreviated name of the address component.

results[].address_components[].types

array

Types of the address component.

results[].formatted_address

string

Formatted address human-readable.

results[].geocoding.distance

number

Distance from the requested coordinates (null for exact matches).

results[].geocoding.type

string

Geocoding match type (e.g., "Exact").

results[].types

array

Geocoding result types.

Response example

400 Bad Request

401 Unauthorized

403 Forbidden

502 Bad Gateway

504 Gateway Timeout

Last updated