GET /api/mcp/best-efforts
GET /api/mcp/best-effortsAuthorization: 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.
Query parameters
Section titled “Query parameters”| Parameter | Type | Required | Description |
|---|---|---|---|
from | string | No | Only consider activities on or after this date |
to | string | No | Only consider activities on or before this date |
Response
Section titled “Response”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.
Example
Section titled “Example”# All-time bestscurl "https://mydatafor.life/api/mcp/best-efforts" \ -H "Authorization: Bearer $FITREPO_API_KEY"
# Bests in the last 90 dayscurl "https://mydatafor.life/api/mcp/best-efforts?from=2025-01-01&to=2025-03-31" \ -H "Authorization: Bearer $FITREPO_API_KEY"