Skip to main content
POST
/
v1
/
routing
/
isochrone
curl --request POST \
  --url https://api.footstep.ai/v1/routing/isochrone \
  --header 'Content-Type: application/json' \
  --header 'x-api-key: <api-key>' \
  --data '
{
  "locations": [
    {
      "lat": 51.5322,
      "lon": -0.124
    }
  ],
  "travel": "pedestrian",
  "contours": [
    {
      "time": 5,
      "color": "ff0000"
    },
    {
      "time": 10,
      "color": "ffff00"
    },
    {
      "time": 15,
      "color": "00ff00"
    }
  ]
}
'
{
  "origin": {
    "lat": 0,
    "lon": 0
  },
  "travel": "<string>",
  "contours": [
    {
      "value": 123,
      "geometry": {
        "coordinates": "<unknown>"
      },
      "reachable_places": [
        {
          "name": "<string>",
          "label": "<string>",
          "place_type": "<string>",
          "coordinates": {
            "lat": 123,
            "lng": 123
          }
        }
      ]
    }
  ]
}

Documentation Index

Fetch the complete documentation index at: https://docs.footstep.ai/llms.txt

Use this file to discover all available pages before exploring further.

Authorizations

x-api-key
string
header
required

Your Footstep API key

Body

application/json
contours
object[]
required
Required array length: 1 - 4 elements
locations
object[]

Single origin location as coordinates (length 1). Use this when you already have lat/lon; otherwise prefer from.

Required array length: 1 element
travel
enum<string>
default:pedestrian
Available options:
auto,
bicycle,
pedestrian,
bus,
truck
travel_options
object

Fine-tuning options. Include only the key matching your travel type.

polygons
boolean
default:true
denoise
number
default:0.5

0 = detailed, 1 = smoothed

Required range: 0 <= x <= 1
show_locations
boolean
default:false
format
enum<string>
default:footstep

Response format. footstep = optimised for app developers (encoded polyline, flat structure). geojson = standard GeoJSON FeatureCollection (decoded coordinates, immediately usable in Leaflet/Mapbox GL/deck.gl).

Available options:
footstep,
geojson
from
string

Origin place name (e.g. 'Kings Cross, London'). Geocoded internally. Provide either from OR locations, not both.

Response

Isochrone contours

Structured isochrone response with typed contours

origin
object
required
travel
string
required

Travel type used

contours
object[]
required