alltrails_get_trail_gpx
Export an AllTrails trail's route as a GPX 1.1 file with per-point elevation. Use trail ID to get track points ready for navigation apps or saving to .gpx.
Instructions
Export an AllTrails trail's route as a GPX 1.1 document (track points with per-point elevation), built from the trail's offline-detail route geometry. Returns raw GPX XML suitable for saving to a .gpx file or importing into navigation apps.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| trailId | Yes | Numeric AllTrails trail id |