curl --request GET \
--url https://api.rewind.rest/v1/running/races \
--header 'Authorization: Bearer <token>'{
"data": [
{
"id": 12345,
"strava_id": 12345,
"name": "Portland Marathon",
"date": "2024-10-06",
"distance_mi": 26.2,
"duration": "3:45:00",
"duration_s": 13500,
"pace": "8:35/mi",
"elevation_ft": 450,
"heartrate_avg": 165,
"heartrate_max": 182,
"cadence": 78.5,
"calories": 2800,
"suffer_score": 250,
"city": "Portland",
"state": "OR",
"polyline": null,
"is_race": true,
"workout_type": "race",
"strava_url": "https://www.strava.com/activities/12345"
}
]
}Returns all race activities, optionally filtered by distance category.
curl --request GET \
--url https://api.rewind.rest/v1/running/races \
--header 'Authorization: Bearer <token>'{
"data": [
{
"id": 12345,
"strava_id": 12345,
"name": "Portland Marathon",
"date": "2024-10-06",
"distance_mi": 26.2,
"duration": "3:45:00",
"duration_s": 13500,
"pace": "8:35/mi",
"elevation_ft": 450,
"heartrate_avg": 165,
"heartrate_max": 182,
"cadence": 78.5,
"calories": 2800,
"suffer_score": 250,
"city": "Portland",
"state": "OR",
"polyline": null,
"is_race": true,
"workout_type": "race",
"strava_url": "https://www.strava.com/activities/12345"
}
]
}Documentation Index
Fetch the complete documentation index at: https://docs.rewind.rest/llms.txt
Use this file to discover all available pages before exploring further.