Athlete Get Nutrition - TrainingPeaks/PartnersAPI GitHub Wiki
Endpoint:
- /v1/athletes/{athleteId}/nutrition
- HTTP Method: GET
- Required Scope: nutrition:read
- Input:
- Athlete Id. Required.
- Query String parameters:
- Start date in local time.
- Note: Start date cannot be more than 10 years in the past, any date before this will return an error
- End date in local time.
- pageSize: (int) number of results to return per request. Max 100.
- page: (int) zero based index for paging.
- Start date in local time.
Example:
Testing:
https://api.sandbox.trainingpeaks.com/v1/athletes/123456/nutrition?startDate=2025-09-01&endDate=2025-12-01&pageSize=100&page=0
Production:
https://api.trainingpeaks.com/v1/athletes/123456/nutrition?startDate=2025-09-01&endDate=2025-12-01&pageSize=100&page=0
Response
Returns: An athlete’s nutrition card summary
{
"NutritionId": 111,
"AthleteId": 123456,
"NutritionDate": "2025-10-01T00:00:00",
"Calories": 2200.0,
"Carbohydrates": 105.15,
"Fat": 22.5,
"Protein": 75.0
}
Note: This endpoint requires Premium features. (Athletes with trial subscription to premium features are excluded.)