osrmroute
🇮🇳
Coverage: India

India · Maps, Routing & Logistics APIs

See what your team can do in India: find an address, build a route for a taxi or courier, and choose a road route for a truck. You can also plan how the cargo fits in a truck or container.

Service coverage in India
Geographic exploration

Service coverage in India

Based on configured datasets, not a live health check or a guarantee for every coordinate. Validate representative requests before production.

Navigation
  • Routing API

    Calculate a road route through the points in the supplied order for driving, cycling or walking. Request instructions with steps=true and select GeoJSON with geometries=geojson.

    A driving graph is configured for this market. Coordinates must share a connected graph and snap to a road within 2 km. This does not imply live traffic or truck-specific routing.

    GET /api/v1/osrm/route/v1/{profile}/{coordinates}
    Configured
  • Map Matching API

    Snaps imprecise GPS traces to the real road network (snap to road). Used to clean up noise in GPS signals.

    A driving graph is configured for this market. Coordinates must share a connected graph and snap to a road within 2 km. This does not imply live traffic or truck-specific routing.

    GET /api/v1/osrm/match/v1/{profile}/{coordinates}
    Configured
  • Nearest API

    Snaps any coordinate to the nearest real road segment and returns information about the road name.

    A driving graph is configured for this market. Coordinates must share a connected graph and snap to a road within 2 km. This does not imply live traffic or truck-specific routing.

    GET /api/v1/osrm/nearest/v1/{profile}/{coordinates}
    Configured
  • Directions API

    Returns turn-by-turn navigation between two or more waypoints, with a clean instruction list (text, distance, duration, maneuver type and location). Supports car, bike and foot, plus up to 3 alternative routes in a single call.

    A driving graph is configured for this market. Coordinates must share a connected graph and snap to a road within 2 km. This does not imply live traffic or truck-specific routing.

    GET /api/1/directions
    Configured
  • Alternative Routes API

    Returns turn-by-turn navigation between two or more waypoints, with a clean instruction list (text, distance, duration, maneuver type and location). Supports car, bike and foot, plus up to 3 alternative routes in a single call.

    A driving graph is configured for this market. Coordinates must share a connected graph and snap to a road within 2 km. This does not imply live traffic or truck-specific routing.

    GET /api/1/directions
    Configured
  • Snap to Road API

    Snaps raw, imprecise GPS points onto the nearest position on the road network. Repeat the point parameter for each coordinate (up to 100).

    A driving graph is configured for this market. Coordinates must share a connected graph and snap to a road within 2 km. This does not imply live traffic or truck-specific routing.

    GET /api/1/snap
    Configured
  • Fuel Estimate API

    Estimate fuel volume and trip value from distance, loaded weight, observed empty/full consumption and your fuel price. Use it alone or include fuel in a Truck request.

    Uses your distance, load and measured consumption. Standalone estimates do not depend on a country dataset.

    POST /api/v1/fuel/estimate
    Configured
  • Truck Routing API

    Plan truck routes within and across countries on connected roads. Send the dimensions and loaded weight of the vehicle with each request.

    Mapped roads in the configured truck dataset. A connected route suitable for the loaded vehicle is required. Restriction detail varies by road.

    POST /api/v1/truck/route
    Configured
  • Search Along Route API

    Discover useful stops and compare their additional driving time.

    Requires a connected driving route. Place results and detours depend on local data.

    POST /api/v1/places/along-route
    Configured
  • Walking routes

    Calculate a road route through the points in the supplied order for driving, cycling or walking. Request instructions with steps=true and select GeoJSON with geometries=geojson.

    This country is included in the configured walking and cycling dataset. Each route still requires connected paths and permission for the selected mode.

    GET /api/v1/osrm/route/v1/walking/{coordinates}
    Configured
  • Cycling routes

    Calculate a road route through the points in the supplied order for driving, cycling or walking. Request instructions with steps=true and select GeoJSON with geometries=geojson.

    This country is included in the configured walking and cycling dataset. Each route still requires connected paths and permission for the selected mode.

    GET /api/v1/osrm/route/v1/cycling/{coordinates}
    Configured
