# AllTrails Scraper - Denver Trails

**Use case:** 

Scrape hiking trails near Denver from AllTrails with name, difficulty, length, elevation gain, rating, reviews, and route details. Export to JSON or CSV.

## Input

```json
{
  "maxItems": 5,
  "searchType": "region",
  "region": "denver",
  "state": "colorado",
  "city": "Denver, CO",
  "searchRadius": 50,
  "difficultyFilter": [],
  "minRating": 0,
  "minReviews": 0,
  "activityFilter": [],
  "routeTypeFilter": [],
  "featuresFilter": [],
  "visitorUsageFilter": [],
  "descriptionLanguage": "en"
}
```

## Output

```json
{
  "profilePhotoUrl": {
    "label": "Photo",
    "format": "image"
  },
  "name": {
    "label": "Trail Name",
    "format": "text"
  },
  "trailUrl": {
    "label": "Trail URL",
    "format": "link"
  },
  "description": {
    "label": "Description",
    "format": "text"
  },
  "difficulty": {
    "label": "Difficulty",
    "format": "text"
  },
  "avgRating": {
    "label": "Rating",
    "format": "number"
  },
  "numReviews": {
    "label": "Reviews",
    "format": "number"
  },
  "lengthMiles": {
    "label": "Miles",
    "format": "number"
  },
  "elevationGainFt": {
    "label": "Elevation (ft)",
    "format": "number"
  },
  "routeType": {
    "label": "Route Type",
    "format": "text"
  },
  "durationMinutes": {
    "label": "Duration (min)",
    "format": "number"
  },
  "areaName": {
    "label": "Park/Area",
    "format": "text"
  },
  "cityName": {
    "label": "City",
    "format": "text"
  },
  "stateName": {
    "label": "State",
    "format": "text"
  },
  "countryName": {
    "label": "Country",
    "format": "text"
  },
  "latitude": {
    "label": "Latitude",
    "format": "number"
  },
  "longitude": {
    "label": "Longitude",
    "format": "number"
  },
  "features": {
    "label": "Features",
    "format": "array"
  },
  "activities": {
    "label": "Activities",
    "format": "array"
  },
  "dogFriendly": {
    "label": "Dog Friendly",
    "format": "boolean"
  },
  "kidFriendly": {
    "label": "Kid Friendly",
    "format": "boolean"
  },
  "popularity": {
    "label": "Popularity",
    "format": "number"
  },
  "isClosed": {
    "label": "Closed",
    "format": "boolean"
  },
  "scrapedAt": {
    "label": "Scraped At",
    "format": "text"
  },
  "error": {
    "label": "Error",
    "format": "text"
  }
}
```

## About this Actor

This example demonstrates how to use [AllTrails Scraper](https://apify.com/parseforge/alltrails-scraper) with a specific input configuration. Visit the [Actor detail page](https://apify.com/parseforge/alltrails-scraper) to learn more, explore other use cases, and run it yourself.