Matrix
POST /v2/matrix/{profile}
priced by origins × destinations
Every origin to every destination, duration and distance, in one request. This is the call Google charges five dollars a thousand for and caps at 625 elements — a 25 by 25 matrix.
Matrix · Directions · Isochrones
Travel-time matrices, directions and isochrones across the US, Canada and Mexico*, compatible with the Openrouteservice API. Change the base URL, add a key, and your Openrouteservice code works as it is.
86× cheaper per element than Google's entry price, and far bigger matrices in one call.
25,000 matrix elements a month on the free tier, up to 100 × 100 per request. No card, no sales call.
*Not Puerto Rico or other US territories. Worldwide coverage is coming soon.
curl -X POST \
https://api.waymatrix.io/v2/matrix/driving-car \
-H "Authorization: $API_KEY" \
-H "Content-Type: application/json" \
-d '{
"locations": [
[-87.6298, 41.8781],
[-87.6244, 41.8796],
[-87.6722, 41.9227]
],
"metrics": ["duration", "distance"],
"units": "km"
}' {
"durations": [
[0, 421.3, 782.6],
[402.9, 0, 897.4],
[768.1, 881.5, 0]
],
"distances": [
[0, 2.61, 6.42],
[2.68, 0, 8.13],
[6.35, 8.21, 0]
],
"sources": [
{
"location": [-87.6298, 41.8781],
"snapped_distance": 4.31
},
{
"location": [-87.6244, 41.8796],
"snapped_distance": 11.82
},
{
"location": [-87.6722, 41.9227],
"snapped_distance": 6.09
}
],
"destinations": [
{
"location": [-87.6298, 41.8781],
"snapped_distance": 4.31
},
{
"location": [-87.6244, 41.8796],
"snapped_distance": 11.82
},
{
"location": [-87.6722, 41.9227],
"snapped_distance": 6.09
}
],
"metadata": {
"attribution": "© openrouteservice by HeiGIT | Data from OpenStreetMap",
"service": "matrix",
"timestamp": 1788412800000,
"query": {
"locations": [
[-87.6298, 41.8781],
[-87.6244, 41.8796],
[-87.6722, 41.9227]
],
"metrics": ["duration", "distance"],
"units": "km",
"profile": "driving-car"
},
"engine": {
"version": "9.10.0",
"build_date": "2026-07-28T00:00:00Z",
"graph_date": "2026-07-31T00:00:00Z",
"osm_date": "2026-07-30T00:00:00Z"
},
"element_count": 9
}
} No surprise bill
every plan stops at its allowance
Drop-in
same paths, bodies and response shapes as Openrouteservice
90,000
matrix elements in one call on paid plans (300 origins × 300 destinations)
Each returns the same response shape as Openrouteservice, so your parsing code doesn't change.
POST /v2/matrix/{profile}
priced by origins × destinations
Every origin to every destination, duration and distance, in one request. This is the call Google charges five dollars a thousand for and caps at 625 elements — a 25 by 25 matrix.
POST /v2/directions/{profile}
priced at 10 elements per call
Geometry, turn-by-turn instructions, and alternative routes. Encoded polyline or GeoJSON, whichever your map wants.
POST /v2/isochrones/{profile}
priced by how far it reaches
An isochrone is the shape of everywhere you can reach within a given time: hand it a point and fifteen minutes, and it returns the polygon you could drive to. Site selection, service-area maps, “commute time” filters on a listings site.
Measured on the production API
Three hundred origins against three hundred destinations, in a single call.
| Matrix | Elements | Typical | Slowest in ten |
|---|---|---|---|
| 10 × 10 | 100 | 449 ms | 616 ms |
| 50 × 50 | 2,500 | 553 ms | 606 ms |
| 100 × 100 | 10,000 | 802 ms | 920 ms |
| 300 × 300 | 90,000 | 3,513 ms | 3,823 ms |
Ten runs at each size, one request after another from a single machine, timed from the client — so each number includes everything between your code and ours. Measured .
An element is one origin paired with one destination. A 200 × 150 matrix is 30,000 of them, whether you ask in one request or thirty.
$0
no card required
$29
per month
$49
per month
$99
per month
Already on Openrouteservice?
Openrouteservice's free tier allows 500 matrix requests a day, and they publish no paid plan above it. Paid plans here go up to 300 × 300 per request.
Your client library, request bodies and parsing code stay as they are.
Works unchanged with:
openrouteservice-py openrouteservice-js plain HTTP client.py
Removed: - base_url = "https://api.openrouteservice.org"
Added: + base_url = "https://api.waymatrix.io" headers = {"Authorization": API_KEY} Using a coding agent?
Before you switch
Store the durations, distances and geometries you get back, and reuse them in your application for as long as you like.
Google’s Routes API terms allow caching latitude and longitude for up to 30 consecutive calendar days: the coordinates you sent them, not the answers they sent back.
$29 a month for 500,000 elements — 86× less per element than Google's entry price.
Elements cost the same in one large matrix or many small ones, so you can work out what a plan covers for your own workload before you spend anything.
Flat monthly prices, not introductory rates.
25,000 elements a month, free and without a credit card. Paid plans start at $29.
Same endpoints, request format and API key on every plan. Paying raises your monthly allowance and the largest matrix you can send in one request.
Durations come from the road network, not from cars on it right now. If you're planning a day's work, you won't miss it. If you need a minute-accurate arrival time in rush hour, or live arrival times for drivers already on the road, use Google.
Requests take longitude and latitude. If you start from addresses, convert them once and store the coordinates. Address lookup is on our roadmap. There is no place search (finding a business or landmark by name).
This API is the routing layer underneath Optimiciti, a route planner for dispatchers and small fleets. If your problem is which vehicle goes where, in what order, under constraints like these, use Optimiciti: