Distance Matrix API
Calculate real-time and historical travel times, distances, and ETAs between up to 5,000×5,000 origin-destination pairs in a single API call — purpose-built for high-throughput logistics and dispatch operations.
NextBillion.ai's Travel Time Matrix API computes travel times, distances, and ETAs between massive sets of origins and destinations — at a scale and price point that legacy APIs can't match. Supporting matrices up to 5,000×5,000, truck-aware routing, and custom road attributes, it's the routing intelligence backbone for logistics, delivery, and mobility platforms that can't afford to compromise on accuracy or cost.

Explore the full suite of matrix, routing, and geospatial APIs that power accurate ETA and distance calculations at any scale.
Calculate real-time and historical travel times, distances, and ETAs between up to 5,000×5,000 origin-destination pairs in a single API call — purpose-built for high-throughput logistics and dispatch operations.
Compute precise, truck-compliant, single-vehicle routes with multi-stop support, toll and highway avoidance, and vehicle-specific constraint handling for low-latency, high-scale routing.
Generate road-network-accurate travel-time and travel-distance polygons to map reachable service areas, evaluate depot locations, and design driver territories based on real-world routing constraints.
Generate dispatch-ready multi-stop routes with 50+ hard and soft constraints in seconds, supporting large-scale logistics operations with predictable fixed-fee pricing.
Deliver real-time, vehicle-specific turn-by-turn navigation with live traffic intelligence, HGV-compliant routing, and departure-time-based ETA calculations for commercial fleets.
Inject custom road attributes — closures, turn restrictions, speed overrides, no-parking zones — directly into every matrix and route calculation without developer intervention.
Most travel time matrix APIs cap you at a 25×25 grid and charge per call — a pricing model that breaks down the moment your fleet or order volume scales. NextBillion.ai's Travel Time Matrix API eliminates both constraints: it processes up to 25 million origin-destination pairs per request and offers per-vehicle or per-order pricing, so re-optimization cycles and seasonal demand spikes don't trigger budget overruns. With truck-aware routing, custom road attribute integration, and 99.9% uptime SLA, it delivers the routing intelligence that drives everything from dispatch to ETA feeds.

See how logistics, delivery, and mobility platforms use NextBillion.ai to cut costs and scale smarter.
NextBillion.ai delivers enterprise-grade travel time intelligence with the flexibility, scale, and cost structure that mission-critical logistics operations demand.
Process matrices up to 5,000×5,000 — 25 million ETA pairs per call — eliminating costly batching and calculation inconsistencies at any fleet size.
Per-vehicle and per-order pricing models mean demand spikes and re-optimization cycles never translate into unpredictable API bill overruns.
Vehicle-dimension and regulatory-compliant ETAs for HGVs — no car-routing assumptions that collapse when a truck hits a weight-restricted bridge.
Dedicated solutions engineering support from day one, with live production integration typically completed within a week of onboarding.
Built by operators who solved location intelligence at global scale.

Co-Founder
Ajay Bulusu is a co-founder of NextBillion.ai, bringing deep expertise in geospatial technology and large-scale location platform engineering. His journey began in 2017 as part of Grab's pioneering Geo team, where he helped build the location infrastructure underpinning one of Southeast Asia's largest mobility and logistics platforms. That experience revealed how critical — and how underserved — accurate, flexible location technology was for real-world operations. Driven by a mission to democratize sophisticated location intelligence, Ajay co-launched NextBillion.ai in 2020. Under his technical leadership, the platform has scaled to serve 150+ businesses globally, optimize over 10.9 million deliveries and field tasks, and deliver more than $11 million in documented cost savings to customers.

Co-Founder
Gaurav Bubna drives product innovation at NextBillion.ai, bringing a proven track record of building successful products from scratch across ride-hailing, food delivery, and logistics. Before co-founding NextBillion.ai, Gaurav held product leadership roles at Grab, Ola, and Morgan Stanley — organizations where location technology and operational efficiency are existential. His time on Grab's Geo team alongside Ajay and Shaolin crystallized the vision: logistics and field service businesses needed enterprise-grade location intelligence without prohibitive per-call pricing. Since launching NextBillion.ai in 2020, Gaurav has led the product evolution that has helped the platform navigate over 557 million miles and raise $34.25M in venture capital from investors including Lightspeed and Microsoft's M12.

Co-Founder
Shaolin Zheng is a co-founder of NextBillion.ai, contributing deep technical expertise in geospatial systems and scalable mapping infrastructure. Like his co-founders, Shaolin's formative experience building location technology for Grab's Geo team gave him firsthand insight into the operational gaps that generic mapping solutions leave unaddressed — particularly for field service and logistics businesses operating at scale. His engineering perspective shapes NextBillion.ai's core philosophy: location technology must be customizable, cost-predictable, and production-reliable. The platform he helped build now powers GPS tracking, route optimization, and field service intelligence for over 150 businesses worldwide, with on-premise deployment options and SOC 2 Type II and ISO/IEC 27001:2013 certifications ensuring enterprise-grade security.
A travel time API calculates how long it takes to travel between two or more points on a real road network, factoring in speed limits, traffic conditions, vehicle type, and road restrictions. NextBillion.ai's Travel Time Matrix API extends this to compute ETAs for up to 5,000 origins and 5,000 destinations — 25 million pairs — in a single request, with truck-specific routing and custom road attribute support.
Talk to a solutions engineer for a technical walkthrough and free integration consultation.
Rated 4.6+ across top software review platforms
Funded by Lightspeed, Microsoft M12, and Alpha Wave Global
99.9% uptime SLA backed by contract for production APIs
Fill out the form below and a NextBillion.ai solutions engineer will reach out to discuss your use case, walk you through the documentation, and get you set up with a trial environment — typically within one business day.
To help us assist you faster, please include the reason for your message so the relevant team can reach out as soon as possible.
To help us assist you faster, please include the reason for your message so the relevant team can reach out as soon as possible.