Maps route matrix
post/maps/matrix
Travel times and distances from each source to each target (at most 25 points in all, 10 with live traffic), for choosing the nearest or planning a round.
Before you call
- Credential
Authorization: Bearer $KEY- Scope
maps:read- Mcp
rivier_maps_matrix- Graphql
Query.mapsRouteMatrix- Sdk
maps.route.matrix- Cli
maps route matrix
Request bodyapplication/json, required
- sourceslist of objectrequired
- latnumberrequiredAt least -90. At most 90.
- lngnumberrequiredAt least -180. At most 180.
- latnumberrequired
- targetslist of objectrequired
- latnumberrequiredAt least -90. At most 90.
- lngnumberrequiredAt least -180. At most 180.
- latnumberrequired
- modestringat most 25 points in all, sources and targets together (10 with driving-traffic) One of: driving, driving-traffic, walking, cycling. Default: driving.
Responses
- 200application/jsonSuccess
- 400application/jsonThe request was malformed
- errorstringrequired
- messagestring
- 401application/jsonNo valid credential
- errorstringrequired
- messagestring
- 403application/jsonThe credential lacks the scope, origin or address
- errorstringrequired
- messagestring
- 429application/jsonOver the key's rate limit; see Retry-After
- errorstringrequired
- messagestring