Tools / food.barcode

Food product lookup

food.barcode

Name, brand, quantity, categories, Nutri-Score and ingredients for a food barcode (EAN/UPC).

DataLaunch set1 unit per call7 d cacheMCP: food_barcodev1.0.0

When to use it

Use to identify a packaged food product from its barcode. Food only: Open Food Facts does not carry prices or non-food items.

Input

FieldTypeDescription
barcode *stringEAN-8, UPC-A, EAN-13 or GTIN-14 digits, no spaces.

* required

Output

Returns data with: barcode, found, name, brand, quantity, categories: [], nutriscore_grade, ingredients.

Request

curl -X POST https://agentops.tools/v1/food.barcode \
  -H 'content-type: application/json' \
  -d '{"barcode":"3017620422003"}'

Over MCP the tool is named food_barcode. Over A2A its skill id is food.barcode. Same input, same envelope.

Try it

Counts against your rate limit.

Sources

Product data from Open Food Facts (ODbL / CC BY-SA 4.0 for images)