OpenAny
Get API keyAPI Key
APIDataTravel

komoot logo
Komoot Route Search API

Search Komoot routes by coordinates and source filters via REST or OpenAny MCP—with pay-per-use pricing and no subscription. Powered by Apish, pass parameters such as lat, limit, lng, and retrieve structured data including source route identifier, source duration in minutes, and source difficulty label to route discovery, and route comparison.

Selected price
$0.002 / billing creditPublished pricing
Sellers / APIs
1 / 1
Requests · 30d
0Selected implementation · last 30 days
Success rate · 30d
—No requests in this period
USE THIS API

Komoot Route Search API

Prepare your request, then continue with your agent.

Pricing

$0.002 / billing credit

Calculated from input parameters and actual returned quantities. Estimate the maximum cost before calling.

Provider
API
Pricing
Connect your agent
On this page

Overview

Overview
Komoot Route Search API

Komoot Route Search API

Use the exposed lat/lng inputs and supported region_id or highlight_id context. Length filters are kilometres, duration filters minutes and uphill filters metres; surface values express source preferences.

Quick Facts

Fact Value
Access OpenAny REST
Authentication OpenAny API key in the Authorization header
Core inputs Required: lat, lng. Optional: region_id, highlight_id, sport, radius_km, min_length_km, max_length_km, min_duration_min, max_duration_min, min_uphill_m, max_uphill_m, difficulty, route_type, surface, start_place, attributes, page, limit. JSON output; fresh=1 bypasses cache and raw=0 omits raw source blocks.
Selected implementation apish · Komoot route search API
Billing See the pricing area for the selected implementation and request options

What You Can Build

  • Route discovery: Preserve sport, radius and metric filter units.
  • Route comparison: Keep source preferences and difficulty context explicit.

Returned Data

Field Meaning
tours[].id Source route identifier
tours[].distance_km Source route distance in kilometres
tours[].duration_min Source duration in minutes
tours[].elevation_up_m Source cumulative ascent in metres
tours[].difficulty Source difficulty label
next_page Next source route page when present

Quick Start

  1. Set OPENANY_API_KEY to your OpenAny API key.
  2. Review the selected implementation and pricing, then adapt the request below to your target.
  3. Check the HTTP response and business result before reading optional fields.
bash
curl --request GET --get \
  https://api.openany.si/v1/agent-apis/apish/komoot/v1/tours \
  -H "Authorization: Bearer ${OPENANY_API_KEY}" \
  --data-urlencode lat=47.2692 \
  --data-urlencode limit=1 \
  --data-urlencode lng=11.4041 \
  --data-urlencode output=json \
  --data-urlencode raw=0 \
  --data-urlencode sport=hike

Request and Response Examples

The response example is a documentation reference and may be abbreviated. The documented request is a calling template; use the published contract and returned response for the selected implementation.

Published Komoot Route Search API implementation contract.

Pricing and Billing

The pricing area reflects the selected API implementation. Review its billing unit and any request-dependent rules before calling; a source service's public availability does not determine OpenAny billing.

Frequently Asked Questions

View FAQ

Related APIs

Playground

Run sends a real API request. Charges follow the published API contract.

Request parameters
Latitude of the centre point (with `lng`). Not needed with `region_id` or `highlight_id`.
Longitude of the centre point.
Optional parameters (22)
A region id (from `/komoot/v1/search` results of type `for_region`, or a guide): routes in that region.
A highlight id: routes that pass that highlight.
hike (default), mountaineering, jogging, touringbicycle, e_touringbicycle, mtb, e_mtb, mtb_easy, mtb_advanced, racebike, e_racebike, and the site's other sports.
Search radius around the point in km (1-100, default 10).
Shortest route in km.
Longest route in km.
Shortest duration in minutes.
Longest duration in minutes.
Least elevation gain in metres.
Most elevation gain in metres.
easy, moderate, difficult; comma separated for several.
loop or out_and_back.
prefer_paved or prefer_unpaved.
train_station, bus_stop or car_park.
Comma separated: waterfalls, lakes_rivers, mountain_summits, forests, coastline, parks, volcanoes, caves, canyons_gorges, cafe, pub, restaurant, mountain_hut, facilities, cultural_historical, climbs, ridges, mountain_passes, bike_parks, avoid_main_roads.
Page number, from 1.
Routes per page (1-24, default 12).
0 leaves out the bulky `raw` source blocks (often 10-30x smaller).
Comma-separated fields to return, e.g. `posts.id,posts.title`. Call metadata is always included.
1 skips the 24-hour cache and fetches live.
JSON only for this OpenAny product. Omit output or use json; CSV and NDJSON are not supported.
With output=csv|ndjson: the top-level list to turn into rows (e.g. `reviews`), or `.` for the whole object as one row.

