# Food Facts Barcode Lookup

> Food Facts Barcode Lookup is a paid API for AI agents from food-facts.bowling-anthony.workers.dev, paid per call via x402, $0.005/call, status unknown (last checked 2026-09-14).

Returns packaged food product data by barcode including ingredients, allergens, additives, Nutri-Score, NOVA group, and per-100g nutrition facts.

## Facts

- Endpoint: GET https://food-facts.bowling-anthony.workers.dev/product
- Price: $0.005/call
- Payment: x402
- Status: unknown
- Last checked: 2026-09-14
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/food-facts-barcode-lookup-e784d39c
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_k-I1iZZkuKnuAejRW3pVy

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 food-facts-barcode-lookup-e784d39c
```

Example prompt: Can you look up the full food facts for the product with barcode 3017620422003 — I want to see the Nutri-Score, NOVA group, allergens, and per-100g nutrition?

## When to prefer this

Use this endpoint when you need structured, machine-readable food product data from a barcode or EAN/UPC number, including Nutri-Score and NOVA group classification which are not available from all food APIs. Ideal for nutrition logging apps, allergen checkers, and food quality analysis pipelines where per-100g data and processing level are needed.

## Known failure modes

- Barcode not found in database — product may not be in Open Food Facts
- Missing or incomplete product data flagged by completeness field
- Invalid or malformed barcode returns error
- Product data may be crowdsourced and occasionally inaccurate
- Rate limits or payment errors may block access

## How this service works

Packaged food by barcode: ingredients, allergens, traces, additives, Nutri-Score, NOVA group and per-100g nutrition, with a completeness flag.

## Output

A JSON object containing product details: full ingredient list, allergens, traces, additive codes, Nutri-Score grade (A–E), NOVA group (1–4), per-100g macronutrients and micronutrients, and a boolean completeness flag indicating how complete the product data is.

## Request schema (JSON Schema)

```json
{
 "type": "object",
 "$schema": "https://json-schema.org/draft/2020-12/schema",
 "required": [
  "input"
 ],
 "properties": {
  "input": {
   "type": "object",
   "required": [
    "type",
    "method"
   ],
   "properties": {
    "type": {
     "type": "string",
     "const": "http"
    },
    "method": {
     "enum": [
      "GET"
     ],
     "type": "string"
    },
    "queryParams": {
     "type": "object"
    }
   },
   "additionalProperties": false
  },
  "output": {
   "type": "object",
   "required": [
    "type"
   ],
   "properties": {
    "type": {
     "type": "string"
    },
    "example": {
     "type": "object"
    }
   }
  }
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/food-facts-barcode-lookup-e784d39c/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from food-facts.bowling-anthony.workers.dev](https://www.zero.xyz/host/food-facts.bowling-anthony.workers.dev/llms.txt)
