{"uid":"cap_Vn6Jd1QEv40O3AZHPhZDF","slug":"agentrxi-barcode-lookup-open-food-facts-2eb06c33","name":"AgentRXI Barcode Lookup (Open Food Facts)","description":"Product barcode lookup (Open Food Facts): name, brand, ingredients, allergens and traces, Nutri-Score, NOVA processing group, eco-score and nutrition per 100 g for packaged food from its EAN/UPC barcode.","url":"https://agentrxi.com/v1/barcode?utm_source=zero.xyz","method":"GET","headers":{},"bodySchema":{"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","required":["code"],"properties":{"code":{"type":"string","description":"EAN or UPC digits"}}}},"additionalProperties":false},"output":{"type":"object","required":["type"],"properties":{"type":{"type":"string"},"example":{"type":"object"}}}}},"responseSchema":null,"example":null,"exampleRequest":null,"tags":["x402"],"displayCostAmount":"0.002","displayCostAsset":"USDC","priceDynamic":false,"priceHint":null,"priceStatus":"priced","priceSource":"probe","requiresHandshake":false,"reviewCount":0,"rating":{"score":"0.00","successRate":"0.00","reviews":0,"stars":null,"state":"unrated"},"availabilityStatus":"unknown","priceObserved":null,"sessionDeposit":null,"pricing":{"kind":"static","summary":"$0.002/call","primary":{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.002","per":"call","confidence":"exact"},"accepted":[{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.002","per":"call","confidence":"exact"}]},"paymentMethods":[{"uid":"pm_C8vulaOfI31ryz_sVFV4_","protocol":"x402","methodType":"crypto","chain":"base","mode":"charge","costAmount":"0.002","costPer":"request","priority":0,"asset":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913","unit":"request","depositMicros":null,"planRef":null}],"brandName":null,"brandSlug":null,"brandBaseUrl":null,"brandDocsUrl":null,"whatItDoes":"Looks up packaged food product details — name, brand, ingredients, allergens, Nutri-Score, NOVA group, eco-score, and nutrition per 100g — from an EAN or UPC barcode.","exampleAgentPrompt":"Can you look up the food product with barcode 5449000214911 and tell me its name, brand, allergens, Nutri-Score, and nutrition per 100g?","exampleUseCases":[{"title":"Allergen check while grocery shopping","prompt":"I'm in the supermarket and the barcode on this cereal box is 7613034626844 — can you tell me if it contains any nuts or gluten allergens, and what its Nutri-Score is?"},{"title":"Nutrition tracking app enrichment","prompt":"I scanned barcode 3017620422003 — can you give me the full nutrition facts per 100g, the ingredient list, and the NOVA processing group for that product?"},{"title":"Eco-conscious product comparison","prompt":"I want to compare how sustainable these two products are — can you pull the eco-score, Nutri-Score, and brand info for barcodes 8000500310427 and 5000159407236?"}],"resultDescription":"Returns structured data for the scanned product including product name, brand, full ingredient list, allergens and traces, Nutri-Score grade, NOVA food processing group (1–4), eco-score, and detailed nutritional values per 100g (calories, fat, carbs, sugars, protein, salt, etc.).","failureModes":["Barcode not found in Open Food Facts database — returns empty or 404-style response","Incomplete product data — some fields (eco-score, NOVA) may be null if not yet crowdsourced","Invalid barcode format — non-numeric or malformed code triggers validation error","Product exists but has no nutritional data contributed yet"],"whenToPreferThis":"Use this endpoint when you need structured food product metadata from a physical barcode (EAN-13 or UPC-A/E), particularly for nutrition, allergen, or sustainability data on packaged foods. It is backed by Open Food Facts, the largest open food product database. Prefer this over general web search when you need machine-readable, structured nutritional fields rather than free-text descriptions.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-10-15T06:39:08.152Z","isFirstParty":false,"canonicalSlug":"agentrxi-barcode-lookup-open-food-facts-2eb06c33"}