AllTrails Scraper avatar

AllTrails Scraper

Pricing

from $8.00 / 1,000 trails

Go to Apify Store
AllTrails Scraper

AllTrails Scraper

Scrape AllTrails.com trails from a trail link or a state, city, or park page. Each row has the name, place, difficulty, length, elevation, duration, rating, reviews, features, and the trail link. A location page returns the trails listed there. One trail is its own row. JSON or CSV out.

Pricing

from $8.00 / 1,000 trails

Rating

0.0

(0)

Developer

Muhamed Didovic

Muhamed Didovic

Maintained by Community

Actor stats

0

Bookmarked

2

Total users

1

Monthly active users

9 days ago

Last modified

Categories

Features

Limited permissions

Share

Get public AllTrails trails: name, place, difficulty, length, elevation, duration, rating, and the trail link. Paste one trail, or a state, city, or park page.

How it works

How the AllTrails scraper works

Paste a trail link, or a page such as California or a national park. You get one row per trail, ready to export as JSON or CSV.

✨ Why use this scraper?

  • Trail name, city, region, country, and the park it sits in
  • Difficulty in words and as a number, plus the route type
  • Length and elevation gain in meters, and the printed duration
  • Rating, review count, photo count, and how many people marked it complete
  • Activities and features, such as hiking, waterfalls, or dogs on leash
  • Overview, description, parking note, and a link back to the trail

🎯 Use cases

WhoWhat they do with it
Trip plannersBuild a short list of trails around a park
Content sitesFill trail guides with length, difficulty, and rating
Outdoor appsOffer a trail card next to a map pin
ResearchersCompare popularity and review volume across a region

📥 Supported inputs

InputExampleWhat you get
Trail URLhttps://www.alltrails.com/trail/us/california/lands-end-trailThat trail
State pagehttps://www.alltrails.com/us/californiaThe trails linked on that page
Park pagehttps://www.alltrails.com/parks/us/california/yosemite-national-parkThe trails linked on that page

A location page returns the trails printed on that page, up to maxItems. It does not walk every trail in the state. The row does not include a GPS track file or the day-by-day condition calendar. Saved routes behind an AllTrails account are out of scope.

🔄 How it works

  1. Paste trail links, or a state, city, or park link.
  2. Set a maximum number of trails.
  3. Run the actor.
  4. Each trail is saved as its own row.
  5. Export the dataset as JSON, CSV, or Excel.

⚙️ Input parameters

FieldTypeDefaultWhat it does
startUrlsstring listLands End TrailTrail links, or state, city, and park links.
maxItemsinteger20Hard cap on trail rows.
maxConcurrencyinteger3How many trail pages open at the same time. Lower it if runs slow down or fail.

📊 Output overview

One row is one trail. Length and elevation are meters. difficulty is the site's number (1 easy, 3 moderate, 5 hard, 7 strenuous) and difficultyName is the label on the page. seasonStart and seasonEnd are month numbers, 1 for January through 12 for December. durationText is empty when the page does not print a time.

📦 Output sample

This row is from a California page, the Mist Trail in Yosemite.

{
"url": "https://www.alltrails.com/trail/us/california/vernal-and-nevada-falls-via-the-mist-trail",
"name": "Vernal and Nevada Falls via Mist Trail",
"trailId": 10026910,
"city": "Yosemite Valley",
"regionName": "California",
"countryName": "United States",
"latitude": 37.73282,
"longitude": -119.55778,
"difficulty": 5,
"difficultyName": "Hard",
"routeType": "Loop",
"lengthMeters": 10944,
"elevationGainMeters": 631,
"durationMinutes": 248,
"durationText": "4 h 8 min",
"rating": 4.9,
"reviewCount": 27894,
"photoCount": 89440,
"areaName": "Yosemite National Park",
"activities": ["Hiking", "Trail running"],
"features": ["No dogs", "Forests", "Rivers", "Waterfalls"]
}

🗂 Key output fields

FieldMeaning
name, url, trailIdTrail name, its public link, and the id on that link
city, regionName, countryNameWhere the trail is
latitude, longitudeThe point shown for the trail
difficulty, difficultyNameNumber and the label, such as Hard
routeTypeLoop, Out & Back, or Point to Point
lengthMeters, elevationGainMetersLength and climbing, in meters
durationText, durationMinutesTime as printed, and the same time in minutes
rating, reviewCountAverage score and how many reviews it comes from
areaName, areaUrlPark or area, when the page names one
activities, featuresWhat the page lists, such as hiking or waterfalls
overview, descriptionThe short blurb and the longer write-up
gettingThere, parkingDirections and the parking note
photoUrlOne photo from the page

❓ FAQ

Does a state page return every trail in that state? No. It returns the trail links printed on that page, and then stops at maxItems. Paste park or trail links when you want a specific set.

Are length and elevation in miles? No. Both are meters. 10944 meters is the 10.9 km the Mist Trail page shows.

Do I get the GPS line or live trail conditions? No. The row has the summary on the trail page: length, elevation, difficulty, rating, features, and the description. It does not include the track file or the condition calendar.

Can I scrape saved lists from an account? No. This actor reads public trail and location pages only.

Why is duration empty on some rows? The page did not print a time. Half Dome via the John Muir Trail came back with length and elevation, and an empty duration.

💬 Support

Open an issue on the actor page and include the trail link plus the run ID: https://console.apify.com/actors/Dw1fye5CmceDnfWpX#/issues

🛠 Additional services

Need a fixed list of parks on a schedule, or the same trails joined to weather? Say what the export should look like.

🔎 Explore more scrapers

🤖 For AI Agents & LLM Apps

Purpose: one public AllTrails trail per row, from a trail link or a state, city, or park page.

Minimal input:

{ "startUrls": ["https://www.alltrails.com/us/california"], "maxItems": 5 }

Flat fields: name, url, city, regionName, countryName, latitude, longitude, difficulty, difficultyName, routeType, lengthMeters, elevationGainMeters, durationText, durationMinutes, rating, reviewCount, areaName, activities, features, overview.

A location page returns only the trails linked on that page. Length is meters. No GPS track and no condition calendar. No login.


⚠️ Disclaimer

This Actor is an independent tool and is not affiliated with, endorsed by, or sponsored by AllTrails, LLC or any of its subsidiaries or affiliates. All trademarks mentioned are the property of their respective owners.

The scraper accesses only publicly available trail and location pages. No login, no saved lists, and no content behind an AllTrails account. Users are responsible for ensuring their use complies with AllTrails' Terms of Service, applicable data-protection law (GDPR, CCPA, and others), and any contractual obligations of their own organisation.


SEO Keywords

AllTrails scraper, scrape AllTrails, AllTrails API, Apify AllTrails, AllTrails trails, hiking trail data, trail length and elevation, trail difficulty scraper, national park trails, Yosemite trails, trail rating and reviews, hiking guide data, outdoor content automation, trail features and activities, state park trail list, city trail scraper, loop and out-and-back trails, hiking trip planner data, trail description export, public trail pages