get_athlete_power_curves
Compare an athlete's best power by duration across this season, last season, or custom date ranges, returning watts and W/kg with the activity that set each mark.
Instructions
Use for an athlete's best power per duration over whole periods: season bests, progress between seasons or date ranges.
Returns watts and W/kg per duration for this season, last season and/or a custom range, each with the activity that set it. Defaults: Ride, 5 s to 60 min, both seasons; durations that are not curve points are left out. Read-only, one API call. One activity: get_best_efforts; HR and pace: get_hr_curves, get_pace_curves. Method: intervals://methods/comparisons (get_guide).
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| end_date | No | Last day YYYY-MM-DD of the custom-range curve, after start_date | |
| durations | No | Durations in seconds as a JSON array of integers, e.g. [5, 60, 300, 1200]; default 5 s to 60 min | |
| athlete_id | No | Default: the configured athlete | |
| start_date | No | First day YYYY-MM-DD of an extra custom-range curve; needs end_date | |
| last_season | No | Include last season's curve (s1) | |
| this_season | No | Include this season's curve (s0) | |
| activity_type | No | Activity type of the curves, e.g. Ride, VirtualRide, Run | Ride |
| indoor_outdoor | No | Only indoor or outdoor activities; omit for both | |
| include_normalised | No | Include W/kg values |