{"uid":"cap_qcFFw9BnS_BGqFoDzdjcd","slug":"food-barcode-facts-allergen-check-75612251","name":"Food Barcode Facts – Allergen Check","description":"Allergens and traces declared for a barcode, checked against allergens you avoid; never claims a product is safe.","url":"https://food-barcode.x402tookit.com/food-allergens?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":["barcode"],"properties":{"avoid":{"type":"string","description":"Comma-separated allergens to check, e.g. milk,nuts,gluten"},"barcode":{"type":"string","description":"UPC or EAN barcode"}}}},"additionalProperties":false},"output":{"type":"object","required":["type"],"properties":{"type":{"type":"string"},"example":{"type":"object","properties":{"asOf":{"type":["null","string"]},"name":{"type":["null","string"]},"brands":{"type":["null","string"]},"source":{"type":["null","string"]},"traces":{"type":["array","null"]},"barcode":{"type":["null","string"]},"reasons":{"type":["array","null"],"items":{"type":"string"}},"summary":{"type":["null","string"]},"verdict":{"type":["null","string"]},"degraded":{"type":["boolean","null"]},"quantity":{"type":["null","string"]},"sourceUrl":{"type":["null","string"]},"disclaimer":{"type":["null","string"]},"notChecked":{"type":["array","null"],"items":{"type":"string"}},"attribution":{"type":["null","string"]},"dataQuality":{"type":["null","object"],"properties":{"completeness":{"type":["null","number"]},"lastModified":{"type":["null","string"]},"hasIngredients":{"type":["boolean","null"]}}},"ingredients":{"type":["null","string"]},"checkedAgainst":{"type":["array","null"],"items":{"type":"string"}},"declaredAllergens":{"type":["array","null"],"items":{"type":"string"}},"tracesFromYourList":{"type":["array","null"]},"containsFromYourList":{"type":["array","null"],"items":{"type":"string"}}}}}}}},"responseSchema":null,"example":null,"exampleRequest":null,"tags":["x402"],"displayCostAmount":"0.02","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.02/call","primary":{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.02","per":"call","confidence":"exact"},"accepted":[{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.02","per":"call","confidence":"exact"}]},"paymentMethods":[{"uid":"pm_TEvzSvaEH6OSBGY0yHTQB","protocol":"x402","methodType":"crypto","chain":"base","mode":"charge","costAmount":"0.02","costPer":"request","priority":0,"asset":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913","unit":"request","depositMicros":null,"planRef":null}],"brandName":null,"brandSlug":null,"brandBaseUrl":null,"brandDocsUrl":null,"whatItDoes":"Returns allergens and traces declared for a product barcode, cross-checked against a user-supplied list of allergens to avoid, with a verdict and reasons — but never claims a product is safe.","exampleAgentPrompt":"Look up barcode 3017620422003 and check whether it contains or has traces of milk, nuts, or gluten — I need to know the declared allergens and whether any of those three appear.","exampleUseCases":[{"title":"Grocery shopping allergen check","prompt":"I'm at the store and about to buy this product — barcode is 0041303005026. Can you check if it contains or has traces of peanuts or tree nuts? I have a severe nut allergy."},{"title":"Family meal prep safety review","prompt":"We're cooking for someone who avoids milk, eggs, and gluten. Can you look up barcode 8076800105513 and tell me which of those allergens are declared and whether any appear as traces?"},{"title":"Restaurant supplier ingredient audit","prompt":"We need to verify the allergen profile of a supplier product before putting it on our menu. Look up barcode 5000159484695 and flag anything containing or tracing gluten or sesame."}],"resultDescription":"Returns a structured response including the product name, brand, full ingredients text, declared allergens, detected traces, a verdict string, a list of reasons explaining the verdict, which allergens from your list were found, which were not checked due to missing data, data quality indicators (completeness score, last modified date, whether ingredients are present), source attribution, and a mandatory disclaimer that the result never constitutes a safety guarantee.","failureModes":["Barcode not found in database — returns null name/ingredients with degraded flag","Allergen data missing or incomplete — notChecked list populated, dataQuality.completeness low","Malformed barcode string — query parameter validation error","Network or upstream data source unavailable — degraded mode with partial results","Allergen list contains unrecognized terms — may not match against declared allergens correctly"],"whenToPreferThis":"Use this endpoint when you need to cross-check a specific packaged food product's declared allergens and traces against a known list of allergens a user wants to avoid, given only a barcode. Prefer it over manual ingredient parsing when you have a UPC or EAN code and need a structured, labeled verdict with reasons and data quality metadata. Not a substitute for medical advice or regulatory compliance checks.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-10-29T13:14:23.985Z","isFirstParty":false,"canonicalSlug":"food-barcode-facts-allergen-check-75612251"}