Komoot route

GET https://api.api.sh/komoot/v1/tour
1 credit / call travel & events try it in the playground →

One route on Komoot: a curated smart tour, an editorial tour or a public tour, by id or link. Returns name, kind, sport, difficulty, distance, duration, elevation up and down, start point, rating, ratings, visitors, surfaces and way_types (shares of the route), highlights_on_route, map_image, creator, dates and raw (with the route's waypoints path, segments and tour_information such as protected areas and ferries). With coordinates=true also the full line as [longitude, latitude, altitude_m, ms_from_start] points.

Every response includes credits_used: the credits this call cost.

Part of the Komoot API: 13 endpoints with prices, use cases and example responses.

Parameters

nametypedescription
idrequired string A route id (e2116180501, 21197) or a komoot.com/smarttour/... or /tour/... link. Example: e2116180501
coordinates boolean true: also return the route's line (adds a few KB to tens of KB).

Every endpoint also takes fresh, raw, fields (see lean responses and caching).

Example

curl "https://api.api.sh/komoot/v1/tour?id=e2116180501" \
  -H "x-api-key: $APISH_KEY"

Response

A JSON object with the fields described above, plus raw (the source's own data), cached, fetched_at and credits_used. Errors return {"success": false, "error": "…"} with the HTTP status (see errors). A lookup that ran but found nothing (404) costs the price above; refused calls and errors on our side are free (what's charged).

Example response (real call, trimmed: lists cut to 2 items, long text shortened, raw left out)

{"id": "e2116180501","name": "Sollingweg: Weser Skywalk","url": "https://www.komoot.com/smarttour/e2116180501","kind": "editorial_tour","sport": "hike","status": "public","difficulty": "moderate","distance_m": 9447,"distance_km": 9.45,"distance_mi": 5.87,"duration_s": 9918,"duration_min": 165,"elevation_up_m": 231,"elevation_down_m": 231,"elevation_up_ft": 758,"start": {"latitude": 51.64247,"longitude": 9.450975,"altitude_m": 102},"rating": 4.59,"ratings": 150,"visitors": 458,"roundtrip": null,"surfaces": [{"type": "unpaved","share": 0.0545},{"type": "paved","share": 0.1088},"… 3 more"],"way_types": [{"type": "street","share": 0.0233},{"type": "footway","share": 0.0932},"… 3 more"],"highlights_on_route": [939686,407997,"… 4 more"],"map_image": "https://tourpic-vector.maps.komoot.net/r/big/qso%5E%7BqwDa@i@Un@Ad@GRDFANM%60As@dBCB%3FEEEEFAGEFGACNEECDFNEJFN%3F%5ELDME%3F_@CMGEQg@C%3FMi@S…","created_at": "2025-03-27T18:33:59.939Z","changed_at": "2025-04-29T11:03:07.903Z","creator": {"username": "weserbergland","name": "Weserbergland","url": "https://www.komoot.com/user/weserbergland","avatar": "https://d2exd72xrrp1s7.cloudfront.net/www/ov/ov81vyhqvur98cuteowykaix4dmyihiy-uweserbergland-full/1847b7c44e0?width=200&height=200&crop=fals…","premium": true,"status": "public"},"translated_from": "Sollingweg: Weser-Skywalk","cached": false,"credits_used": 1}
The fastest way to see the full response is the playground: it runs this endpoint with your account and shows the exact JSON.