Plan deliveries and loading
  • Route Optimization API

    Plans fleet routes with capacity, time windows, skills and paired pickup/delivery constraints. A bounded heuristic reduces travel time without guaranteeing a global optimum. Unassigned tasks remain in solution.unassigned; invalid inputs are rejected as a whole.

    A driving graph is configured for this market. Coordinates must share a connected graph and snap to a road within 2 km. This does not imply live traffic or truck-specific routing.

    POST /api/1/vrp
    Configured
  • Matrix API

    Calculate travel times, distances or both between origins and destinations. Use sources and destinations to select indexes in the coordinate list.

    A driving graph is configured for this market. Coordinates must share a connected graph and snap to a road within 2 km. This does not imply live traffic or truck-specific routing.

    GET /api/v1/osrm/table/v1/{profile}/{coordinates}
    Configured
  • Isochrones API

    Estimates reachability from sampled road travel times. quality.status is estimated when every sampled direction has a reachable point; otherwise it is insufficient_data and polygons is empty. Empty results do not prove there are no reachable roads. The boundary is approximate; only time limits are supported.

    A driving graph is configured for this market. Coordinates must share a connected graph and snap to a road within 2 km. This does not imply live traffic or truck-specific routing.

    GET /api/1/isochrone
    Configured
  • Trip API (TSP)

    Order stops for one vehicle using the road network. The service can return a round trip or an open route. For an open route, send roundtrip=false&source=first&destination=last. The order is not guaranteed to be optimal.

    A driving graph is configured for this market. Coordinates must share a connected graph and snap to a road within 2 km. This does not imply live traffic or truck-specific routing.

    GET /api/v1/osrm/trip/v1/{profile}/{coordinates}
    Configured
  • Load Planning

    Plan mixed cargo for trucks, trailers and containers. Review stacking, loading order and space in 3D, or integrate the Load Planning API into your own software.

    Uses your equipment and cargo measurements. A project-bound key and the applicable paid access are required.

    POST /api/v1/load-plansGET /api/v1/load-plans/{id}
    Depends on data or access
Search
  • Geocoding API

    Turn a search text into geographic coordinates (forward) or coordinates into an address (reverse). Fast, typo-tolerant autocomplete that covers streets, addresses and points of interest (cafes, shops, hotels, offices). Ideal for search-as-you-type.

    The global search index is configured. Completeness, address detail and language matching depend on source data; every address or POI is not guaranteed.

    GET /api/1/geocode
    Configured
  • Places API

    Find points of interest near a location — cafes, shops, hotels, ATMs, pharmacies and more — filtered by category and radius, sorted by distance.

    The global search index is configured. Completeness, address detail and language matching depend on source data; every address or POI is not guaranteed.

    GET /api/1/places
    Configured
  • Autocomplete API

    Fast, typo-tolerant place suggestions as the user types, with optional location bias.

    The global search index is configured. Completeness, address detail and language matching depend on source data; every address or POI is not guaranteed.

    GET /api/1/autocomplete
    Configured
  • Batch Geocoding API

    Geocode up to 100 address strings per request. Results follow input order, and each query costs one credit.

    The global search index is configured. Completeness, address detail and language matching depend on source data; every address or POI is not guaranteed.

    POST /api/1/geocode/batch
    Configured
  • Natural Language Search

    Find places using a short English query.

    The global search index is configured. Completeness, address detail and language matching depend on source data; every address or POI is not guaranteed.

    POST /api/v1/search/natural
    Configured
  • Place details

    Read source attributes from a retrieved suggestion or route search.

    Place details depend on the available attributes of the returned source record.

    POST /api/v1/places/details
    Configured
  • Structured Geocoding API

    Search addresses with street, city, postcode and country components.

    The global search index is configured. Completeness, address detail and language matching depend on source data; every address or POI is not guaranteed.

    POST /api/v1/search/structured
    Configured
  • Suggest & Retrieve API

    Build place search with suggestions and a secure retrieval step.

    The global search index is configured. Completeness, address detail and language matching depend on source data; every address or POI is not guaranteed.

    POST /api/v1/search/suggestPOST /api/v1/search/retrieve
    Configured
  • Reverse Geocoding

    Turn a search text into geographic coordinates (forward) or coordinates into an address (reverse). Fast, typo-tolerant autocomplete that covers streets, addresses and points of interest (cafes, shops, hotels, offices). Ideal for search-as-you-type.

    Reverse lookup uses a nearby globally indexed place within 1 km when detailed data is unavailable. It may not be a street or house address; inspect accuracy and distance.

    GET /api/1/geocode?reverse=true&point={lat,lng}
    Limited detail
