mapbox-compat
Mapbox-compatible Matrix (see module docs).
get/directions-matrix/v1/{user}/{profile}/{coordinates}
Request
- Base URL: https://api.mapmap.ai
- URL: https://api.mapmap.ai/directions-matrix/v1/{user}/{profile}/{coordinates}
- Auth: one of:
- HTTP bearer
- API key in query parameter api_key
Path parameters
userstring required
mapbox or mapmap
profilestring required
driving, driving-traffic (served as driving), walking, cycling or truck (premium)
coordinatesstring required
lon,lat pairs separated by ;
Query parameters
access_tokenstring
Your MapMap key (snk_...)
sourcesstring
;-separated coordinate indices, or all (default)
destinationsstring
;-separated coordinate indices, or all (default)
annotationsstring
duration (default), distance, or both comma-separated
depart_atstring
Local departure time, YYYY-MM-DDThh:mm
Response
{code, durations, distances?, sources, destinations}; waypoints carry the input coordinate and an empty name (the engine reports no snapped position). Metered as POST /matrix: one unit per started block of 25 elements
object required
Changes
No recorded changes to this operation across all 1 revision of this API.