Developer Playground
Try every latlong.ai API, right in your browser.
Pick an API below to fill in real parameters, see a live map, and read the docs — side by side, no setup required.
GETGeo Coding
Turn a written address into a precise latitude/longitude.
- Converts addresses to precise geographic coordinates
- Supports partial and complete addresses
GETReverse Geocoding
Turn a latitude/longitude into a human-readable address.
- Converts coordinates into address components (street, city, state, pincode, etc.)
- Returns a confidence score for accuracy
GETAuto Complete
Suggest full places as the user types a query.
- Real-time, fast suggestions as users type
- Location-aware results — bias by latitude and longitude for relevance
GETAuto Suggest
Suggest nearby places for a loose query, biased around a coordinate.
- Fast and responsive type-ahead suggestions
- Context-aware results using latitude/longitude (within 50km radius)
GETLandmark
Click anywhere on the map to find the nearby landmarks.
- Fetch nearby landmarks instantly on map click
- Highly relevant landmarks based on real-world data and popularity
GETPoint Of Interest
Find the administrative/electoral boundaries a coordinate falls in.
- Get nearby places based on categories like school, hospital, bank, etc.
- Fast filtering based on location and category
GETPostal Code
Look up locality details for an Indian PIN code.
- Fetch city and state by entering just a 6-digit pincode
- Ideal for e-commerce, logistics, and address form validation
GETNearest Cities
Rank the nearest cities to a given city name.
- Returns up to 10 nearest cities for a given input city
- Based on geographical distance
GETDriving Directions
Click the map to set an origin, then click again for the destination.
- Building route planners and delivery management dashboards
- Estimating delivery or travel times for e-commerce or logistics
GETDistance Matrix
Distance for every origin/destination coordinate pair.
- Multi-drop delivery planning and optimization
- Taxi fare or ETA matrix for ride-sharing platforms
GETTrips
Click at least 2 points on the map to optimise the order to visit them in.
- Delivery optimization: arrange multiple deliveries with the least travel time
- Field visits: help field staff choose the best visit sequence
GETSnap To Roads
Click a few points near roads to snap them onto the nearest road geometry.
- Smooth visual trace of delivery riders or moving vehicles
- Clean GPS data on a map for playback/reports
GETIsochrone
Click a point on the map, then set a travel distance to see the reachable area.
- Define emergency response zones for hospitals or fire stations
- Service area mapping for last-mile deliveries
GETGeo Fence
Check whether a point falls inside a circular fence.
- Alert when a delivery vehicle enters or exits a zone
- Trigger actions when assets leave industrial boundaries
GETGeospatial Data
Count places of a category near a pincode, or a coordinate + radius.
- Find nearby points of interest by category around a place
- Useful for site-selection, market research, and local search
GETGeo Validation
Check how well an address string matches a given coordinate.
- Verifying delivery address coordinates from customers
- Confirming if a tagged location aligns with a user-entered address
GETVoting Constituency
The assembly/parliamentary constituency for an address.
- Retrieves voting constituency details for a given address
- Provides both legislative and parliamentary constituencies
GETLatlong To Digipin
Convert a coordinate to India Post's DIGIPIN code.
- Converts any coordinate to a compact DIGIPIN code
- Aligned with India Post's national digital addressing system