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, which he launched in 2020 alongside Gaurav Bubna and Shaolin Zheng following their shared experience building geo and routing infrastructure at Grab. Ajay brings deep expertise in geospatial systems and the real-world demands of large-scale logistics and mobility operations. His work at Grab's Geo team gave him direct exposure to the limitations of existing mapping platforms — rigid, expensive, and poorly suited to the diverse operational needs of fast-growing transportation businesses. At NextBillion.ai, Ajay leads with a conviction that location intelligence should be accessible, customizable, and economically viable for businesses of every scale, from regional delivery fleets to global logistics platforms. Under his co-leadership, NextBillion.ai has raised $34.25M, served 150+ businesses globally, and joined Velocitor Solutions in 2025.

Co-Founder
Gaurav Bubna is a Co-Founder of NextBillion.ai and leads product innovation at the company. With a career spanning ride-hailing, food delivery, and logistics at organizations including Grab, Ola, and Morgan Stanley, Gaurav has built successful products from the ground up in some of the world's most demanding operational environments. His firsthand experience with the gaps in existing location technology platforms — particularly around cost, flexibility, and enterprise-grade scalability — was a driving force behind founding NextBillion.ai in 2020. Gaurav's product philosophy centers on building location intelligence tools that solve real operational problems: routing systems that handle truck-specific constraints, pricing models that scale with fleets rather than API calls, and integration paths that go live in days, not months. His work has helped deliver $11+ million in cost savings to NextBillion.ai's global customer base.

Co-Founder
Shaolin Zheng is a Co-Founder of NextBillion.ai, bringing deep technical expertise in geospatial systems and large-scale mapping infrastructure to the company's founding team. Like her co-founders, Shaolin was part of the Geo team at Grab, where she gained hands-on experience with the engineering complexity behind routing, ETA computation, and location intelligence at platform scale. That experience made clear the systemic shortcomings of existing mapping APIs — particularly their inability to handle the operational nuances of commercial logistics, trucking, and multi-modal transport. At NextBillion.ai, Shaolin's technical leadership has been instrumental in building a platform that supports matrix computations at 5,000×5,000 scale, sub-second routing response times, and on-premise deployment for enterprises with strict data residency requirements. Since its 2020 launch, NextBillion.ai has navigated 557+ million miles for its global customer base.
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.