Reverse Geocoding
Reverse geocoding is the process of converting a coordinate or location (latitude, longitude) to a readable address or place name. This permits the identification of nearby street addresses, places, and/or area subdivisions such as a neighborhood, county, state, or country.
Response Body
curl -X GET "https://example.com/reverse?lat=40.748442&lon=-73.985658"{ "place_id": "116136978", "licence": "https://locationiq.com/attribution", "osm_type": "way", "osm_id": "34633854", "lat": "40.74844205", "lon": "-73.98565890160751", "display_name": "Empire State Building, 350, 5th Avenue, Manhattan Community Board 5, Manhattan, New York County, New York, New York, 10001, USA", "address": { "attraction": "Empire State Building", "house_number": "350", "road": "5th Avenue", "neighbourhood": "Manhattan Community Board 5", "suburb": "Manhattan", "county": "New York County", "city": "New York", "state": "New York", "postcode": "10001", "country": "United States of America", "country_code": "us" }, "boundingbox": [ "40.7479255", "40.7489585", "-73.9865012", "-73.9848166" ]}