Export AllTrails trail GPX
alltrails_get_trail_gpxExport an AllTrails trail route as GPX 1.1 XML with per-point elevation, ready to save or import into navigation apps.
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 |