LatLong API Documentation
Everything you need to add maps, geocoding, routing, and location search to your app. Pick a category below to get started.
New here? Get started in 2 minutes
Sign up → Generate a token → Make your first API call
Search & Autocomplete
Help users find places with fast, typo-tolerant search and suggestions.
Geocoding
Convert between addresses and coordinates. Validate and enrich location data.
Routing & Navigation
Calculate routes, distances, travel times, and reachable areas.
Geofencing & Boundaries
Create virtual boundaries and check if a point is inside a region.
Authentication
All requests require a token. Pass it in the header:
HTTP Header
X-Authorization-Token: your_token_here
Generate tokens from your Dashboard → Tokens page. For server-to-server use, generate Client Credentials.
Example Request
cURL
curl "https://apihub.latlong.ai/v4/geocode.json?address=Bangalore" \ -H "X-Authorization-Token: YOUR_TOKEN"
Response
{
"status": "success",
"data": {
"latitude": 12.9716,
"longitude": 77.5946,
"formatted_address": "Bangalore, Karnataka, India"
}
}Need help?
Reach out to our team for integration support.

