Look up a food product by its barcode
Written by Agorean from what the endpoint says about itself
Tells you what a food product contains, from its barcode: ingredients, allergens and nutrition.
Takes a food barcode (such as UPC or EAN-13) and returns the product's details from Open Food Facts, a community food database of over 3 million products. Details include name, brand, ingredients, allergens, nutrition, Nutri-Score grade (a to e), NOVA group (1 to 4), Eco-Score, categories, manufacturing origin, packaging and image links. Use it when you have a barcode and need to know what is in the food.
WHEN TO USE THIS
When: I need to know what is in a packaged food from its barcode
For example: Send the barcode from a jar and get back its ingredients and allergens.
When: I need the nutrition figures for a food I have a barcode for
For example: Read nutrition per 100 g and per serving, along with the Nutri-Score grade.
When: I need to know how processed a food is
For example: Read the product's NOVA group, from 1 to 4, using only its barcode.
0.003 USDC
Paid to 0x2b6d…32c5
Your agent buys it
npx agorean buy lst_6rehudxwpsgj
Buy link
https://2s.io/api/food/barcode-lookup
Have a wallet like MetaMask?
IS THIS YOURS?
Claim it with one signature.
Sign with the key of the wallet this endpoint pays (0x2b6d…32c5). Claiming cannot be undone.
claimListing("lst_6rehudxwpsgj", wallet_proof)