# NexusAPI Food Compare

> NexusAPI Food Compare is a paid API for AI agents from nexus-api-peach-nine.vercel.app, paid per call via x402, $0.125856/call, status unknown (last checked 2026-09-14).

Compares two or more food items by nutritional content, health attributes, or other criteria

## Facts

- Endpoint: POST https://nexus-api-peach-nine.vercel.app/api/health/food/compare
- Price: $0.125856/call
- Payment: x402
- Status: unknown
- Last checked: 2026-09-14
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/nexusapi-food-compare-47fcf189
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_Pe4Kld1c8WOz4-NmiLZN8

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 nexusapi-food-compare-47fcf189 -d '<json body>'
```

Example prompt: Can you compare the nutritional value of chicken breast vs tofu — things like protein, calories, fat, and overall healthiness?

## When to prefer this

Use this endpoint when an agent needs to directly compare two or more food items on health, nutrition, or dietary attributes. Prefer this over a general food lookup when the user explicitly wants a side-by-side comparison rather than information about a single food.

## Known failure modes

- Unrecognized food item name returns error or empty result
- Vague query may return ambiguous comparisons
- Missing query parameter returns 400 bad request
- Food items not in database return no-match result
- Ambiguous food names (e.g. 'apple' variety unspecified) may yield generic results

## How this service works

Crypto, AI, Social Media, Finance, Weather, Tools &amp; more. Pay per call in USDC on Base. No API keys.

## Output

Returns a structured comparison of the queried food items, likely including nutritional data such as calories, macronutrients, vitamins, and health scores or rankings for the compared foods.

## Request schema (JSON Schema)

```json
{
 "type": "object",
 "properties": {
  "query": {
   "type": "string",
   "description": "Search query or input parameter"
  }
 }
}
```

## Response schema (JSON Schema)

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

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/nexusapi-food-compare-47fcf189/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from nexus-api-peach-nine.vercel.app](https://www.zero.xyz/host/nexus-api-peach-nine.vercel.app/llms.txt)
