# NexusAPI Food Health Compare

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

Compares the health profile of two or more foods based on a search query, returning nutritional or wellness-related comparison data.

## Facts

- Endpoint: POST https://nexus-api-virid.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/nexusapi-food-health-compare-984722de
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_Jk0ARllDrSv0TLvR7EUIB

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-health-compare-984722de -d '<json body>'
```

Example prompt: Can you compare the health profiles of avocado and peanut butter for me — which one is better nutritionally?

## When to prefer this

Use this endpoint when you need a quick, pay-per-call food health comparison without managing API keys. Best suited for agents helping users make dietary decisions or compare nutritional options on demand. Prefer over manual nutritional lookups when a direct side-by-side health comparison is needed.

## Known failure modes

- Vague or ambiguous query string may return irrelevant comparisons
- Unrecognized food names may yield empty or generic results
- Overly broad queries may return too many items to be useful
- Payment failure in USDC on Base may block the request
- Network timeout from the hosted Vercel endpoint

## 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 comparative health analysis of the queried food items, likely including nutritional metrics, health scores, or rankings that allow the user to understand relative wellness value between 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-health-compare-984722de/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from nexus-api-virid.vercel.app](https://www.zero.xyz/host/nexus-api-virid.vercel.app/llms.txt)
