# Orders of Magnitude Nutrition Database API

> Orders of Magnitude Nutrition Database API is a paid API for AI agents from x402-api-production-5133.up.railway.app, paid per call via x402, $0.01/call, status unknown (last checked 2026-10-13).

Looks up nutritional information for a given food item by name, returning dietary data via microtransaction-gated API.

## Facts

- Endpoint: GET https://x402-api-production-5133.up.railway.app/data/nutrition-database?utm_source=zero.xyz
- Price: $0.01/call
- Payment: x402
- Status: unknown
- Last checked: 2026-10-13
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/orders-of-magnitude-nutrition-database-api-6a982c4f
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap__7UeDPTYlIYA5GuoYwAI_

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 orders-of-magnitude-nutrition-database-api-6a982c4f
```

Example prompt: Can you look up the nutritional information for 'quinoa' — I want to know the calories, protein, carbs, and fat content?

## When to prefer this

Choose this endpoint when you need quick, per-query nutritional lookups for individual food items and are comfortable with micropayment-gated APIs via the x402 protocol. Suitable for agents that need on-demand food data without a subscription to a large nutrition database provider.

## Known failure modes

- food_name not found in database — may return empty or error response
- Ambiguous food names may return unexpected results
- Empty response schema means output structure is not guaranteed and may vary
- Payment failure via x402 protocol may block access
- Rate limiting or railway.app infrastructure downtime

## How this service works

Data and AI services via x402 payment protocol

## Output

Returns a JSON object with nutritional details for the queried food item, expected to include calorie count, macronutrients (protein, carbohydrates, fat), and possibly micronutrients or serving size data.

## Request schema (JSON Schema)

```json
{
 "type": "object",
 "required": [
  "food_name"
 ],
 "properties": {
  "food_name": {
   "type": "string",
   "description": "Food name to query"
  }
 }
}
```

## Response schema (JSON Schema)

```json
{
 "type": "object",
 "properties": {}
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/orders-of-magnitude-nutrition-database-api-6a982c4f/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from x402-api-production-5133.up.railway.app](https://www.zero.xyz/host/x402-api-production-5133.up.railway.app/llms.txt)
