get_hr_curves
Retrieve an athlete's highest average heart rate per duration across one or more periods, returning bpm per curve and the activity that set it for period comparisons.
Instructions
Use for the highest average heart rate an athlete sustained per duration over one or more periods (e.g. comparing periods; with get_pace_curves the same pace at a lower HR).
Returns bpm per duration for each curve (default the last 90 days) with the activity that set it; durations without data are listed as not available. Read-only, one API call. Power: get_athlete_power_curves. Method: intervals://methods/comparisons (get_guide).
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| curves | No | Curve ids as a JSON array of strings, e.g. ["90d", "1y"], "s0" this season, "s1" last season, "r.2026-01-01.2026-03-01" a range; default ["90d"] | |
| 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. [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 | |
| activity_type | No | Activity type of the curves, e.g. Run, Ride, Swim | Run |