Skip to content

GET /api/mcp/best-efforts

GET /api/mcp/best-efforts
Authorization: Bearer <api-key>

Returns all-time best mean-maximal power (MMP) records, rolled up across all matching activities. For each standard duration, the response contains the highest power ever recorded in any activity within the date range.

See Best Efforts (MMP) for methodology.

ParameterTypeRequiredDescription
fromstringNoOnly consider activities on or after this date
tostringNoOnly consider activities on or before this date

HTTP 200

{
"best_efforts": {
"5": 520,
"10": 480,
"30": 420,
"60": 390,
"300": 318,
"600": 295,
"1200": 268,
"1800": 252,
"3600": 238
}
}

Keys are duration in seconds (as strings); values are best average power in watts.

A duration key is omitted if no activity in the date range has data for that duration.

Terminal window
# All-time bests
curl "https://mydatafor.life/api/mcp/best-efforts" \
-H "Authorization: Bearer $FITREPO_API_KEY"
# Bests in the last 90 days
curl "https://mydatafor.life/api/mcp/best-efforts?from=2025-01-01&to=2025-03-31" \
-H "Authorization: Bearer $FITREPO_API_KEY"