get_pace_curves
Retrieve an athlete's best times and pace per distance over one or more periods, enabling PBs, period comparisons, and progress tracking for running or swimming.
Instructions
Use for an athlete's best times per distance over one or more periods: PBs, comparing periods, progress in running or swimming.
Returns the best time and pace (min/km; min/100 m for Swim and OpenWaterSwim) per distance for each curve (default the last 90 days) with the activity that set it; optionally gradient-adjusted pace. Distances not on the curve are listed as not available. Read-only, one API call. HR side: get_hr_curves. Method: intervals://methods/comparisons (get_guide).
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| gap | No | Gradient-adjusted pace (GAP) instead of raw pace | |
| 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 | |
| distances | No | Distances in metres as a JSON array of numbers, e.g. [1000, 5000, 21097.5]; default 400 m to marathon, swims 50-400 m | |
| 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, TrailRun, Swim | Run |