AllTrails Scraper - Hiking Trail Data avatar

AllTrails Scraper - Hiking Trail Data

Pricing

from $4.00 / 1,000 alltrails scraper - hiking trail data

Go to Apify Store
AllTrails Scraper - Hiking Trail Data

AllTrails Scraper - Hiking Trail Data

Collect AllTrails trail data. Get records with location, difficulty, distance, elevation, ratings, route type, activities, features and GPS. Run with a location, keyword or AllTrails URL; no login. Pricing: $0.004 per saved result on Free plan.

Pricing

from $4.00 / 1,000 alltrails scraper - hiking trail data

Rating

0.0

(0)

Developer

Vitalii Bondarev

Vitalii Bondarev

Maintained by Community

Actor stats

0

Bookmarked

1

Total users

1

Monthly active users

4 days ago

Last modified

Features

Limited permissions

Share

AllTrails Trail Scraper

Extract hiking, running and biking trail data from AllTrails by park, state, city, map bounding box, keyword or AllTrails URL, with one flat dataset row per trail. The Free plan charges $0.004 per saved result and $0.00005 per apify-actor-start event.

  • Build trail directories for parks, states, cities and regions.
  • Compare difficulty, distance, elevation, ratings, reviews and route types.
  • Map trailheads with latitude and longitude, plus activity and feature filters.
  • Download descriptions and optional trail-page details.
  • Run without an AllTrails login or API key.

What you get

Field familyFieldsTypeDescription
IdentitytrailId, name, urltrailId: integer; others: stringTrail ID, name and page URL
AreaareaName, areaPage, city, state, countrystring or nullPark/area, location and country
Positionlatitude, longitudenumber or nullTrailhead GPS coordinates
DistancelengthKm, lengthMilesnumber or nullLength in kilometres and miles
ElevationelevationGainM, elevationGainFt, highestPointMnumber or nullElevation gain and highest point
Difficultydifficulty, difficultyRatingstring/integer or nullDifficulty label and rating
RouterouteTypestring or nullLoop, Out & Back or Point to Point
RatingsavgRating, reviewCount, textReviewCountnumber/integer or nullAverage rating and review counts
Activity datarecordingCount, photoCount, popularity, visitorUsagenumber/integer or nullRecordings, photos, popularity and traffic
TimeestimatedTime, durationMinutesstring/integer or nullEstimated completion time
Tagsactivities, featuresarray of stringsActivity and feature arrays
Listing contentdescription, photoUrlstring or nullDescription excerpt and main photo URL
StatusisClosed, isPrivatePropertyboolean or nullClosed and private-property indicators
Run metadatascrapedAtISO 8601 stringUTC scrape timestamp
Optional detailsoverview, completedCount, trackCount, obstaclesstring/integer/array or nullOverview, counts, obstacles and fees
Optional conditionsseasonStartMonth, seasonEndMonth, lowCellService, createdAtinteger/boolean/string or nullBest-season months, cell service and creation date

A field is null when the source does not provide it. Optional detail fields are returned when Include trail page details is enabled; that mode opens each trail page and is slower.

Sample output

This shortened sample keeps one real dataset record and omits nonessential fields.

{
"trailId": 10006571,
"name": "Angels Landing Trail",
"url": "https://www.alltrails.com/trail/us/utah/angels-landing-trail",
"areaName": "Zion National Park",
"city": "Springdale",
"state": "Utah",
"country": "United States",
"latitude": 37.2591,
"longitude": -112.95122,
"lengthKm": 7.72,
"elevationGainM": 517.9,
"difficulty": "strenuous",
"routeType": "Out & Back",
"avgRating": 4.9,
"reviewCount": 42218,
"activities": ["hiking"],
"features": ["river", "views", "wild-flowers", "wildlife", "dogs-no", "partially-paved"],
"scrapedAt": "2026-10-16T06:13:46.652723+00:00"
}

Pricing

The Actor uses pay-per-event billing on the Free plan:

  • apify-default-dataset-item: $0.004 per saved dataset result on the Free plan. One result is one scraped trail with all fields.
  • apify-actor-start: $0.00005 per event on the Free plan. It is charged once per GB of run memory, minimum one event.
  • On the Free plan, 1,000 results = 1,000 × $0.004 = $4.00, plus the start event.
  • On the Free plan, 1,249 results = 1,249 × $0.004 = $4.996, plus the start event.
  • On the Free plan, 10,000 results = 10,000 × $0.004 = $40.00, plus the start event.

You pay only for the events listed above. This Actor does not use the Pay per event + usage option, so compute, proxy traffic and storage are not billed separately. The Apify Free plan includes $5 of monthly platform usage credit.

