Skip to content
Documentation menu
docs / api / get-isochrone-v1-user-profile-coordinates
Mapbox-compatible paths

GET/isochrone/v1/{user}/{profile}/{coordinates}

Access and price

AuthAn API key, as Authorization: Bearer snk_…, ?api_key=snk_… or ?access_token=snk_…. Metered. Needs a full key; a browser (maps) key is refused.
Price1 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.
PremiumFor 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

bash
curl -fsS -X GET "https://api.mapmap.ai/isochrone/v1/{user}/{profile}/{coordinates}" \
  -H "Authorization: Bearer $MAPMAP_KEY"

Parameters

NameInTypeRequiredDescription
userpathstringyesmapbox or mapmap
profilepathstringyesdriving, driving-traffic (served as driving), walking, cycling or truck (premium)
coordinatespathstringyesThe origin as lon,lat
access_tokenquerystringnoYour MapMap key (snk_...)
contours_minutesquerystringnoComma-separated minutes (up to 4 contours, each at most 120)
contours_metersquerystringnoComma-separated metres (up to 4 contours, each at most 200,000)
contours_colorsquerystringnoHex colours without #, one per contour
polygonsquerybooleannoPolygons (true) or lines (default)
denoisequerynumberno0 to 1
generalizequerynumbernoDouglas-Peucker tolerance in metres
depart_atquerystringnoLocal departure time, YYYY-MM-DDThh:mm

Responses

200GeoJSON FeatureCollection; each feature's properties carry contour, metric and color (and fill/fillColor on polygons). Car contours are free-flowing times. Metered as POST /isochrone: one unit per contour
FieldTypeRequiredDescription
enginestringnoThe routing engine that answered.
eta_calibrationobjectnoWhether a typical-delay calibration applies to the contours (isochrones are drawn on the engine's own times).
featuresobject[]noOne 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_originobjectnoWhere the origin snapped onto the road network (lat, lon) and how far it moved, in metres.
typestringnoAlways 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

json
{
  "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"
}
400{code, message} for a malformed or unsupported option, not billed

application/json

401Missing or invalid key. Also: No key, or a missing, malformed, unknown, revoked or expired one (unauthorized); the body carries signup, docs and a one-call hint for a free key

application/problem+json · Problem

402Beyond the included volume with no way to pay this call: an x402 body naming how to pay (provisional key past its allowance, prepaid balance below the price, or a rejected X-PAYMENT). Not problem+json

application/json · X402PaymentRequired

403The key may not call this: a browser key outside its scope (scope-insufficient), a request from an origin the key does not allow (origin-not-allowed), or an account restriction (forbidden)

application/problem+json · Problem

404ProfileNotFound

application/json

422{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 billed

application/json

429Quota or rate limit exceeded. Also: Per-key rate limit (rate-limited, with Retry-After), or monthly quota exhausted with no payment path (quota-exceeded)

application/problem+json · Problem

504The request did not finish within the gateway's request deadline (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