NextBillion.ai’s Distance Matrix API is customized
to your unique business needs
Features | NextBillion.ai | Google Maps |
Pricing | Affordable and flexible pricing | High and rigid pricing |
Customization | Customizable for your business use case | Cannot be customized |
Modes of transport | Optimized for custom vehicle types (e-scooters, cars, trucks, etc.) | Limited support |
Matrix Size | One API call returns up to 5000 origins and 5000 destinations | One API call returns a maximum of 25 origins and 25 destinations |
Proprietary data integration | Incorporates your first-party data and unique business context via advanced ML algorithms | No provision to include contextual elements |
Deployment | Deploy on premise or on any cloud with support for unlimited API calls | No support for on-premise or cloud-agnostic deployment |
Performance | 10-20x higher throughput, 5x lower latency | Average performance |
Get the best value for any volume of API calls that you require
Save up to 2.5X with NextBillion.ai’s Distance Matrix API
Number of elements per Month | Google Maps | |
1 to 100K | $1.80 | $5.0 |
100K to 500K | $1.50 | $4.0 |
500K to 1M | $1.20 | - |
1M to 5M | $0.90 | - |
Note: The above table represents unit pricing of the API. Pricing packages will be shared on request.
With NextBillion.ai, you’re free to choose a pricing model that
best suits your business needs
NextBillion.ai caters to the unique requirements of each business
and use case. We don’t believe in ‘one size fits all’.
Logistics
and Shipping
On-demand
Deliveries
Fleet
Management
Route Planning
and Optimization
Ride
Hailing
Long Haul
Trucking
There’s even more to why NextBillion.ai’s Distance Matrix API is a
better alternative to Google Distance Matrix API
High volume at low cost
Our 5000*5000 matrix size — compared to Google’s 25*25 — helps accommodate all possible stops, ordering and reordering, assignment, etc. in large-scale functions such as trucking or fleet operations. Google’s price tag gets heavier as you scale. With NextBillion.ai, you can scale up your operations without worrying about cost feasibility.
Truck-specific optimal ETAs
NextBillion.ai offers out-of-the-box support for truck routing, a feature missing in Google Distance Matrix API. Our system takes into account truck dimensions and type of goods for more efficient and regulation-compliant routing and navigation.
Customizable APIs mapped to your business
A hyper-local grocery delivery service is very different from commercial freight. However, the Google Distance Matrix API doesn’t differentiate these use cases, leaving you to do the heavy lifting of optimizing ETAs to your requirements. NextBillion.ai’s Distance Matrix API solves for functional use cases — we’ll handle your ETAs while you focus on scaling revenue.
Customers that trust us
Don’t Just Take Our Word for It
Our customers have spoken, and we’ve won the ‘Rising Star’, ‘Great User Experience’
and ‘Happiest Users’ awards on Crozdesk and Finances Online.
See What Our Customers Have to Say
Easy to use and integrate
Distance Matrix API request
POST /distancematrix/json
Parameters
Name | Required | Type | Description |
---|---|---|---|
origins | Array | Locations of origins Format: lat0,lng0|lat1,lng1|… Regex: ^[d.-]+,[d.-]+(|[d.-]+,[d.-]+)*$ |
|
destinations | Array | Locations of destinations Format: lat0,lng0|lat1,lng1|… Regex: ^[d.-]+,[d.-]+(|[d.-]+,[d.-]+)*$ |
|
mode | String | Mode of service. Values:car|auto|bike|escooter|4w|2w…. Default: “” |
|
departureTime | Number | Departure time. Format: unix timestamp. Unit: seconds. Values : will depend on use case |
API request example
{
"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}}]}
]
}