TrailLink Trail Scraper
Pricing
from $10.00 / 1,000 results
TrailLink Trail Scraper
Scrape trails from TrailLink.com. Get trail names, lengths, ratings, reviews, surface types, activities, GPS coordinates, and photos from 40K+ miles of trails.
Pricing
from $10.00 / 1,000 results
Rating
0.0
(0)
Developer
lulz bot
Maintained by CommunityActor stats
0
Bookmarked
2
Total users
1
Monthly active users
5 days ago
Last modified
Categories
Share
TrailLink Trail Finder Scraper
Scrape trail data from TrailLink, the Rails-to-Trails Conservancy trail database. Extract distances, surfaces, ratings, reviews, and trail descriptions for biking, hiking, and walking trails across the US.
Features
- Search for trails by city, state, or keyword
- Browse trails by state code
- Direct scraping of specific trail URLs
- Rich trail data: distance, surface type, activities, ratings, reviews
- Trail details: descriptions, categories, images
Input
| Field | Type | Default | Description |
|---|---|---|---|
mode | string | search | search to find trails, trail to scrape specific URLs |
searchQuery | string | "" | City or keyword to search (e.g. "denver"). Search mode only. |
state | string | "" | Two-letter state code (e.g. "co"). Alternative to searchQuery. |
startUrls | array | [] | Direct trail URLs to scrape. Trail mode only. |
limit | integer | 50 | Maximum number of trails to scrape |
proxyConfiguration | object | - | Optional proxy settings |
Output
Each result includes:
| Field | Description |
|---|---|
name | Trail name |
distance | Trail length (e.g. "47.8 miles") |
surface | Surface type (Asphalt, Concrete, Gravel, etc.) |
activities | Array of activities (Bike, Walking, Hiking, etc.) |
rating | Average rating (0-5 scale) |
reviews | Number of reviews |
city | City location |
state | State name |
trailType | Trail category (e.g. "Greenway/Non-RT") |
description | Full trail description |
imageUrl | Trail photo URL |
sourceUrl | Full trail URL on TrailLink |
scrapedAt | ISO timestamp |
Usage Examples
Search by state
{"mode": "search","state": "co","limit": 100}
Search by city
{"mode": "search","searchQuery": "denver","limit": 50}
Scrape specific trails
{"mode": "trail","startUrls": [{ "url": "https://www.traillink.com/trail/cherry-creek-regional-trail/" },{ "url": "https://www.traillink.com/trail/platte-river-trail/" }]}
How It Works
-
Search mode: Navigates to TrailLink listing pages (state or city). Extracts trail data from the
window.modelJavaScript data embedded in the page, then visits each trail detail page for full information. -
Trail mode: Directly visits provided trail URLs and extracts all available data from the SSR HTML.
-
Data extraction: On listing pages, parses the
window.modelJSON array for basic trail info. On detail pages, parses the HTML for facts (length, surface, category), activities, ratings, reviews, and descriptions.