---
title: "Compute reachable-area polygons"
method: POST
path: "/isochrone"
tags: ["navigation"]
---

# Compute reachable-area polygons

`POST /isochrone`

## Request

- Base URL: `https://api.mapsource.io`
- URL: `https://api.mapsource.io/isochrone`
- Auth: HTTP bearer

Returns reachable-area polygons for up to four travel-time bands from one origin.

When to use: Calculate service areas, catchments, or accessibility within a travel-time limit.

## Query parameters

- `lat` number, required
- `lon` number, required

## Request body

- object
  - `entity` string: An entity id to centre on, instead of lat and lon.
  - `costing` 'auto' | 'bicycle' | 'pedestrian' | 'truck' | 'motor_scooter' | 'bus': Travel mode.
  - `contours` unknown[]: Travel-time bands in minutes.
    - unknown

## Response `200`

Compute reachable-area polygons

- object
  - `schema` string
  - `profile` string: The costing model that produced this result.
  - `units` object
    - `distance` string
    - `duration` string
  - `graph` object
    - `engine` string
    - `tilesetBuiltAt` string, nullable
  - `geometryAvailable` 'inline' | 'handle': Where the geometry is. handle means read geometryRef.
  - `meta` object
    - `requestId` string
    - `computeMs` integer
    - `requestedAt` string, date-time
    - `sources` object[]
      - `dataset` string
      - `observedAt` string, nullable
      - `license` string
    - `freshness` object, nullable
    - `licenses` string[]
    - `attribution` string[]
  - `type` 'FeatureCollection': GeoJSON FeatureCollection of reachable-area polygons.
  - `features` unknown[]
    - unknown
  - `contours` unknown[]
    - unknown
  - `contourUnit` string

## Other responses

- `400`: Error with a stable machine code.
- `401`: Error with a stable machine code.
- `429`: Error with a stable machine code.
- `500`: Error with a stable machine code.

---

[API](https://skmtc.dev/mapsource/apis/mapsource-overpass-api.md) · [All operations](https://skmtc.dev/mapsource/apis/mapsource-overpass-api/llms.txt) · [OpenAPI document](https://skmtc.dev/mapsource/apis/mapsource-overpass-api/revisions/8af8c2769e7b?raw)