Sample response

Run a request to see the actual response. Published samples are in Examples.

Response result

Sellers

SellerPricingRequests · 30dPerformanceAccess
apishCurrent
Komoot route search API · GET · View API reference
$0.002 / billing credit0
—successP50—
Selected implementation traffic · 11/3/2026 – 12/3/2026 (UTC)
Selected pricing · apishUSD / billing credit
Pricing
$0.002

Calculated from input parameters and actual returned quantities. Estimate the maximum cost before calling.

Statistics use persisted gateway logs from the last 30 days up to now, including today.
Success rate = successful requests / all requests;
P50 = median latency of successful requests.
Prices reflect the published API contract. Contract revision: 3. Price update time: not supplied.

API

Method
GET
Endpoint
https://api.openany.si/v1/agent-apis/apish/komoot/v1/tours
Content type
application/json
Authentication
Authorization: Bearer $OPENANY_API_KEY
View request and response examples

Input parameters

Fields in this listing; additional options and input encoding can vary by provider.

ParameterLocationTypeRequiredDescription
latURL query parametersquerynumberYes

Latitude of the centre point (with `lng`). Not needed with `region_id` or `highlight_id`.

lngURL query parametersquerynumberYes

Longitude of the centre point.

region_idURL query parametersqueryintegerNo

A region id (from `/komoot/v1/search` results of type `for_region`, or a guide): routes in that region.

highlight_idURL query parametersqueryintegerNo

A highlight id: routes that pass that highlight.

sportURL query parametersquerystringNo

hike (default), mountaineering, jogging, touringbicycle, e_touringbicycle, mtb, e_mtb, mtb_easy, mtb_advanced, racebike, e_racebike, and the site's other sports.

radius_kmURL query parametersquerynumberNo

Search radius around the point in km (1-100, default 10).

min_length_kmURL query parametersquerynumberNo

Shortest route in km.

max_length_kmURL query parametersquerynumberNo

Longest route in km.

min_duration_minURL query parametersquerynumberNo

Shortest duration in minutes.

max_duration_minURL query parametersquerynumberNo

Longest duration in minutes.

min_uphill_mURL query parametersquerynumberNo

Least elevation gain in metres.

max_uphill_mURL query parametersquerynumberNo

Most elevation gain in metres.

difficultyURL query parametersquerystringNo

easy, moderate, difficult; comma separated for several.

route_typeURL query parametersquerystringNo

loop or out_and_back.

surfaceURL query parametersquerystringNo

prefer_paved or prefer_unpaved.

start_placeURL query parametersquerystringNo

train_station, bus_stop or car_park.

attributesURL query parametersquerystringNo

Comma separated: waterfalls, lakes_rivers, mountain_summits, forests, coastline, parks, volcanoes, caves, canyons_gorges, cafe, pub, restaurant, mountain_hut, facilities, cultural_historical, climbs, ridges, mountain_passes, bike_parks, avoid_main_roads.

pageURL query parametersqueryintegerNo

Page number, from 1.

limitURL query parametersqueryintegerNo

Routes per page (1-24, default 12).

rawURL query parametersquerystringNo

0 leaves out the bulky `raw` source blocks (often 10-30x smaller).

enum: "0", "1"

fieldsURL query parametersquerystringNo

Comma-separated fields to return, e.g. `posts.id,posts.title`. Call metadata is always included.

freshURL query parametersquerystringNo

1 skips the 24-hour cache and fetches live.

enum: "1"

outputURL query parametersquerystringNo

JSON only for this OpenAny product. Omit output or use json; CSV and NDJSON are not supported.

enum: "json"

recordsURL query parametersquerystringNo

With output=csv|ndjson: the top-level list to turn into rows (e.g. `reviews`), or `.` for the whole object as one row.

Required markers inside a nested object or variant apply when that object or variant is used.

Response structure

