Skip to content

Isochrones

POST accessibility/isochrones

Returns the isochrone for the specified location, mode of transport and cutoff minutes, e.g. the area that can be reached by car within 15 minutes. Optionally, densities of points of interest can be obtained (see also Points of Interest).

Request#

curl -X POST 'https://api.pricehubble.com/api/v1/accessibility/isochrones?access_token=74126eab0a9048d993bda4b1b55ae074' \
  -H 'content-type: application/json' \
  -d '{
    "coordinates": {
        "latitude": 47.36925,
        "longitude": 8.531118
    },
    "mode": "CAR",
    "cutoff": 15,
    "returnDensities": true,
    "countryCode": "CH"
}'
Field Description Type Remarks
coordinates Location for which information should be retrieved Coordinates
mode Mode of transport enum WALK, BICYCLE, CAR or PUBLIC_TRANSPORT (PUBLIC_TRANSPORT is currently only supported in CH, DE and FR)
cutoff Cutoff in minutes for which isochrone should be returned integer min: 1, max: 60
returnDensities Whether to return densities of points of interest in response boolean default: false
countryCode ISO country code string CH, DE, FR, JP and AT are currently supported

Response#

{
    "densities": {
        "catering": 1770,
        "education": 570,
        "health": 257,
        "leisure": 527,
        "shopping": 423
    },
    "isochrone": {
        "geometry": {
            "coordinates": [
                [
                    [
                        [
                            8.5817244,
                            47.2587292
                        ],
                        ...
                    ]
                ]
            ],
            "type": "MultiPolygon"
        }
    }
}
Field Description Type Remarks
densities.education Number of education POIs within the requested isochrone integer
densities.shopping Number of shopping POIs within the requested isochrone integer
densities.catering Number of catering POIs within the requested isochrone integer
densities.health Number of health POIs within the requested isochrone integer
densities.leisure Number of leisure POIs within the requested isochrone integer
isochrone.geometry Isochrone geometry GeoJSON MultiPolygon