Trailforks Scraper avatar

Trailforks Scraper

Pricing

from $3.00 / 1,000 results

Go to Apify Store
Trailforks Scraper

Trailforks Scraper

Scrape mountain biking trails from Trailforks - the world's largest trail database. Search by keyword or region, filter by difficulty, fetch trail details, and get popular trails with ratings, distance, and elevation data.

Pricing

from $3.00 / 1,000 results

Rating

0.0

(0)

Developer

Crawler Bros

Crawler Bros

Maintained by Community

Actor stats

0

Bookmarked

2

Total users

1

Monthly active users

6 days ago

Last modified

Share

Scrape mountain biking trails from Trailforks — the world's largest trail database with 400,000+ trails worldwide. Search by keyword, browse by region or area ID, filter by difficulty, or get the most popular trails globally. Returns trail ratings, distance, elevation, GPS coordinates, and more.

What this actor does

  • Four modes: searchTrails, trailDetails, regionTrails, popularTrails
  • Difficulty filters: white (easiest), green, blue, black, double black, pro line
  • Trail types: downhill, cross country, enduro, freeride, bikepacking, dirt jump
  • Full trail metadata: distance (km), elevation gain/loss, GPS coordinates
  • Empty fields are omitted — no null values in output

Output per trail

FieldDescription
trailIdTrailforks trail ID
titleTrail name
difficultyDifficulty level (white/green/blue/black/double_black/proline)
trailTypeTrail type (downhill/cross_country/enduro/freeride/bikepacking/dirt_jump)
ratingAverage rating (0–5)
totalRatingsNumber of ratings
distanceTrail distance in km
elevationGainElevation gain in meters
elevationLossElevation loss in meters
regionRegion/area name
countryCountry
cityNearest city
latitudeTrail start latitude
longitudeTrail start longitude
imageUrlTrail cover image
trailUrlTrailforks trail page URL
descriptionTrail description
statusTrail status
recordTypeAlways "trail"
scrapedAtISO 8601 timestamp

Input

FieldTypeDefaultDescription
modestringsearchTrailssearchTrails / trailDetails / regionTrails / popularTrails
querystringwhistlerSearch keyword (mode=searchTrails)
trailIdsarrayTrail IDs (mode=trailDetails)
regionIdintegerRegion ID (mode=regionTrails)
difficultystringFilter by difficulty
trailTypestringFilter by trail type
maxItemsinteger20Max trails to return (1–500)

Example: search Whistler trails

{
"mode": "searchTrails",
"query": "whistler",
"difficulty": "black",
"maxItems": 20
}
{
"mode": "popularTrails",
"trailType": "downhill",
"maxItems": 20
}

Frequently Asked Questions

Does this require a Trailforks API key? No. This scraper uses Trailforks' public API without requiring authentication.

What difficulty levels are supported? white (easiest), green, blue, black, double_black, proline.

How do I find a region ID? Navigate to a region on Trailforks.com and look at the URL — the numeric ID is in the path.

Can I filter by trail type? Yes, use the trailType field: downhill, cross_country, enduro, freeride, bikepacking, dirt_jump.