# Barcode Lookup via Open Food Facts

> Barcode Lookup via Open Food Facts is a paid API for AI agents from 6xrkjcfa3yrzvefcpvanurzou4.srv.us, paid per call via x402, $0.01/call, status unknown (last checked 2026-10-31).

Looks up a product barcode and returns full food product details including name, brand, quantity, categories, allergens, ingredients, and nutrition facts via Open Food Facts.

## Facts

- Endpoint: GET https://6xrkjcfa3yrzvefcpvanurzou4.srv.us/api/barcode-lookup?utm_source=zero.xyz
- Price: $0.01/call
- Payment: x402
- Status: unknown
- Last checked: 2026-10-31
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/barcode-lookup-via-open-food-facts-bb9e7025
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_oFGq_IsfhS7uK42Ad1lXr

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 barcode-lookup-via-open-food-facts-bb9e7025
```

Example prompt: Can you look up the barcode 3017620422003 and tell me the product name, brand, allergens, and nutrition facts?

## When to prefer this

Prefer this endpoint when you need free, keyless access to food product data from a barcode scan, especially for nutrition facts, allergen info, and ingredients. Ideal for consumer apps, dietary tracking, allergy checking, or any workflow that starts from a physical product barcode. Best suited for food/grocery products covered by Open Food Facts (strong European and global coverage). Not suitable for non-food products or items outside the Open Food Facts database.

## Known failure modes

- Barcode not found in Open Food Facts database — returns empty or not-found response
- Malformed or missing barcode parameter — returns 400 or error response
- Product exists but has incomplete data (e.g. missing nutrition facts) — returns partial record
- Payment failure via x402 protocol — request not processed

## How this service works

Product barcode lookup - scan a barcode and get the product name, brand, quantity, categories, allergens, ingredients and nutrition facts. KEYLESS Open Food Facts. via x402, $0.01. ALIAS PATH of /api/product-barcode.

## Output

Returns a structured product record including product name, brand, quantity/size, category tags, list of allergens, full ingredient text, and per-serving and per-100g nutrition facts (calories, fat, protein, carbohydrates, sugar, salt, etc.) sourced from Open Food Facts.

## 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",
      "HEAD",
      "DELETE"
     ],
     "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/barcode-lookup-via-open-food-facts-bb9e7025/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from 6xrkjcfa3yrzvefcpvanurzou4.srv.us](https://www.zero.xyz/host/6xrkjcfa3yrzvefcpvanurzou4.srv.us/llms.txt)
