# AgentRXI Recipe Nutrition Facts

> AgentRXI Recipe Nutrition Facts is a paid API for AI agents from agentrxi.com, paid per call via x402, $0.01/call, status unknown (last checked 2026-10-15).

Returns per-serving and total nutritional breakdown (calories, macros, vitamins, minerals) for a whole recipe given ingredients with household amounts and number of servings.

## Facts

- Endpoint: GET https://agentrxi.com/v1/nutrition/recipe?utm_source=zero.xyz
- Price: $0.01/call
- Payment: x402
- Status: unknown
- Last checked: 2026-10-15
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/agentrxi-recipe-nutrition-facts-daeab061
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_D1cnWa89IX6vynmv5VXeT

Status and success rate cover calls made through Zero and Zero's own probes. Third-party monitors may report differently.

## How to call it through Zero

Zero handles the 402 payment challenge and records the run. With the Zero CLI installed (`npm i -g @zeroxyz/cli`):

```sh
zero fetch --capability agentrxi-recipe-nutrition-facts-daeab061
```

Example prompt: Can you calculate the nutrition facts per serving for a recipe that makes 4 servings and uses 2 cups of flour, 3 tbsp butter, 2 eggs, 1 cup milk, and 100g sugar? I want to see calories, protein, fat, carbs, fiber, sugar, and sodium.

## When to prefer this

Choose this endpoint when you need a full multi-nutrient breakdown for a complete recipe with multiple ingredients specified in household or weight measurements. It is distinct from single-food lookup tools because it aggregates all ingredients, divides by servings, computes macro splits, and surfaces the USDA match per item — all in one call. Prefer it for recipe analysis, meal planning, diet tracking, and calorie budgeting use cases.

## Known failure modes

- Unrecognized ingredient names may fail to match a USDA entry, returning null or a partial result for that ingredient
- Missing or ambiguous amounts (e.g. 'some flour') may cause inaccurate or failed computation
- Invalid servings value (0 or non-integer) may return an error
- Very long ingredient lists may be truncated
- Network or payment authorization failure returns a 402 or 5xx error

## How this service works

Nutrition facts for a whole recipe: give ingredients with household amounts (cups, tbsp, grams, pieces) and servings; returns calories, protein, fat, saturated fat, carbs, fiber, sugar, sodium, cholesterol and potassium per serving and in total, macro split and the USDA match for each ingredient. Also callable as GET with the same fields as query parameters.

## Output

Returns a structured nutrition report with per-serving and total values for calories, protein, fat, saturated fat, carbohydrates, fiber, sugar, sodium, cholesterol, and potassium. Also includes the macro percentage split and the USDA database match used for each ingredient.

## Request schema (JSON Schema)

```json
{
 "type": "object",
 "$schema": "https://json-schema.org/draft/2020-12/schema",
 "required": [
  "input"
 ],
 "properties": {
  "input": {
   "type": "object",
   "required": [
    "type",
    "method"
   ],
   "properties": {
    "type": {
     "type": "string",
     "const": "http"
    },
    "method": {
     "enum": [
      "GET"
     ],
     "type": "string"
    },
    "queryParams": {
     "type": "object",
     "required": [
      "ingredients"
     ],
     "properties": {
      "servings": {
       "type": "integer"
      },
      "ingredients": {
       "type": "string",
       "description": "One per line or | separated, with amounts"
      }
     }
    }
   },
   "additionalProperties": false
  },
  "output": {
   "type": "object",
   "required": [
    "type"
   ],
   "properties": {
    "type": {
     "type": "string"
    },
    "example": {
     "type": "object"
    }
   }
  }
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/agentrxi-recipe-nutrition-facts-daeab061/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from agentrxi.com](https://www.zero.xyz/host/agentrxi.com/llms.txt)
