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

1curl --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 {
4 "properties": {
5 "fill": "#bf4040",
6 "fillOpacity": 0.33,
7 "fillColor": "#bf4040",
8 "color": "#bf4040",
9 "contour": 15,
10 "opacity": 0.33,
11 "metric": "time"
12 },
13 "geometry": {
14 "coordinates": [
15 [-118.328016, 34.106624],
16 [-118.328768, 34.106604],
17 [-118.32807, 34.10655],
18 [-118.328033, 34.105587],

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

Have Questions ?