Inferred from examples
  • applied_filtersobject
    • sportstring
  • cachedboolean
  • countinteger
  • credits_usedinteger
  • fetched_atstring
  • latitudenumber
  • limitinteger
  • longitudenumber
  • next_pageinteger
  • pageinteger
  • radius_kminteger
  • totalinteger
  • toursobject[]
    • changed_atstring
    • created_atstring
    • creatorobject
      • avatarstring
      • namestring
      • premiumboolean
      • statusstring
      • urlstring
      • usernamestring
    • difficultystring
    • distance_kmnumber
    • distance_minteger
    • distance_minumber
    • duration_mininteger
    • duration_sinteger
    • elevation_down_minteger
    • elevation_up_ftinteger
    • elevation_up_minteger
    • highlights_on_routeinteger[]
    • idstring
    • kindstring
    • map_imagestring
    • namestring
    • ratingnumber
    • ratingsinteger
    • roundtripnull
    • sportstring
    • startobject
      • altitude_mnumber
      • latitudenumber
      • longitudenumber
    • statusstring
    • surfacesobject[]
      • sharenumber
      • typestring
    • translated_fromstring
    • urlstring
    • visitorsinteger
    • way_typesobject[]
      • sharenumber
      • typestring

Composite rule pricing

Calculated from input parameters and actual returned quantities. Estimate the maximum cost before calling.

Base fee: $0.000000. One matching variant replaces the base fee. Matching add-ons and quantity charges are added.

Fee itemPriceMetering sourceWhenQuantity limit
Actual API.SH credits consumed$0.002000 / billing creditResponse · /credits_used · Numeric valueAlways1 billing credit · Decimal places: 0

Each quantity charge is rounded before summing: ceil. Requests exceeding this cost limit are rejected; it is not a price cap: $0.002000.

Response quantities settle after the response. Before execution, the maximum quantity determines the reservation; unused reservation is released. Missing or invalid quantities are not treated as zero.

Pricing parameters and defaults
[]

Agent integration

Copy the resource contract without sharing an API key.

Download MDView API Markdown

Error handling

StatusNext step
400Check the offering and request fields.
401 / 403Verify your credentials and access permissions.
402Inspect the selected access mode and returned payment requirements.
429Respect the returned rate limit and retry guidance.
5xxInspect the error and usage record before retrying a paid operation.

Examples

Official example · Live API.SH response · Minimal request

