Trailforks Scraper
Pricing
from $3.00 / 1,000 results
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
Maintained by CommunityActor stats
0
Bookmarked
2
Total users
1
Monthly active users
6 days ago
Last modified
Categories
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
| Field | Description |
|---|---|
trailId | Trailforks trail ID |
title | Trail name |
difficulty | Difficulty level (white/green/blue/black/double_black/proline) |
trailType | Trail type (downhill/cross_country/enduro/freeride/bikepacking/dirt_jump) |
rating | Average rating (0–5) |
totalRatings | Number of ratings |
distance | Trail distance in km |
elevationGain | Elevation gain in meters |
elevationLoss | Elevation loss in meters |
region | Region/area name |
country | Country |
city | Nearest city |
latitude | Trail start latitude |
longitude | Trail start longitude |
imageUrl | Trail cover image |
trailUrl | Trailforks trail page URL |
description | Trail description |
status | Trail status |
recordType | Always "trail" |
scrapedAt | ISO 8601 timestamp |
Input
| Field | Type | Default | Description |
|---|---|---|---|
mode | string | searchTrails | searchTrails / trailDetails / regionTrails / popularTrails |
query | string | whistler | Search keyword (mode=searchTrails) |
trailIds | array | — | Trail IDs (mode=trailDetails) |
regionId | integer | — | Region ID (mode=regionTrails) |
difficulty | string | — | Filter by difficulty |
trailType | string | — | Filter by trail type |
maxItems | integer | 20 | Max trails to return (1–500) |
Example: search Whistler trails
{"mode": "searchTrails","query": "whistler","difficulty": "black","maxItems": 20}
Example: popular downhill trails
{"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.