# x402-data-bazaar Food Barcode Lookup

> x402-data-bazaar Food Barcode Lookup is a paid API for AI agents from x402-data-bazaar.vercel.app, paid per call via x402, $0.003/call, status down (last checked 2026-09-15).

Looks up food product details by barcode/UPC, returning name, brand, ingredients, Nutri-Score, full nutrition facts per 100g, allergens, and product image

## Facts

- Endpoint: GET https://x402-data-bazaar.vercel.app/api/food/barcode/737628064502
- Price: $0.003/call
- Payment: x402
- Status: down
- Last checked: 2026-09-15
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/x402-data-bazaar-vercel-app-0dbd88ad
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_ACgEOiSfnuTlLDjJvYr40

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 x402-data-bazaar-vercel-app-0dbd88ad
```

Example prompt: Can you look up the product with barcode 737628064502 and tell me its name, brand, Nutri-Score, and nutrition facts per 100g?

## When to prefer this

Use this endpoint when you need to identify a food product and retrieve its nutritional profile, Nutri-Score, allergens, or ingredient list using a barcode or UPC. It is backed by Open Food Facts, the largest open food product database. Prefer this over generic web search when you need structured, machine-readable nutrition data tied to a specific product SKU.

## Known failure modes

- Barcode not found in Open Food Facts database — returns success: false or empty data
- Invalid or malformed barcode string — may return 404 or error response
- Product exists in database but has incomplete data (missing nutriscore, allergens, or image)
- Network or Vercel infrastructure timeout

## How this service works

Product lookup by barcode/UPC -- name, brand, ingredients, nutri-score, full nutrition facts per 100g, allergens, image. e.g. GET /api/food/barcode/737628064502

## Output

Returns a JSON object with the product name, brand, barcode, Nutri-Score grade (e.g. 'd'), plus the data source (Open Food Facts) and a success flag. Full schema also includes ingredients, allergens, and product image URL.

## Response schema (JSON Schema)

```json
{
 "data": {
  "name": "Thai peanut noodle kit includes stir-fry rice noodles & thai peanut seasoning",
  "brand": "Simply Asia, Thai Kitchen",
  "barcode": "737628064502",
  "nutriscore": "d"
 },
 "source": "Open Food Facts",
 "success": true
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/x402-data-bazaar-vercel-app-0dbd88ad/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from x402-data-bazaar.vercel.app](https://www.zero.xyz/host/x402-data-bazaar.vercel.app/llms.txt)
