One-athlete sports nutrition plan
POST /sports/plan · API key required
Runs every calculator the body has inputs for and returns each as its own section, exactly as its own endpoint would. The macro section uses the energy section total unless energy_kcal is given. A bad value in one section only errors that section (see errors and not_assessed).
Request body
Content type: application/json
Responses
200- Calculation with steps, warnings and sources400- Invalid input401- Missing or invalid API key429- Rate limited