Get full trail details
get_route_detailsRetrieve comprehensive route details by OSM relation ID, including name, length, geometry, operator, and tags. Supports hiking, cycling, and other activities with configurable geometry detail and language.
Instructions
Get full information about a single route by its OSM relation id: name, reference, network, total length, operator, description, website, Wikipedia, bounding box (lon/lat), raw OSM tags, and any sub-/super-routes. Geometry is summarised by default to keep the response small — set geometry_detail to 'full' for every coordinate or 'none' to omit it.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| id | Yes | OSM relation id of the route. | |
| geometry_detail | No | How much path geometry to include: 'none' (counts only), 'summary' (~30 lon/lat points, default), or 'full' (every coordinate). | summary |
| flavour | No | Which activity map to query: hiking, cycling, mtb (mountain biking), riding (horse), skating (inline), or slopes (ski/winter). Defaults to hiking. | hiking |
| language | No | Preferred language for names (BCP-47 code, e.g. 'en', 'de', 'fr'). | en |