The Reverse Geocoding API converts geographic coordinates (latitude and longitude) into a human-readable address. It’s ideal for map-based tools, location tagging, geo-fencing apps, and user check-in systems.
Authorization: X-Authorization-Token /v4/reverse_geocodehttps://apihub.latlong.ai/v4/reverse_geocode| Parameter | Type | Required | Description |
|---|---|---|---|
| lat | float | Yes | Latitude of the location |
| lon | float | Yes | Longitude of the location |
curl --location 'https://apihub.latlong.ai/v4/reverse_geocode.json?latitude=12.9306361&longitude=77.5783206' {
"code": 1001,
"status": "success",
"data": {
"address": "27th Cross Road, 2nd Main Road, 7th block, Jayanagar, Bangalore South, Bengaluru, Karnataka",
"pincode": "560070",
"landmark": "< 0.5km from Lucid Medical Diagnostics, < 0.5km from Lucid Medical Diagnostics, < 0.5km from Barbeque Nation"
}
} Converts coordinates into address components (street, city, state, pincode, etc.)
Returns a confidence score for accuracy
️Useful for apps that work with maps, location services, and spatial data tagging
Flexible integration with your frontend maps
| Status Code | Message | Description |
|---|---|---|
| 400 | Missing required parameters | When query is not provided |
| 401 | Unauthorized | API key missing or invalid |
| 404 | No address found | No address found for given coordinates |
| 500 | Internal Server Error | Something went wrong on our side |