Routing
Travel-time matrix.
Calculate the travel time and distance between every source and every target — the cost grows with M × N, the number of pairs.
Quota cost: M × N units per call (M = sources, N = targets). Capped at M × N ≤ 2500; requests beyond that return 400 without charging quota.
post/directions-matrix/v1
Request
- Base URL: https://api.rijwind.com
- URL: https://api.rijwind.com/directions-matrix/v1
- Auth: HTTP bearer
Request body
Example request
{
"sources": [
{
"lat": 52.3676,
"lon": 4.9041
}
],
"targets": [
{
"lat": 52.3676,
"lon": 4.9041
}
]
}Response
Matrix response.
Example response
{
"sourcesToTargets": [
[
{
"distance": 60.4,
"time": 4810
}
]
]
}Changes
No recorded changes to this operation across all 1 revision of this API.