All year summaries
curl --request GET \
--url https://api.rewind.rest/v1/running/stats/years \
--header 'Authorization: Bearer <token>'const options = {method: 'GET', headers: {Authorization: 'Bearer <token>'}};
fetch('https://api.rewind.rest/v1/running/stats/years', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));import requests
url = "https://api.rewind.rest/v1/running/stats/years"
headers = {"Authorization": "Bearer <token>"}
response = requests.get(url, headers=headers)
print(response.text){
"data": [
{
"year": 2025,
"total_runs": 120,
"total_distance_mi": 540.2,
"total_elevation_ft": 18500,
"total_duration_s": 257400,
"avg_pace": "7:55/mi",
"longest_run_mi": 13.1,
"race_count": 3
},
{
"year": 2024,
"total_runs": 105,
"total_distance_mi": 470.8,
"total_elevation_ft": 15200,
"total_duration_s": 231600,
"avg_pace": "8:10/mi",
"longest_run_mi": 10.5,
"race_count": 2
}
]
}{
"error": "Not found",
"status": 404
}Running
All year summaries
Returns running summaries for all years.
GET
/
v1
/
running
/
stats
/
years
All year summaries
curl --request GET \
--url https://api.rewind.rest/v1/running/stats/years \
--header 'Authorization: Bearer <token>'const options = {method: 'GET', headers: {Authorization: 'Bearer <token>'}};
fetch('https://api.rewind.rest/v1/running/stats/years', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));import requests
url = "https://api.rewind.rest/v1/running/stats/years"
headers = {"Authorization": "Bearer <token>"}
response = requests.get(url, headers=headers)
print(response.text){
"data": [
{
"year": 2025,
"total_runs": 120,
"total_distance_mi": 540.2,
"total_elevation_ft": 18500,
"total_duration_s": 257400,
"avg_pace": "7:55/mi",
"longest_run_mi": 13.1,
"race_count": 3
},
{
"year": 2024,
"total_runs": 105,
"total_distance_mi": 470.8,
"total_elevation_ft": 15200,
"total_duration_s": 231600,
"avg_pace": "8:10/mi",
"longest_run_mi": 10.5,
"race_count": 2
}
]
}{
"error": "Not found",
"status": 404
}⌘I