POI Reachability by OSM key

Get cafés within 15-minutes by bike
curl --compressed -X POST \
  'https://api.targomo.com/pointofinterest/reachability' \
  -H 'Content-Type: application/json' \
  -d '{
  "sources": [
    {
      "id": "1",
      "lat": 52.450411,
      "lng": 13.43755,
      "tm": {
        "bike": {}
      }
    }
  ],
  "elevation": true,
  "maxEdgeWeight": 900,
  "edgeWeight": "time",
  "osmTypes": [
    {
      "key": "amenity",
      "value": "cafe"
    }
  ],
  "format": "geojson",
  "serviceUrl": "https://api.targomo.com/westcentraleurope/",
  "serviceKey": "__targomo_key_here__"
}'
content_copy
Copied to clipboard