latlong

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.

Search & GeocodingGET

Geo Coding

Turn a written address into a precise latitude/longitude.

  • Converts addresses to precise geographic coordinates
  • Supports partial and complete addresses
Try it out
Search & GeocodingGET

Reverse 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
Try it out
Search & GeocodingGET

Auto 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
Try it out
Search & GeocodingGET

Auto 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)
Try it out
Search & GeocodingGET

Landmark

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
Try it out
Search & GeocodingGET

Point 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
Try it out
Search & GeocodingGET

Postal 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
Try it out
Search & GeocodingGET

Nearest 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
Try it out
Routing & NavigationGET

Driving 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
Try it out
Routing & NavigationGET

Distance Matrix

Distance for every origin/destination coordinate pair.

  • Multi-drop delivery planning and optimization
  • Taxi fare or ETA matrix for ride-sharing platforms
Try it out
Routing & NavigationGET

Trips

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
Try it out
Routing & NavigationGET

Snap 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
Try it out
Routing & NavigationGET

Isochrone

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
Try it out
Boundaries & DataGET

Geo 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
Try it out
Boundaries & DataGET

Geospatial 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
Try it out
Boundaries & DataGET

Geo 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
Try it out
Boundaries & DataGET

Voting Constituency

The assembly/parliamentary constituency for an address.

  • Retrieves voting constituency details for a given address
  • Provides both legislative and parliamentary constituencies
Try it out
Boundaries & DataGET

Latlong 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
Try it out