Isochrone API
Isochrone API
The Isochrone API calculates the area you can reach from a point within a given travel time. The result is a polygon you can display on a map.
This is useful for showing delivery zones, service areas, or commute ranges.
Base URL
https://routing.maptoolkit.net/isochroneAuthentication
Add your API key as ?api_key=YOUR_API_KEY to every request. See Authentication for details.
Parameters
| Parameter | Type | Required | Description |
|---|---|---|---|
point | lat,lng | Yes | The starting point. |
time | number | Yes | Travel time in minutes. |
routeType | string | Yes | Vehicle type: car, bike, foot, or transit. Transit is available only in NRW, Germany. |
format | string | No | Set to geojson to get a GeoJSON geometry object. Required for transit isochrones. |
departure | date string | No | Departure time for transit routing. |
Response
An array of [lat, lng] coordinate pairs that form a polygon.
GET https://routing.maptoolkit.net/isochrone?point=47.268,11.400&time=10&routeType=bike&api_key=YOUR_API_KEYThis is a response to the HTTP GET request shown above:
[
[
47.27599805,
11.39406835
],
[
47.27524085,
11.3925068
],
[
47.2742211,
11.3920193
],
[
47.2732573,
11.3914051
],
...
]GeoJSON Response
If you set the URL parameter format=geojson the response will be a GeoJSON object:
{
"type": "Polygon",
"coordinates": [[[11.39406835, 47.27599805], [11.3925068, 47.27524085], ...]]
}Note: In GeoJSON the coordinate format is [lng, lat] in the standard response above, it is [lat, lng].