ZeqMacros
Macro and micronutrient analysis. Harris-Benedict/Mifflin-St Jeor BMR, TDEE calculation, nutrient density scoring with R(t) metabolic rate variation.
| Endpoint | POST /api/nutrition/macros |
| Auth | api-key |
| Rate limit | 30/min |
| Category | nutrition |
Parameters
| Name | Type | Required | Description |
|---|---|---|---|
foods | array | Yes | [{ name, quantity_g }] |
Returns
{ calories, protein_g, carbs_g, fat_g, fiber_g, micronutrients, nutrientDensityScore, zeqond }
Example
curl -sS -X POST \
-H "Authorization: Bearer zsm_..." \
-H "Content-Type: application/json" \
-d '{
"foods": []
}' \
"https://zeqsdk.com/api/nutrition/macros"
This protocol is a named building block — one of the operations you
compose inside a state contract. Call it directly with
the request above, or invoke it from a contract that fires on your machine's
clock. Browse the whole library at GET /api/protocols; fetch this one at
GET /api/protocols/zeq-macros.