Heimdall

/reverse

Reverse geocoding — turn coordinates into an address or place name.

GET https://api.geoheim.com/reverse

Parameters

ParameterTypeDescription
latrequiredfloatLatitude in WGS84.59.3345
lonrequiredfloatLongitude in WGS84.18.0632
formatstringdefault: "json"Response format."json" | "jsonv2" | "geojson"
zoomintegerdefault: 18Level of detail. 3 = country, 10 = city, 14 = suburb, 16 = street, 18 = building/address. Lower values return broader results.10
addressdetailsintegerdefault: 1Include structured address breakdown. Enabled by default for reverse.
accept-languagestringPreferred language for results."en" / "de"
keystringAPI key as query parameter (header preferred).

Example: address-level reverse

curl "https://api.geoheim.com/reverse?lat=59.3345&lon=18.0632&format=json" \
  -H "Authorization: Bearer hk_live_…"

Example: city-level reverse

Use zoom=10 to get the city instead of the exact address.

curl "https://api.geoheim.com/reverse?lat=59.3345&lon=18.0632&zoom=10&format=json" \
  -H "Authorization: Bearer hk_live_…"

Zoom levels

ZoomDetail level
3Country
5State / region
8County
10City / town
14Suburb / neighbourhood
16Street
18Building / address (default)

Response fields

Same structure as /search, but returns a single object instead of an array. The address field is included by default.

No result

If the coordinates are in the ocean or in an area with no data, the response is:

{"error": "Unable to geocode"}

HTTP status is still 200. Check for the error field.