Maps
  • Text-to-style preview

    Describe palette and layer changes, review the map, then apply.

    Depends on your workspace, access and supplied datasets, where applicable.

    POST /api/v1/studio/preview
    Configured
  • Static Maps API

    Export styled maps as PNG images for reports and applications.

    Maps use available basemap layers and your selected style. Local detail varies.

    POST /api/v1/maps/static
    Configured
  • Studio API

    Manage map styles, datasets and publication from your application.

    Depends on your workspace, access and supplied datasets, where applicable.

    GET /api/v1/studio/{resource}POST /api/v1/studio/{resource}
    Configured
Data
  • Location Clustering

    Groups (clusters) given coordinates by their geographic proximity and density.

    Calculated from valid input coordinates or geometries. Operation-specific limits and missing-data cases still apply.

    POST /api/1/cluster
    Configured
  • Timezone API

    Get the IANA time zone, current UTC offset, DST status and local time for any coordinate on Earth.

    Calculated from valid input coordinates or geometries. Operation-specific limits and missing-data cases still apply.

    GET /api/1/timezone
    Configured
  • Elevation API

    Height above sea level, in metres, for any coordinate — one point or a whole route profile.

    Elevation tiles load on demand. Ocean, missing or unavailable tiles can return no data; validate your coordinates.

    GET /api/1/elevation
    Depends on data or access
  • Boundary Lookup API

    Find which country, state, city and district a coordinate falls in — with the boundary polygon on request.

    A detailed administrative-boundary dataset has not been accepted for this country. A global country outline is not a substitute for local administrative boundaries.

    GET /api/1/boundary
    Not currently configured
  • Geofencing API

    Test in one call which of your zones each point falls inside — polygon or circular fences.

    Calculated from valid input coordinates or geometries. Operation-specific limits and missing-data cases still apply.

    POST /api/1/geofence
    Configured
  • Elevation Profile API

    Elevation at every point of a path plus total ascent, descent and distance — a full route profile.

    Elevation tiles load on demand. Ocean, missing or unavailable tiles can return no data; validate your coordinates.

    POST /api/1/elevation/profile
    Depends on data or access
  • Geometry Utilities API

    Distance, bearing, area, centroid, simplification and polyline encode/decode — spatial math as a service.

    Calculated from valid input coordinates or geometries. Operation-specific limits and missing-data cases still apply.

    POST /api/1/geometry
    Configured
  • Coordinate Conversion API

    Convert latitude/longitude to and from UTM and MGRS grid references.

    Calculated from valid input coordinates or geometries. Operation-specific limits and missing-data cases still apply.

    GET /api/1/convert
    Configured
  • Dataset Query API

    Find nearby features in your own uploaded geographic datasets.

    Depends on your workspace, access and supplied datasets, where applicable.

    POST /api/v1/maps/datasets/{id}/query
    Configured
  • Road Data API

    Speed limits, road attributes and traffic-sign observations within available coverage.

    Results depend on road attributes or sign observations at the requested location. Check your coordinates.

    POST /api/v1/roads/lookupPOST /api/v1/roads/batch
    Depends on data or access
  • Road Signs

    Find road sign observations within a map area. Retrieve sign classifications, coordinates, directions and observation dates with cursor pagination.

    Results depend on road attributes or sign observations at the requested location. Check your coordinates.

    POST /api/v1/roads/signs
    Depends on data or access
  • Speed Limit Lookup

    Read the mapped passenger-car speed limit near a coordinate. A missing or ambiguous limit returns null.

    No dedicated speed limit lookup dataset is configured here.

    GET /api/1/speed-limit
    Not currently configured

Truck routing and load planning

Plan a route using vehicle dimensions and weight. Use load planning separately to check how items fit in a truck or container.

Cross-border road coverage

The Routing API can calculate a cross-border car route in one request when its stops are connected on a supported road network.

Send the origin, destination and any stops in order, along with the loaded vehicle dimensions, gross weight, heaviest axle load and total axle count. Truck Routing can cross country borders where the mapped road network has a connected route suitable for that vehicle.

