---
title: "Strava route-index listing for a sport, country, and region"
method: GET
path: "/strava/routes"
tags: ["Strava"]
---

# Strava route-index listing for a sport, country, and region

`GET /strava/routes`

## Request

- Base URL: `https://api.crawlora.net/api/v1`
- URL: `https://api.crawlora.net/api/v1/strava/routes`
- Auth: API key in header `x-api-key`

Returns a page of Strava's public route recommendations for a sport, country, and region (state, or state/city). `sport` values: `hiking`, `road-biking`, `mountain-biking`, `trail-running`, `gravel-biking`. Public data, sourced from Strava's own server-rendered route pages.

## Query parameters

- `sport` 'hiking' | 'road-biking' | 'mountain-biking' | 'trail-running' | 'gravel-biking', required
- `country` string, required
- `region` string, required
- `page` integer

## Headers

- `x-api-key` string, required

## Response `200`

OK

- StravaRoutesResponseDoc
  - `code` integer
  - `data` StravaRoutesResponse
    - `country` string: Country slug that was requested, such as `usa`.
    - `fetched_at` string: Time the data was fetched, in UTC (RFC 3339).
    - `page` integer: Page number returned, starting at 1.
    - `region` string: Region slug that was requested, such as `colorado`.
    - `routes` StravaRouteCard[]: Routes listed on this page.
      - `description` string: Short description of the route.
      - `difficulty` string: Difficulty label Strava shows for the route, such as `Easy`.
      - `distance_raw` string: Route distance as Strava displays it, with its unit, such as `1.46 mi`.
      - `elevation_gain_raw` string: Elevation gain as Strava displays it, with its unit, such as `345 ft`.
      - `image_url` string: URL of the route's image.
      - `name` string: Name of the route as Strava shows it.
      - `path` string: Route path on Strava. Pass it to the route detail endpoint.
      - `rank` integer: Position of the route in the listing.
      - `url` string: URL of the route page on Strava.
    - `source_url` string: URL the data was read from.
    - `sport` string: Sport the routes are for, such as `hiking`.
    - `title` string: Title of the Strava route listing page.
    - `total_pages` integer: Total number of pages in the route listing.
    - `total_results` integer: Total number of routes in the listing.
  - `msg` string

## Other responses

- `400`: Bad Request
- `404`: Not Found
- `429`: Too Many Requests
- `500`: Internal Server Error
- `503`: Service Unavailable

---

[API](https://skmtc.dev/crawlora/apis/crawlora-api.md) · [All operations](https://skmtc.dev/crawlora/apis/crawlora-api/llms.txt) · [OpenAPI document](https://skmtc.dev/crawlora/apis/crawlora-api/revisions/afac9b012a27?raw)
