{"uid":"cap_k-I1iZZkuKnuAejRW3pVy","slug":"food-facts-barcode-lookup-e784d39c","name":"Food Facts Barcode Lookup","description":"Packaged food by barcode: ingredients, allergens, traces, additives, Nutri-Score, NOVA group and per-100g nutrition, with a completeness flag.","url":"https://food-facts.bowling-anthony.workers.dev/product","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"}},"additionalProperties":false},"output":{"type":"object","required":["type"],"properties":{"type":{"type":"string"},"example":{"type":"object"}}}}},"responseSchema":null,"example":null,"exampleRequest":null,"tags":["x402"],"displayCostAmount":"0.005","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.005/call","primary":{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.005","per":"call","confidence":"exact"},"accepted":[{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.005","per":"call","confidence":"exact"}]},"paymentMethods":[{"uid":"pm_HMJR13FUW8JtxrPWUminR","protocol":"x402","methodType":"crypto","chain":"base","mode":"charge","costAmount":"0.005","costPer":"request","priority":0,"asset":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913","unit":"request","depositMicros":null,"planRef":null}],"brandName":null,"brandSlug":null,"brandBaseUrl":null,"brandDocsUrl":null,"whatItDoes":"Returns packaged food product data by barcode including ingredients, allergens, additives, Nutri-Score, NOVA group, and per-100g nutrition facts.","exampleAgentPrompt":"Can you look up the full food facts for the product with barcode 3017620422003 — I want to see the Nutri-Score, NOVA group, allergens, and per-100g nutrition?","exampleUseCases":[{"title":"Allergen check before purchase","prompt":"I have a peanut allergy — can you scan barcode 5000159484695 and tell me if it contains peanuts or has any peanut traces listed?"},{"title":"Diet app nutrition enrichment","prompt":"I need the full per-100g nutrition breakdown, Nutri-Score, and NOVA group for the product with EAN 8076800195057 so I can log it in my diet tracker."},{"title":"Ultra-processed food screening","prompt":"Can you check barcode 0070470003030 and tell me whether this product is ultra-processed based on its NOVA group, and list any additives it contains?"}],"resultDescription":"A JSON object containing product details: full ingredient list, allergens, traces, additive codes, Nutri-Score grade (A–E), NOVA group (1–4), per-100g macronutrients and micronutrients, and a boolean completeness flag indicating how complete the product data is.","failureModes":["Barcode not found in database — product may not be in Open Food Facts","Missing or incomplete product data flagged by completeness field","Invalid or malformed barcode returns error","Product data may be crowdsourced and occasionally inaccurate","Rate limits or payment errors may block access"],"whenToPreferThis":"Use this endpoint when you need structured, machine-readable food product data from a barcode or EAN/UPC number, including Nutri-Score and NOVA group classification which are not available from all food APIs. Ideal for nutrition logging apps, allergen checkers, and food quality analysis pipelines where per-100g data and processing level are needed.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-09-14T18:38:31.183Z","isFirstParty":false}