Documentation

All endpoints live under /v1 and return JSON. Authentication is a bearer token sent in the Authorization header.

GET /v1/route

ParameterTypeMeaning
from, tolat,lonRequired. WGS84, decimal degrees.
vialat,lon repeatedUp to 24 intermediate points, visited in order.
profilecar | van | truckDefault van. Truck applies height and axle-load limits.
depart_atRFC 3339Applies the time-dependent speed model and bridge schedules.
geometrynone | polyline | geojsonDefault polyline, precision 5.

POST /v1/matrix

Body takes origins and destinations as arrays of coordinates. The response is a duration matrix in seconds and a distance matrix in metres. Cells that cannot be routed come back as null rather than a large number.

{"origins": [[52.09,5.12],[52.10,5.09]],
 "destinations": [[51.92,4.47]],
 "profile": "truck"}

Errors

CodeHTTPWhen
invalid_coordinate400Point is outside the NL/BE bounding box.
no_route422Endpoints are not connected for this profile.
rate_limited429Above plan rate; Retry-After is set.

Rate limits

Bursts are allowed: the limiter is a token bucket refilled per second, with a bucket of 60 requests. Matrix calls count as one request per 100 cells.