Reverse geocoding is the technique of transforming geographic coordinates into a readable address or place name. It serves as the converse of forward geocoding, which turns addresses into geographic coordinates. This process is particularly useful in applications that require identifying specific location details from GPS coordinates.
lat required | number [ -90 .. 90 ] Latitude |
lon required | number [ -180 .. 180 ] Longitude |
addressdetails | number Include a breakdown of the address into elements. |
extratags | number Include additional information in the result if available, e.g. wikipedia link, opening hours. |
namedetails | number Include a list of alternative names in the results. These may include language variants, references, operator and brand. |
accept-language | string The order of preferred languages for displaying search results can override the settings specified in the Accept-Language HTTP header. You can either use a standard RFC2616 accept-language string or opt for a simple comma-separated list of language codes to set your preferences. Example: accept-language=en |
zoom | number [ 0 .. 18 ] The required level of detail for the address is specified by a numerical value. The default setting is 18. This number approximately aligns with the zoom levels utilized in XYZ tile sources within frameworks such as Leaflet.js, OpenLayers, and others. The zoom levels correspond to varying degrees of address detail as follows:
Example: zoom=10 |
polygon_geojson | number Output geometry of results as a GeoJSON. Only one of |
polygon_kml | number Output geometry of results as a KML. Only one of |
polygon_svg | number Output geometry of results as a SVG. Only one of |
polygon_text | number Output geometry of results as a WKT. Only one of |
polygon_threshold | number Return a simplified version of the output geometry. The parameter is the tolerance in degrees with which the geometry may differ from the original geometry. Topology is preserved in the result. |
Reverse geocoding result.
Incorrect request parameters.
API key is incorrect or not provided.
Subscription daily limit exceeded.
Subscription suspended.
{- "place_id": "string",
- "licence": "string",
- "osm_type": "node",
- "osm_id": "string",
- "lat": "string",
- "lon": "string",
- "display_name": "string",
- "boundingbox": [
- "string",
- "string",
- "string",
- "string"
], - "address": {
- "house_number": "string",
- "road": "string",
- "city": "string",
- "county": "string",
- "state": "string",
- "postcode": "string",
- "country": "string",
- "country_code": "string"
}
}