alltrails_get_trail
Retrieve detailed information for any AllTrails trail by ID, including name, location, length, elevation, difficulty, rating, and route type, with optional compact or full geometry output.
Instructions
Get details for a single AllTrails trail by its numeric trail id. Returns name, location, length, elevation gain, difficulty, rating, route type, and (at higher detail levels) route geometry. Set compact=true for a slim projection (name, overview, length in m+mi, elevation gain, difficulty, rating, route type, location) — recommended unless you need the full record or geometry.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| detail | No | Detail level. "medium" (default) is a good overview; "offline" includes full route geometry. | |
| compact | No | Return a slim projection instead of the full record (default false) | |
| trailId | Yes | Numeric AllTrails trail id (e.g. "10236086") |