TrainingPeaks
TrainingPeaks is an endurance-athlete training platform for cyclists, runners, triathletes, and their coaches - used to plan structured workouts, track completed activities, analyze fitness with TSS/CTL/ATL and power/heart-rate/pace zones, log metrics, and manage coach-athlete relationships. The TrainingPeaks Partners API (Public API) is an OAuth 2.0, JSON/HTTPS REST API at api.trainingpeaks.com (sandbox at api.sandbox.trainingpeaks.com) that lets approved third parties read and write athlete profiles, planned and completed workouts, structured workout files, metrics, nutrition, events, routes, and coach data on behalf of a user. API access is partner-gated - developers must apply for credentials and are not accepting requests for personal use - but the API surface is publicly documented on the PartnersAPI GitHub wiki.
APIs
TrainingPeaks Athlete API
Retrieve the authenticated athlete's profile (athlete:profile scope) and their (deprecated) heart-rate, power, and speed training zones. The profile identifies the athlete and w...
TrainingPeaks Workouts API
Read planned and completed workouts by date range, create and update planned workouts (workouts:plan), fetch a workout by id, delete workouts, and poll for changes since a date....
TrainingPeaks Workout Details API
Premium-only analytics for completed workouts - sample-level details (workouts:details), mean-max power/pace/HR curves (meanmaxes), and time-in-zones breakdowns. Also posts a co...
TrainingPeaks Workout of the Day API
Retrieve the athlete's Workout of the Day (upcoming planned workouts for a date) and download the structured workout file for a planned workout in fit, erg, mrc, zwo, or json fo...
TrainingPeaks Metrics API
Read and write athlete wellness/body metrics (weight, HRV, resting heart rate, sleep, and more) by metric id, by date range, or per athlete id for coaches, and create new metric...
TrainingPeaks Nutrition API
Get, create, update, and delete an athlete's nutrition log entries (nutrition:read and nutrition:write). Nutrition reads by date range are a premium-athlete restricted endpoint.
TrainingPeaks Coach API
For coach-authorized tokens (coach:athletes scope) - list the coach's athletes, read the coach profile, manage assistant coaches and their athlete rosters, and read athletes' tr...
TrainingPeaks File Upload API
Upload a completed device/activity file (.FIT, .TCX, or .PWX) to an athlete's account via the asynchronous POST v3/file endpoint (file:write). Synchronous upload was deprecated ...
TrainingPeaks Events and Routes API
Read the athlete's next event and events by date, create new events (events:read and events:write), and read or create GPS routes for an athlete (routes:read and routes:write) t...
TrainingPeaks Webhooks API
Early Access CRUD for webhook subscriptions (webhook:read-subscriptions and webhook:write-subscriptions). Subscribe to workout-created, workout-updated, and workout-deleted even...