Reverse Geocoding API

Convert latitude and longitude coordinates into a human-readable address. Useful for showing location names on maps and in delivery tracking.

Try in Playground →

Endpoint

GET/v4/reverse_geocode.json

Authentication

Include your token in the request header:

X-Authorization-Token: your_token

Parameters

NameTypeDescription
latitudenumberLatitude of the point
longitudenumberLongitude of the point

Code Examples

curl "https://apihub.latlong.ai/v4/reverse_geocode.json?latitude=VALUE&longitude=VALUE" \
  -H "X-Authorization-Token: YOUR_TOKEN"

Example Response

JSON
{
  "status": "success",
  "code": 1001,
  "data": {
    "building_name": "Vidhana Soudha",
    "address": "Dr Ambedkar Veedhi, Bangalore, Karnataka 560001",
    "pincode": "560001",
    "city": "Bangalore",
    "state": "Karnataka"
  }
}

Notes

  • Returns the nearest known address to the given coordinates.
  • Includes building name, street, city, state, and pincode when available.