Athlete macronutrient targets (g/kg by training profile)
POST /sports/macros · API key required
Carbohydrate, protein and fat ranges in g/kg and grams, protein per meal, an optional energy split with an AMDR check (the table behind GET /dri), and an optional intake comparison.
Request body
Content type: application/json
Responses
200- Calculation with steps, warnings and sources400- Invalid input401- Missing or invalid API key429- Rate limited