Example from the provider's documentation. Field values in your results will differ.

  1. Prepare your environment

    Use a terminal with cURL installed.

    Use an OpenAny API key with shared-balance access. Confirm availability and price before running; a call may charge your balance.

    Set the key in your terminal using the hidden prompt below. Keep its value out of source files and logs.

    Terminal · macOS / Linux
    printf 'OpenAny API key: '
    read -r -s OPENANY_API_KEY
    export OPENANY_API_KEY
    printf '\n'
  2. Run the request

    Paste the complete command below into your terminal.

    Values to replace before running 24

    Review these request fields before running. Keep the published provider and request method unchanged.

    lat
    Latitude of the centre point (with `lng`). Not needed with `region_id` or `highlight_id`.
    lng
    Longitude of the centre point.
    region_id
    A region id (from `/komoot/v1/search` results of type `for_region`, or a guide): routes in that region.
    highlight_id
    A highlight id: routes that pass that highlight.
    sport
    hike (default), mountaineering, jogging, touringbicycle, e_touringbicycle, mtb, e_mtb, mtb_easy, mtb_advanced, racebike, e_racebike, and the site's other sports.
    radius_km
    Search radius around the point in km (1-100, default 10).
    min_length_km
    Shortest route in km.
    max_length_km
    Longest route in km.
    min_duration_min
    Shortest duration in minutes.
    max_duration_min
    Longest duration in minutes.
    min_uphill_m
    Least elevation gain in metres.
    max_uphill_m
    Most elevation gain in metres.
    difficulty
    easy, moderate, difficult; comma separated for several.
    route_type
    loop or out_and_back.
    surface
    prefer_paved or prefer_unpaved.
    start_place
    train_station, bus_stop or car_park.
    attributes
    Comma separated: waterfalls, lakes_rivers, mountain_summits, forests, coastline, parks, volcanoes, caves, canyons_gorges, cafe, pub, restaurant, mountain_hut, facilities, cultural_historical, climbs, ridges, mountain_passes, bike_parks, avoid_main_roads.
    page
    Page number, from 1.
    limit
    Routes per page (1-24, default 12).
    raw
    0 leaves out the bulky `raw` source blocks (often 10-30x smaller).
    fields
    Comma-separated fields to return, e.g. `posts.id,posts.title`. Call metadata is always included.
    fresh
    1 skips the 24-hour cache and fetches live.
    output
    JSON only for this OpenAny product. Omit output or use json; CSV and NDJSON are not supported.
    records
    With output=csv|ndjson: the top-level list to turn into rows (e.g. `reviews`), or `.` for the whole object as one row.
    Terminal · cURL
    curl \
      'https://api.openany.si/v1/agent-apis/apish/komoot/v1/tours?lat=47.2692&limit=1&lng=11.4041&output=json&raw=0&sport=hike' \
      -X GET \
      -H "Authorization: Bearer $OPENANY_API_KEY" \
      -H 'Content-Type: application/json'
  3. Check the response

    Sample response · Documented HTTP 200

    Sample response
    {
      "applied_filters": {
        "sport": "hike"
      },
      "cached": false,
      "count": 1,
      "credits_used": 1,
      "fetched_at": "2026-11-19T12:28:42.194Z",
      "latitude": 47.2692,
      "limit": 1,
      "longitude": 11.4041,
      "next_page": 2,
      "page": 1,
      "radius_km": 10,
      "total": 1001,
      "tours": [
        {
          "changed_at": "2025-01-07T08:41:46.782Z",
          "created_at": "2025-01-03T09:00:35.365Z",
          "creator": {
            "avatar": "https://d2exd72xrrp1s7.cloudfront.net/www/2y/2ybguf62finf10zpa1jz1g3ia6ae4x7f153727-full/19985179009?width=200&height=200&crop=false",
            "name": "komoot",
            "premium": true,
            "status": "public",
            "url": "https://www.komoot.com/user/komoot",
            "username": "komoot"
          },
          "difficulty": "moderate",
          "distance_km": 11.18,
          "distance_m": 11180,
          "distance_mi": 6.95,
          "duration_min": 278,
          "duration_s": 16709,
          "elevation_down_m": 544,
          "elevation_up_ft": 1785,
          "elevation_up_m": 544,
          "highlights_on_route": [
            193621,
            70747,
            114909
          ],
          "id": "e2003874065",
          "kind": "editorial_tour",
          "map_image": "https://tourpic-vector.maps.komoot.net/r/big/%7D%60%7B%5Bwi%7DEIYHg@Ok@@GEQ%3Fc@GKASE%3FFYCSGM@IKGCSF_@OICM@MGQCB%3FBIYEC%5DEy@FC%5Bg@gADKSi@b@PGQBAOIMYU%7D@CBBMHBCKDAEMDCc@m@g@IKQAOUE@%5BEUDTAZTD@NJPf@Hb@l@EBDLE@BJICCLBCT%7C@LXNHC@FPc@QRh@EJf@fABZx@G%5CDDBHX%3FCBCFPALBLNHG%5EBRJFAHFLBRGXD%3F@RFJ%3Fb@DPAFNj@If@HX/?width={width}&height={height}&crop={crop}",
          "name": "Goetheweg - Karwendel Nature Park",
          "rating": 4.82,
          "ratings": 197,
          "roundtrip": null,
          "sport": "hike",
          "start": {
            "altitude_m": 2232.5,
            "latitude": 47.31192,
            "longitude": 11.383631
          },
          "status": "public",
          "surfaces": [
            {
              "share": 0.0066,
              "type": "alpin"
            },
            {
              "share": 0.007,
              "type": "gravel"
            },
            {
              "share": 0.0072,
              "type": "paved"
            },
            {
              "share": 0.0798,
              "type": "unpaved"
            },
            {
              "share": 0.8995,
              "type": "nature"
            }
          ],
          "translated_from": "Goetheweg – Naturpark Karwendel",
          "url": "https://www.komoot.com/smarttour/e2003874065",
          "visitors": 1290,
          "way_types": [
            {
              "share": 0.007,
              "type": "way"
            },
            {
              "share": 0.0072,
              "type": "hiking_path"
            },
            {
              "share": 0.9859,
              "type": "mountain_hiking_path"
            }
          ]
        }
      ]
    }

Common questions

Which radius and result limits apply?

radius_km accepts 1–100 and defaults to 10; limit accepts 1–24 and defaults to 12.

How should region and highlight references be obtained?

Use the guide’s region.id or a source for_region reference for region_id, and the highlight’s own ID for highlight_id.

Which difficulty and surface values are supported?

difficulty accepts easy, moderate or difficult, comma-separated. surface supports prefer_paved or prefer_unpaved; keep preference scope rather than claiming every section has that surface.

Can I sort by an arbitrary text query?

No keyword or sort input is exposed here. Use supported source filters and follow next_page as page.

How do I bypass cached results?

Pass fresh=1. A cache bypass retrieves available source data; it does not make unpublished or restricted records available.

Can I request CSV or NDJSON?

This OpenAny implementation serves JSON only. Omit output or set output=json.

Use Komoot Route Search API with your agent

Inspect endpoint contracts and confirm availability and pricing before a paid call.