How to use

  1. Choose a search mode: park, state or region, city, coordinates or keyword.
  2. Enter the matching location or keyword, or provide optional AllTrails Start URLs.
  3. Add difficulty, rating, review, route, activity, feature, traffic, length, elevation or closed-status filters.
  4. Set maxResults, language and optional trail-page details.
  5. Start the Actor and read the flat trail rows from the dataset.
  6. Repeat the run through Apify Schedules; weekly is a starting point for a trail-data collection job.
{
"searchType": "park",
"park": "Zion National Park",
"difficulty": ["moderate", "hard"],
"minRating": 4.5,
"maxResults": 50,
"language": "en-US",
"includeDetails": false
}

Export the dataset as JSON or CSV, or read it through the Apify dataset API.

Input parameters

ParameterWhat it doesDefault
searchTypeSelects park, state, city, coordinates or keyword; ignored when startUrls is setpark
parkSearches for a park or protected-area nameNot set
stateSearches for a state or regionNot set
citySearches for a city; use cityState for same-named citiesNot set
cityStateOptional city state or regionNot set
north, south, east, westMap bounding box for coordinatesNot set
keywordFree-text search for keyword modeNot set
startUrlsAllTrails trail, park, city, state or explore-map URLs; overrides searchTypeNot set
maxResultsMaximum trails to save; maximum 100000050
difficultyKeeps easy, moderate, hard or strenuousNot set
minRatingMinimum average rating from 0 to 5Not set
minReviewsMinimum review countNot set
routeTypeKeeps loop, out-and-back or point-to-pointNot set
activitiesKeeps trails with at least one selected activityNot set
featuresKeeps trails containing all selected featuresNot set
visitorUsageTraffic levels 1 through 4; 1 is lightest and 4 busiestNot set
minLengthKm, maxLengthKmTrail-length range in kilometresNot set
minElevationGainM, maxElevationGainMElevation-gain range in metresNot set
includeClosedAlso returns trails marked closed when truefalse
languageSelects the search languageen-US
includeDetailsOpens trail pages for overview, counts, obstacles, season and cell-service fieldsfalse
proxyConfigurationOptional proxy; search works without one and Apify Proxy can help when fetching trail pages at volumeApify Proxy residential configuration

Supported language values include en-US, en-GB, de-DE, fr-FR, es-ES, es-MX, it-IT, nl-NL, nb-NO, pl-PL, pt-BR, pt-PT, sv-SE and da-DK.

Limits and edge cases

ConditionWhat you seeWhat to do
A park, state or city name does not resolve as an AllTrails locationThe search can return no trailsCheck the spelling and use AllTrails’ name
Filters are too restrictiveAn empty or smaller-than-expected datasetLoosen rating, review, feature, activity or location filters
features contains multiple valuesA trail must contain every selected featureRemove a feature or use fewer requirements
Multiple activities, difficulty levels, route types or traffic levels are selectedA trail can match any selected value in those groupsSelect the values that should be accepted
includeDetails is enabledTrail-page fields are requested and the run is slowerLeave it disabled when listing fields are sufficient
A location has more trails than one search query holds (the search index returns at most 1,000 hits per query)Only when a location has more than 1,000 trails, the area is divided into trail-length slices; large runs are ordered shorter to longerSet maxResults or use length filters
A Start URL is suppliedsearchType and location fields are ignoredPut the intended AllTrails URL in startUrls
A Start URL is not a supported AllTrails trail, park, city, state or explore-map URLThat URL is skipped and a warning is loggedReplace it with a supported AllTrails URL
A trail-page fetch fails while includeDetails is enabledThe trail row is still saved; its optional detail fields are nullRun again or use the listing fields
A direct trail URL is suppliedThe run targets that trail instead of general search filtersUse a park, city, state, map or keyword search for a collection

FAQ

How much does it cost to scrape AllTrails trails?

On the Free plan, apify-default-dataset-item costs $0.004 per saved result and apify-actor-start costs $0.00005 per event. 1,249 results on the Free plan = $4.996, plus the start event. The Apify Free plan includes $5 of monthly platform usage credit.

What does an empty result mean?

The location may not have resolved, its spelling may not match AllTrails, or filters may have removed every trail. Check the spelling and loosen the filters.

Do I need an AllTrails login or API key?

No. The documented input does not require an AllTrails login or an API key. Proxy configuration is optional; Apify Proxy can help when fetching trail pages at volume.

The Actor collects public data served by alltrails.com, including public trail-search data and trail widget pages. Whether a collection or use is legal or allowed depends on the source terms and applicable law for your use case; review those requirements before using the data.

⌂ 换网址