Macronutrient Calculator
Split a daily calorie target into grams and calories of protein, carbs and fat using a diet preset (balanced, high-protein, keto, endurance or zone) or a custom macro ratio, with an optional per-meal breakdown.
Authorizations
Bearer authentication header of the form Bearer <token>, where <token> is your auth token.
Body
Daily calorie goal
800 <= x <= 8000Diet preset
balanced, highProtein, keto, endurance, zone, custom Protein %
0 <= x <= 100Carbs %
0 <= x <= 100Fat %
0 <= x <= 100Meals per day
1 <= x <= 8Response
Tool output
The tool's slug, echoing the {slug} in the request path.
Output-contract version for this tool.
Credits this call consumed, after any settlement refund. 0 when metering is disabled.
Credits left in the current monthly allowance, or null when metering is disabled.
Correlation id, also sent as x-request-id.