# srch.best Nutrition Data API

> srch.best Nutrition Data API is a paid API for AI agents from x402.srch.best, paid per call via x402, $0.001/call, status unknown (last checked 2026-09-15).

Returns structured nutrition data for foods by querying USDA food databases, including Foundation, SR Legacy, Survey (FNDDS), and Branded food types

## Facts

- Endpoint: POST https://x402.srch.best/nutrition
- Price: $0.001/call
- Payment: x402
- Status: unknown
- Last checked: 2026-09-15
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/srch-best-nutrition-data-api-b4a7f901
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_ouEB024g1nGDYvepnenwA

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 srch-best-nutrition-data-api-b4a7f901 -d '<json body>'
```

Example prompt: Look up the nutrition facts for raw almonds — up to 5 results — from Foundation and SR Legacy USDA databases.

## When to prefer this

Choose this endpoint when you need structured, USDA-sourced nutrition data for a specific food query and want to filter by food database type (Foundation, SR Legacy, Survey FNDDS, or Branded). It is ideal for agent workflows that need machine-readable nutrition facts per-request at low cost ($0.001 USDC) without managing a full USDA API integration. Prefer this over general web search when you need clean, schema-consistent nutrition output rather than scraped or unstructured data.

## Known failure modes

- Query string too short (under 2 chars) or too long (over 200 chars) returns validation error
- Limit outside 1–20 range rejected with parameter error
- Invalid dataType enum value causes request failure
- Payment not included or insufficient USDC causes 402 Payment Required response
- No matching foods found returns empty result set
- Network or provider timeout returns error response

## How this service works

Structured nutrition data for agents, paid per request with x402 v2

## Output

A structured list of food items (up to the requested limit) with detailed nutrition data per item, including macronutrients (calories, protein, fat, carbohydrates), micronutrients, serving sizes, and food source metadata (e.g., Foundation, SR Legacy, Survey FNDDS, or Branded category).

## Request schema (JSON Schema)

```json
{
 "type": "object",
 "properties": {
  "limit": {
   "type": "integer",
   "default": 10,
   "maximum": 20,
   "minimum": 1
  },
  "query": {
   "type": "string",
   "maxLength": 200,
   "minLength": 2
  },
  "dataTypes": {
   "type": "array",
   "items": {
    "enum": [
     "Foundation",
     "SR Legacy",
     "Survey (FNDDS)",
     "Branded"
    ],
    "type": "string"
   }
  }
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/srch-best-nutrition-data-api-b4a7f901/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from x402.srch.best](https://www.zero.xyz/host/x402.srch.best/llms.txt)
