Documentation menu
GET/isochrone/v1/{user}/{profile}/{coordinates}
Access and price
| Auth | An API key, as Authorization: Bearer snk_…, ?api_key=snk_… or ?access_token=snk_…. Metered. Needs a full key; a browser (maps) key is refused. |
|---|---|
| Price | 1 call per contour, at most 4 contours per request. Class: standard, or premium for truck and ADR work. Published as unit_rules.isochrone in /pricing.json. |
| Premium | For the truck profile |
What it does
Mapbox-compatible Isochrone.
An API key, as Authorization: Bearer snk_…, ?api_key=snk_… or ?access_token=snk_…. Metered. Price: 1 call per contour, at most 4 contours per request.
Call it
curl -fsS -X GET "https://api.mapmap.ai/isochrone/v1/{user}/{profile}/{coordinates}" \
-H "Authorization: Bearer $MAPMAP_KEY"Parameters
| Name | In | Type | Required | Description |
|---|---|---|---|---|
| user | path | string | yes | mapbox or mapmap |
| profile | path | string | yes | driving, driving-traffic (served as driving), walking, cycling or truck (premium) |
| coordinates | path | string | yes | The origin as lon,lat |
| access_token | query | string | no | Your MapMap key (snk_...) |
| contours_minutes | query | string | no | Comma-separated minutes (up to 4 contours, each at most 120) |
| contours_meters | query | string | no | Comma-separated metres (up to 4 contours, each at most 200,000) |
| contours_colors | query | string | no | Hex colours without #, one per contour |
| polygons | query | boolean | no | Polygons (true) or lines (default) |
| denoise | query | number | no | 0 to 1 |
| generalize | query | number | no | Douglas-Peucker tolerance in metres |
| depart_at | query | string | no | Local departure time, YYYY-MM-DDThh:mm |
Responses
contour, metric and color (and fill/fillColor on polygons). Car contours are free-flowing times. Metered as POST /isochrone: one unit per contour| Field | Type | Required | Description |
|---|---|---|---|
| engine | string | no | The routing engine that answered. |
| eta_calibration | object | no | Whether a typical-delay calibration applies to the contours (isochrones are drawn on the engine's own times). |
| features | object[] | no | One feature per contour: a Polygon (or a LineString without
polygons: true) with properties carrying the contour
(contour, metric) and its colour and fill styling. |
| snapped_origin | object | no | Where the origin snapped onto the road network (lat, lon)
and how far it moved, in metres. |
| type | string | no | Always FeatureCollection. |
Example: Recorded from the hosted gateway on 2026-11-05 with a test key: GET /isochrone/v1/mapbox/walking/-0.1410,50.8290?contours_minutes=5&polygons=true; lists trimmed to their first items
{
"engine": "valhalla",
"features": [
{
"geometry": {
"coordinates": [
[
[
-0.139009,
50.832011
],
[
-0.141593,
50.83153
],
[
-0.143859,
50.830946
],
[
-0.144446,
50.826946
],
[
-0.138009,
50.826469
],
[
-0.136447,
50.828508
],
[
-0.13743,
50.829946
],
[
-0.139009,
50.832011
]
]
],
"type": "Polygon"
},
"properties": {
"color": "#bf4040",
"contour": 5,
"fill": "#bf4040",
"fill-opacity": 0.33,
"fillColor": "#bf4040",
"fillOpacity": 0.33,
"metric": "time",
"opacity": 0.33,
"snapped_origin": {
"distance_m": 6,
"lat": 50.828946,
"lon": -0.14101
}
},
"type": "Feature"
}
],
"snapped_origin": {
"distance_m": 6,
"lat": 50.828946,
"lon": -0.14101
},
"type": "FeatureCollection"
}{code, message} for a malformed or unsupported option, not billedapplication/json
unauthorized); the body carries signup, docs and a one-call hint for a free keyapplication/problem+json · Problem
X-PAYMENT). Not problem+jsonapplication/json · X402PaymentRequired
scope-insufficient), a request from an origin the key does not allow (origin-not-allowed), or an account restriction (forbidden)application/problem+json · Problem
ProfileNotFoundapplication/json
{code, message} when no road the profile can use lies within 5 km of the point (open sea, desert): no roads near this point. Not billedapplication/json
rate-limited, with Retry-After), or monthly quota exhausted with no payment path (quota-exceeded)application/problem+json · Problem
request-timeout)application/problem+json · Problem
Error bodies follow the shared problem model documented on API conventions.
Also under Mapbox-compatible paths
Generated from https://api.mapmap.ai/openapi.json on 2026-11-12 · operationId get_isochrone