Truck Routing API →
Platform Integration Guide
  • Account usage

    Road data: 100,000 operations / month

    POST /api/v1/roads/usage
  • Async jobs

    Operations: geocode_batch, matrix, optimize. POST /api/jobs returns 202 and a job ID. Reusing the same Idempotency-Key and payload returns the existing job; a different payload returns 409.

    POST /api/jobsGET /api/jobsGET /api/jobs/{id}DELETE /api/jobs/{id}
  • Sandbox API

    Validate response parsing in the fixture sandbox before a paid live call.

    POST /api/sandbox
  • Source metadata

    Check data sources, geographic coverage and freshness by service.

    GET /api/source-metadata
  • Map styles and vector tiles

    Load public basemaps or published styles in MapLibre. Public requests need no API key and use zero credits. Use the tile URLs supplied by the style and preserve attribution.

    GET /api/basemaps/{style}GET /api/map-styles/{id}GET /api/map-styles/{id}/tiles/{dataset}/{z}/{x}/{y}GET /api/private-maps/{id}GET /api/private-maps/{id}/tiles/{dataset}/{z}/{x}/{y}
  • Mobile Access

    Connect your mobile application without embedding a private API key.

    POST /api/mobile/challengePOST /api/mobile/token
  • Remote MCP API

    Connect AI tools to location services.

    POST /api/mcp
  • Compatibility endpoints

    For existing integrations, check coordinate order and response units before switching to a canonical API.

    GET /api/v1/route/{profile}/{coordinates}GET /api/1/routeGET /api/1/route/infoGET /api/1/matrixPOST /api/1/matrixPOST /api/1/matrix/calculatePOST /api/1/matchPOST /api/1/elevationPOST /api/1/optimizePOST /api/1/vrp/optimizePOST /api/1/cluster/calculatePOST /api/1/batch-geocode

API examples for India

Explore a prepared API request and its verified response. Copy the request in one click.

API scenario

Loading map…

New Delhi

The Geocoding API returns matching names and coordinates. This request limits the search to this country or territory.

  1. New Delhi

Saved example · Nov 10, 2026

Request
curl --get 'https://osrmroute.com/api/1/geocode' \
  -H 'Authorization: Bearer YOUR_API_KEY' \
  --data-urlencode 'q=New Delhi' \
  --data-urlencode 'country=IN' \
  --data-urlencode 'lang=en'
Response excerpt
{
  "hits": [
    {
      "name": "New Delhi, Delhi, India",
      "countrycode": "IN",
      "point": {
        "lng": 77.2090057,
        "lat": 28.6138954
      },
      "city": "Delhi",
      "postcode": null
    }
  ]
}

Local data coverage

The level of detail in address and administrative boundary data varies by region and service.

Choose a billing model

Monthly plans offer a rolling 24-hour credit allowance; PAYG deducts usage from the purchased balance from the first credit. Compare your workload in the calculator.

Independent & neutral

Walking and cycling use the worldwide road and path network. A route requires connected ways that permit the selected mode. Missing paths or access restrictions return an explicit error; no driving route is substituted.

Related location operations

Routing, geocoding, distance matrices, isochrones and route optimization are available through documented endpoints. Review the service-specific coverage and plan access for India.

Covered across India

Test your locations in New Delhi and other cities before integrating.

Mumbai Delhi Bangalore Hyderabad Ahmedabad Chennai Kolkata Pune Jaipur Surat Lucknow Kanpur

Built for India businesses

Delivery & courier

Propose stop orders, calculate estimated travel times and provide route data for your dispatch workflow in India.

Ride-hailing & taxi

Use route and distance-matrix estimates to compare supplied pickup and driver locations in India cities. Live traffic is not included.

Store locator & search

Address autocomplete and nearby-places search for apps and checkouts in India.

Questions

Is coverage really live for India?

Driving and address search are available in India. Check the Coverage page for other profiles and detailed local data.

How is the data quality in India?

Data quality depends on the underlying open datasets. Test the addresses and coordinates needed by your application.

Can I pay in local currency?

Prices are listed in USD. Available payment currencies and the final amount are shown at checkout. Service credit weights and plan limits still apply.

Request additional service coverage

Tell us which country, service and example location you need.

Tell us which country, service and example location you need.

Evaluate the APIs for India

Create an API key, then test a documented request with locations that represent your application.

Get a free API key

OSRMRoute Support

Talk directly to our team

HERE TO HELP

How can we help?

Send a message. Ticket replies are also sent to your verified email.

Your chats

Your chats will appear here.