Regain Control Over Cost With NextBillion.ai’s Distance Matrix API

Custom Distance Matrix API for your unique business needs —get accurate ETAs and Distances. Reduce the cost of scaling up your business and reach positive unit economics.

No credit card required

Trusted by

  • DistanceTop
DistanceTop

Key Benefits


  • Awards

    40% reduction
    in costs

  • Awards

    Best-in-class ETA
    accuracy

  • Awards

    10x higher
    performance

  • Awards

    On-premise deployment
    supported

  • Awards

    ML-powered customization
    for use cases

Overview


Distance Matrix API computes travel times and distances between a set of origins and destinations — for one-to-many/many-to-many start and endpoints.

The API call returns a matrix of ETA and distances for each origin and destination pair.

D1D2
O1TO1D1
DO1D1
TO1D2
DO1D2
O2TO2D1
DO2D1
TO2D2
DO2D2

*T = ETA in mins, D = Distance in kms

Distance Matrix API solves operations and routing challenges faced by logistics, shipping, delivery, fleet management, mobility and urban infrastructure companies by predicting accurate distances and arrival times.

Why NextBillion.ai Distance Matrix API


The existing plug-and-play APIs are not built for the modern enterprise’s needs.
They do not take take into account specific business needs the way NextBillion.ai does.

Customizable APIs mapped to your business

Computes accurate ETAs and Distances based on the vehicle type- trucks, minivans, cars, motorbikes or e-scooters - depending on business needs. Customizations also incorporates preferred routes, driving speed, traffic rules and regional nuances unlike the existing ready to use APIs

overview
overview

High volume at low cost

Route optimization demands the ability to call a very large number (eg: 500 origins, 500 destinations) of API calls at very low latencies. Besides the volume constraint, existing solutions come with a heavy price tag. With our Distance Matrix API, you can scale without worrying about price

NextBillion.ai vs Competitors


LogoCompetitors
IcArrowMatrix size supported5000 * 500025 * 25
IcArrowTime-dependent routingRule-based, time-dependent calculation integrated with map editing capabilitiesNot supported
IcArrowLatency and throughput2X-3X lower latency
10X-20X higher throughput
Average
IcArrowMode of deploymentOn-premise and cloud-agnostic deploymentNo on-premise deployment
IcArrowPricingFlexible, customized pricing for every business modelFixed, inflexible pricing

Industries that benefit from Distance Matrix API

With NextBillion.ai’s AI and ML-powered Distance Matrix APIs:
Achieve operational efficiency | Improve unit economics | Increase gross margins

overview

Logistics
and Shipping

overview

On-demand
Deliveries

overview

Fleet
Management

overview

Route Planning
and Optimization

overview

Ride
Hailing

overview

Long Haul
Trucking

Easy to use and integrate


Distance Matrix API request

POST /distancematrix/json

Parameters

NameRequiredTypeDescription
originsArrayLocations of origins

Format: lat0,lng0|lat1,lng1|...

Regex: ^[\d.-]+,[\d.-]+(|[\d.-]+,[\d.-]+)*$
destinationsArrayLocations of destinations

Format: lat0,lng0|lat1,lng1|...

Regex: ^[\d.-]+,[\d.-]+(|[\d.-]+,[\d.-]+)*$
modeStringMode of service.

Values:car|auto|bike|escooter|4w|2w....

Default: ""
departureTimeNumberDeparture time.

Format: unix timestamp.

Unit: seconds.

Values : will depend on use case

Read the API docs ->

API request example

1 2 3 4 5 6 7 { "departure_time": 0, "destinations": "1.34881159,103.8836298%7C1.33422437,103.88912296%7C1.3146602,103.8975343", "key": "string", "mode": "4w", "origins": "1.33388114,103.83195972%7C1.31483182,103.82904148%7C1.30333351,103.84878254" }

API response example

{ "status":"Ok", "rows":[ {"elements":[ {"duration":{"value":675},"distance":{"value":7868}}, {"duration":{"value":674},"distance":{"value":8201}}, {"duration":{"value":784},"distance":{"value":10963}}]}, {"elements":[{"duration":{"value":767},"distance":{"value":10301}}, {"duration":{"value":766},"distance":{"value":10633}}, {"duration":{"value":838},"distance":{"value":11766}}]}, {"elements":[{"duration":{"value":769},"distance":{"value":8465}}, {"duration":{"value":788},"distance":{"value":10459}}, {"duration":{"value":695},"distance":{"value":7981}}]} ] }

Unbeatable Prices


Save up to 2.5X with NextBillion.ai’s Distance Matrix API

Number of elements per MonthLogoLogoLogo
IcArrow1 to 100KFreeFree$5.0
IcArrow100K to 500K$1.5$2.0$4.0
IcArrow500K to 1M$1.2$1.6$3.0
IcArrow1M to 5M$0.9$1.2$1.5
IcArrow5M to 10M$0.3-$0.4

Flexible Pricing Model


Choose the pricing option that’s right for your business.

Harness industry-leading performance at industry-beating prices.

Pay as you go

Pricing based on volume
of API calls

Subscription

Flat subscription fee
with unlimited API calls for
on-premise deployment

Customized

Pricing based on ML
model deployed

A logistics firm increases ETA accuracy by 37% and achieves 40% cost reduction with NextBillion.ai

  • StarIcon
  • StarIcon
  • StarIcon
  • StarIcon
  • StarIcon

NextBillion.ai offers mapping expertise that can be quickly customised to suit different business needs. They were able to swiftly integrate our proprietary data set and provide a tailored solution.

- Jebu Ittiachen, Chief Architect, Freight Tiger

Read the full story

Get closer to positive unit economics with NextBillion.ai’s Distance Matrix API


© 2021 NextbillionAI. All rights reserved.