# OmniAPI Food Compare

> OmniAPI Food Compare is a paid API for AI agents from omni-api-cyan.vercel.app, paid per call via x402, $0.075399/call, status unknown (last checked 2026-09-15).

Compares food items or meals based on a query, returning nutritional, health, or other comparative data

## Facts

- Endpoint: POST https://omni-api-cyan.vercel.app/api/health/food/compare
- Price: $0.075399/call
- Payment: x402
- Status: unknown
- Last checked: 2026-09-15
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/omniapi-food-compare-063f8b0c
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_-SrrE29uJWvvihrLP-Qqu

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 omniapi-food-compare-063f8b0c -d '<json body>'
```

Example prompt: Can you compare chicken breast and salmon for me — I want to know which one is healthier overall in terms of calories, protein, and fat?

## When to prefer this

Use this endpoint when you need a direct nutritional or health-based comparison between food items and don't want to call a general-purpose nutrition lookup twice and manually diff the results. It is purpose-built for side-by-side food evaluation.

## Known failure modes

- Unrecognized food item names return no results or an error
- Vague or ambiguous queries may return irrelevant comparisons
- Missing required 'query' field returns a 400 validation error
- Payment failure via x402 (insufficient USDC balance) blocks the call
- Timeout or 500 error if the upstream food database is unavailable

## How this service works

444 endpoints across 9+ chains. Crypto, AI, Social, Finance, Weather, Tools. Pay per call in USDC via x402 with 4 facilitators: Dexter, Meridian, FluxA, GoPlausible.

## Output

Returns a structured comparison of the queried food items, likely including nutritional attributes such as calories, macronutrients, vitamins, and a relative health assessment or ranking between the compared items.

## Request schema (JSON Schema)

```json
{
 "type": "object",
 "required": [
  "query"
 ],
 "properties": {
  "input": {
   "type": "string",
   "description": "Input data for the endpoint"
  },
  "query": {
   "type": "string",
   "description": "Search query or input text"
  },
  "params": {
   "type": "object",
   "description": "Additional parameters"
  }
 }
}
```

## Response schema (JSON Schema)

```json
{
 "type": "object",
 "description": "API response data"
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/omniapi-food-compare-063f8b0c/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from omni-api-cyan.vercel.app](https://www.zero.xyz/host/omni-api-cyan.vercel.app/llms.txt)
