The gpxlist API
Search every track by trail name, place, map box or distance from a point, and download GPX files one at a time or a whole area as a zip. It is free. Each key can make 1,000 requests and 300 GPX downloads an hour, and 20 zip downloads a day.
Get a free key
Use it
Send the key in the X-API-Key header:
curl -H "X-API-Key: YOUR_KEY" "https://gpxlist.com/api/v1/tracks?q=narragansett" curl -H "X-API-Key: YOUR_KEY" -o trail.gpx "https://gpxlist.com/api/v1/tracks/TRACK_ID.gpx" curl -H "X-API-Key: YOUR_KEY" -o area.zip "https://gpxlist.com/api/v1/areas/AREA_ID/tracks.zip"
Endpoints
POST /api/v1/keysGet a free API keyGET /api/v1/tracksSearch tracksGET /api/v1/tracks/{id}One track: trail, place, facts, and the line with elevationsGET /api/v1/tracks/{id}.gpxDownload one track as GPXGET /api/v1/areasSearch areas: states, national and state forests, parks, wilderness, preserves, counties, townsGET /api/v1/areas/{slug}One area, with its bounding box and links to its tracksGET /api/v1/areas/{slug}/tracks.zipDownload every track in an area as GPX files in one zip (up to 500)
The full reference is the OpenAPI description.
Licenses
Shared tracks are public domain (CC0 1.0). Tracks from OpenStreetMap are © OpenStreetMap contributors under the Open Database License 1.0: credit them when you show or share them. Each track says which applies.