[go: up one dir, main page]

WayMatrix

Matrix · Directions · Isochrones

The distance matrix API for real road travel times.

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.

matrix.shup to 300 × 300 in one call on paid plans
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"
  }'
response.jsondurations, distances, and the date of the map data
{
  "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)

Matrix, directions, isochrones.

Each returns the same response shape as Openrouteservice, so your parsing code doesn't change.

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.

Directions

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.

Isochrones

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

Ninety thousand pairs in three and a half seconds.

Three hundred origins against three hundred destinations, in a single call.

MatrixElementsTypicalSlowest 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
Each dot is one request. The bar is the middle half of the ten runs at that size; the line through it is the typical one.

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 .

What the numbers mean

  • 900× the work in under eight times the time. Going from the second-largest matrix here to the largest is nine times the work in under four and a half times the time, so one big request finishes sooner than the same matrix sent in pieces, one after another.
  • Most runs land close to the typical time. At every size, the middle half of the runs lands within 6% of the typical time, and the largest matrix varies least relative to its own typical time. The biggest outlier was one 10 × 10 run at 616 ms, against a typical 449 ms.

Priced on elements.

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.

Full pricing

Free

$0

no card required

  • 25,000 elements / month
  • Up to 60 requests / minute

Starter

$29

per month

  • 500,000 elements / month
  • Up to 60 requests / minute

Scale

$99

per month

  • 5,000,000 elements / month
  • Up to 180 requests / minute

Enterprise

 — $299 per month, 20,000,000 elements.

Already on Openrouteservice?

The migration is one line.

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?

Wire it up with one block of text.

Get the block

Before you switch

What the price covers.

What you get

The numbers are yours to keep

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.

Priced for volume

$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.

Start free, upgrade without changing code

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.

What you don't

No live traffic

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.

No address lookup

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).

AN Optimiciti PRODUCT
Same engine, different job

Need the routes, not just the numbers?

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:

  • Time windows — a delivery that has to land between 9am and noon
  • Capacity limits — how many pallets, or how much weight, fits in each van
  • Vehicle types — a box truck that can't use a residential street, or a refrigerated unit
  • Driver shifts — hours, breaks, and where each driver starts and ends
  • Many stops at once — 400 stops split across 12 vans