
Distancematrix.ai
Worldwide route time, distance and coordinates API with real-time traffic
About Distancematrix.ai
Distancematrix.ai provides Distance Matrix and Geocoding APIs that calculate travel times, distances, and coordinates worldwide, with real-time traffic data. Each API comes in an Accurate and a Fast variant, and request and response formats mirror Google's, which makes it a lower-cost drop-in alternative for delivery, logistics, and ride-hailing apps.
Pros & Cons
Pros
- Pay-as-you-go pricing starts at $2 per 1,000 elements, well below Google's list price for distance matrix calls
- Request and response formats mirror Google's API, so switching from Google takes little code
- Real-time traffic data and multiple travel modes (driving, walking, bicycling) are included on both plans
- Asynchronous processing handles very large matrices up to 5000x5000
- Free plan with 1,000 elements per month and no credit card makes testing easy
Cons
- Traffic estimates come from public statistical data and in-house algorithms, not a first-party probe network like Google's
- The Fast variants are tuned for English and give their best results on English-language addresses
- No routing, turn-by-turn directions, or map tiles: it is limited to distance matrix and geocoding
- Few independent benchmarks or third-party reviews are available to verify accuracy claims
Key Features
Distance Matrix API (Accurate)
Travel time and distance for many origins and destinations, including duration in traffic from real-time data, with driving, walking, and bicycling modes plus departure and arrival times
Distance Matrix API (Fast)
Average-duration driving calculations from aggregated data, returning responses in milliseconds for high-throughput workloads
Geocoding API (Accurate)
Forward and reverse geocoding with partial address recognition, index support, and extra data verification at roughly 1-second response times
Geocoding API (Fast)
Forward and reverse geocoding on an optimized database with response times around 0.5 seconds, aimed at logistics and delivery apps
Large asynchronous matrices
Asynchronous processing handles matrices up to 5000x5000 origin-destination pairs
High throughput
Scales from 5 to 500 elements per second for production traffic
Google-compatible request format
API calls and responses follow the Google Distance Matrix format, so migrating from Google needs few code changes
Usage dashboard
Real-time view of API usage, remaining bonus balance, estimated charges, billing history, and invoices
Pricing
- 1,000 API elements per month
- Access to all four APIs
- Traffic information included
- 5 API tokens
- No credit card required
- Pay-as-you-go, no subscription
- Unlimited elements and API tokens
- $1.60 per 1,000 for 100K-300K elements
- $1.25 per 1,000 for 300K-500K elements
- $1.00 per 1,000 above 500K elements
- $50 welcome bonus (25,000 elements)
- Volume pricing for very large workloads
- Contact the team for rates below $1 per 1,000 elements
Best For
Food and courier delivery
Calculate drive times between stores, couriers, and customers to assign orders and quote delivery windows
Taxi and ride-hailing dispatch
Find the nearest available driver by computing travel time from many drivers to a pickup point in one matrix call
Logistics route planning
Build origin-destination cost matrices as input for vehicle routing and supply chain optimization
Migrating off Google Maps Platform
Replace Google Distance Matrix and Geocoding calls with a compatible API to cut mapping costs
Address normalization
Convert customer addresses to coordinates, and coordinates back to addresses, for CRMs, real estate, and field service apps
Similar Tools

Onfleet
Last-mile delivery management with route optimization and real-time tracking

Track-POD
Delivery management and proof of delivery software for logistics teams
Clarity WOS
AI-powered warehouse optimization for total operational visibility

BaseTruck
All-in-one cloud trucking software for dispatch, fleet management, and accounting

PINC Yard Management
Real-time yard visibility and management for supply chain operations

Constellation TMS
Customizable transportation management system built on 40 years of logistics expertise
Ready to try Distancematrix.ai?
Start using Distancematrix.ai today and boost your productivity.
Visit Website