Packaged food facts by barcode
food_by_barcodeLook up a packaged food by its barcode and get the fields that answer "can this person eat this?" — ingredients, allergens, traces, additives, Nutri-Score, NOVA processing group and per-100g nutrition. Data is from Open Food Facts, which is crowd-sourced and openly licensed: coverage is uneven by country and a product can be listed with most nutrition empty, so every response carries a completeness flag and missing values are null rather than estimated. A barcode not in the database returns not_found and is NOT charged. Costs $0.005 USDC per call via x402 on Base.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| barcode | Yes | 6-14 digit product barcode, e.g. '737628064502'. |