Distance & Time Calculations at Scale
Calculate travel times and distances between multiple locations efficiently. Essential for logistics optimization, service area analysis, and location-based decision making.
Calculate distances and travel times from a single warehouse to multiple delivery locations. Perfect for optimizing last-mile delivery routes and estimating delivery time windows for customers.
Determine travel distances and times from multiple field locations to a central office. Ideal for calculating commute times, optimizing service territories, or scheduling on-site visits.
Generate a complete distance matrix between all locations for advanced route optimization. Essential for solving vehicle routing problems, TSP challenges, and multi-stop delivery planning.
POST /matrix/?token=YOUR_TOKEN
{ "sources": [
{ "lat": 40.744014, "lon": -73.990508 }
],
"targets": [
{ "lat": 40.739735, "lon": -73.979713 },
{ "lat": 40.752522, "lon": -73.985015 },
{ "lat": 40.750117, "lon": -73.983704 }
],
"costing": "auto", "verbose": true
}
Response:
{ "sources_to_targets": [
{
"from_index": 0,
"to_index": 0,
"distance": 1.23,
"time": 156
},...]}Efficiently check the reachability of coordinates from each other, filter points by travel time, or run your own algorithms for solving optimization problems. Our Matrix API returns comprehensive distance and time data in an easy-to-use format.
Powerful matrix calculations
Calculate distances between multiple origins and destinations in a single request
Get accurate travel time estimates for all origin-destination pairs
Process hundreds of location pairs simultaneously with optimized algorithms
Millisecond response times even for large matrices with many locations
Calculate matrices for driving, walking, cycling, and transit modes
Include distance and time data for transportation cost calculations
Start building with MapAtlas today. Sign up for free and get instant access to all our mapping APIs with generous free tier limits.
Everything you need to know about bulk distance and travel time calculations.