AllTrails

AllTrails hiking-trail data by location: name, description, photos, ratings, reviews, difficulty, length, elevation, route type, parking, coordinates.

$0.90 per 1,000 records, once live runs open

You pay only for the records you get. Zero records cost zero.

See the sample
Ready-made, maintained by usSamples onlyPlaces, 26 fieldsv1.0

Data from alltrails.com

Get this data

Download the sample, or ask for live runs. Calls from your code and Google Sheets work once live runs open.

Samples only

Live runs for this API open soon.

The sample records further down show what it returns. The fields, inputs and price here are the ones live runs will use.

For developers: the API and MCPThe endpoint, code in curl, JavaScript and Python, every input, and files for your tools
Live runs for this API open soon.
Until then this call answers 503 backend_unavailable and charges nothing. The examples show the call as it will work.
Endpoint
POSThttps://pullrow.dev/v1/apis/alltrails/run
  • Small runs answer in the same request; longer ones answer 202 with a run to poll.
  • fields returns only the fields you name. The examples send the ones picked on this page.
  • Idempotency-Key is optional. A retry with it is never charged twice.
  • You pay for records returned. Zero records cost zero.

Every run option, explained

Calling it needs a key
A key is free to create. No card.
curl
curl -X POST "https://pullrow.dev/v1/apis/alltrails/run" \
  -H "Authorization: Bearer $PULLROW_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{"input":{"location":"Yosemite National Park"},"max_items":50}'

Inputs

Send them as input in the request body. Leave one out to use its default.

locationtextrequired
REQUIRED. A national park, region, US state, city, or coordinates — e.g. "Yosemite National Park", "Colorado", "Denver, CO", or "37.7261, -119.5587".
example: Yosemite National Park
include_detailsyes/no
Also fetch each trail's detail page for parking info, full photo gallery, and highlights. Slower but richer.
default: false
detail_streamsnumber
Parallel detail fetches when "Fetch full details" is on. Higher = faster.
default: 20

What's in each record

26 fields: 23 here, 3 technical ones under Technical details.

Basics

  • Trail

    Example Clouds Rest Trail

  • Area

    Example Yosemite National Park

  • Difficulty

    Example Hard

  • Rating

    Example 4.9

  • Review count

    Example 6,320

  • Length (miles)

    Example 12.6

  • Elevation gain ft

    Elev ft.

    Example 3,116

  • Route type

    Example Out & Back

  • Description

    Example One of Yosemite's classic high-country hikes with 360° summit views…

  • Difficulty score

    Example 5

  • Length (km)

    Example 20.28

  • Elevation gain m

    Example 950

  • Parking

    Example Trailhead parking available

  • Dogs allowed

    Example No

  • Kid friendly

    Example No

Location

  • State

    Example California

  • City

    Example Yosemite Valley

  • Country

    Example United States

  • Latitude

    Example 37.82563

  • Longitude

    Example -119.47054

Pictures and media

Technical detailsField names and types for developers, and the 3 fields hidden above

Hidden by default

These 3 fields come with each record too. They are internal codes, notes about how the record was read or a copy of what was searched for, so the lists above leave them out.

  • ID id
  • Verified map ID verifiedMapId
  • Collected scrapedAt

Field names and types

The names your code reads in each record. "Filled" counts how many of the 1 sample record carry the field.

Field nameTypeShown on this page asFilled
nametextTrail1 of 1
areatextArea1 of 1
statetextState1 of 1
difficultytextDifficulty1 of 1
ratingnumberRating1 of 1
reviewCountnumberReview count1 of 1
lengthMilesnumberLength (miles)1 of 1
elevationGainFtnumberElevation gain ft1 of 1
routeTypetextRoute type1 of 1
urllinkLink1 of 1
idtextID (hidden)1 of 1
descriptiontextDescription1 of 1
imageUrlimage linkImage1 of 1
imageGallerylistImage gallery1 of 1
difficultyScorenumberDifficulty score1 of 1
lengthKmnumberLength (km)1 of 1
elevationGainMnumberElevation gain m1 of 1
citytextCity1 of 1
countrytextCountry1 of 1
latitudenumberLatitude1 of 1
longitudenumberLongitude1 of 1
parkingtextParking1 of 1
dogsAllowedyes or noDogs allowed1 of 1
kidFriendlyyes or noKid friendly1 of 1
verifiedMapIdnumberVerified map ID (hidden)1 of 1
scrapedAtdate and timeCollected (hidden)1 of 1

How it reads the site

Runs on a reader we built and maintain by hand for this site.

Sample records

Sample records
RecordTrailAreaDifficultyRatingReview countLength (miles)Elevation gain ftRoute typeDescriptionDifficulty scoreLength (km)Elevation gain mParkingDogs allowedKid friendlyStateCityCountryLatitudeLongitudeLinkImageImage gallery
1Clouds Rest TrailYosemite National ParkHard4.96,32012.63,116Out & BackOne of Yosemite's classic high-country hikes with 360° summit views…520.28950Trailhead parking availableNoNoCaliforniaYosemite ValleyUnited States37.82563-119.47054alltrails.com/trail/us/california/clouds-rest--6alltrails.com/api/alltrails/trails/10027503/profile_photohttps://…

Sample records from the example output this API publishes. Email addresses and phone numbers in them are masked. Hover over a column name to see the field name your code reads.

Reliability

Counted from real runs. Our own health checks are left out. A run succeeded when it finished and the site neither blocked it nor broke it.

Incidents and repairs

How it is kept working What a repair can't do

A ready-made API, maintained by us. It is not part of the daily check or the automatic rebuild yet.

  • You pay only for records returned. A run that returns none costs nothing.

Version history

A run uses the live version unless the request names another one with version.