Determine service boundaries

Product Used: Isochrone API


Using NextBillion.ai’s Isochrone API you can define the areas which can be serviced by your delivery vans within a given set of constraints. The Isochrone API will take into account the typical traffic conditions as per the given “departure_time” and returns a bounded area which the delivery van can serve within a given travel time or distance.

This information is useful in identifying the orders that can be fulfilled within defined operational standards. For eg: Use the Isochrone information to accept or reject orders which can not be serviced within a certain time window or to decide the optimum location of a dark store to maximize order fulfillment.

Following is a sample Isochrone request with

  1. “coordinates” set to the location of starting point of the delivery van
  2. “mode” option set to “car”
  3. A travel duration constraint of 30 mins
  4. A “departure_time”

Isochrone API request

1
curl --location 'https://api.nextbillion.io/isochrone/json?key=<your_api_key>&coordinates=33.99260394,-118.27001602&mode=truck&contours_minutes=15&departure_time=1704974400'

Isochrone API response

The response returns an area, in geojson format, which can be serviced by the truck within 30 mins with the given traffic conditions at the given departure time.

1
{
2
"features": "[...]",
3
"type": "FeatureCollection",
4
"status": "Ok",
5
6
}

Visit Isochrone API documentation to know more about the available features.

© 2024 NextBillion.ai all rights reserved.