Get nutrition summary

Total and average calories, protein, fat and carbs for a date range, with the gap to your goal.

GET https://cotlet.dev/api/v1/fitatu/nutrition-summary

read

Returns the same balance the Summary view shows: total and average calorie intake and macros over the period, and the difference to your calorie goal. Free Fitatu accounts can read 1 to 7 days. Premium and Premium+AI accounts can read any period. Totals can be underestimated when manufacturers give incomplete data.

Parameters

Parameters: get_nutrition_summary
NameTypeDescription
from date required date First day, YYYY-MM-DD.
to date required date Last day, YYYY-MM-DD.

Request

cURL
curl "https://cotlet.dev/api/v1/fitatu/nutrition-summary?from=2026-10-06&to=2026-10-12" \
  -H "Authorization: Bearer $COTLET_API_KEY"
Python
result = client.call("fitatu", "get_nutrition_summary", {"from":"2026-10-06","to":"2026-10-12"})
Node.js
const result = await cotlet.call('fitatu', 'get_nutrition_summary', {"from":"2026-10-06","to":"2026-10-12"});
CLI
cotlet call fitatu get_nutrition_summary --data '{"from":"2026-10-06","to":"2026-10-12"}'

Example response

JSON

{
  "from": "2026-10-06",
  "to": "2026-10-12",
  "days": 7,
  "total_kcal": 14420,
  "average_kcal": 2060,
  "goal_kcal": 2150,
  "vs_goal_kcal": -630,
  "protein_g": 880,
  "fat_g": 484,
  "carbs_g": 1636
}

Sign in once. Your agent does the rest.

Sign up and add the apps you need. Free 7-day trial with 2,000 credits, no card needed.