# Agent Intelligence Platform API – Food Lookup by Code

> Agent Intelligence Platform API – Food Lookup by Code is a paid API for AI agents from agent-intelligence-platform.fhochard.workers.dev, paid per call via x402, $0.01/call, status unknown (last checked 2026-10-13).

Looks up food product intelligence by product code, returning normalized, source-backed data about the food item.

## Facts

- Endpoint: GET https://agent-intelligence-platform.fhochard.workers.dev/v1/food/%7Bcode%7D?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/agent-intelligence-platform-api-food-lookup-by-code-718a808b
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_020CYqBqAu8hwgHdlIEjp

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 agent-intelligence-platform-api-food-lookup-by-code-718a808b
```

Example prompt: Can you look up the food product with code 3017620422003 and tell me what it is, including any nutritional or product details?

## When to prefer this

Choose this endpoint when you need quick, authoritative, normalized food product data keyed by a product code or barcode, especially within an AI agent workflow where micro-payments via x402 on Base are acceptable. Prefer this over web scraping or general search when you want structured, decision-ready data rather than raw HTML or unstructured text.

## Known failure modes

- Unknown or invalid product code returns empty data array with count 0
- Malformed code format may result in an error or empty response
- Product not in database returns empty result rather than an error
- Payment failure via x402 prevents access to results
- Rate limiting or quota exhaustion may block requests

## How this service works

Source-backed, decision-ready intelligence for AI agents. AIP combines and normalizes authoritative evidence across industrial projects, procurement, companies, property, medicines, weather, fishing and other domains. Useful answers cost 0.01 USDC via x402 on Base.

## Output

Returns a JSON object with food product data fields (count and data array), potentially including product name, manufacturer, nutritional attributes, and other normalized, source-backed information about the food item identified by the given code.

## Request schema (JSON Schema)

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

## Response schema (JSON Schema)

```json
{
 "type": "json",
 "example": {
  "data": [],
  "count": 0
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/agent-intelligence-platform-api-food-lookup-by-code-718a808b/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from agent-intelligence-platform.fhochard.workers.dev](https://www.zero.xyz/host/agent-intelligence-platform.fhochard.workers.dev/llms.txt)
