{"uid":"cap_R-_cYY2QUQ494IrRqnHDW","slug":"saylor-innovations-packaged-food-allergen-lookup-393d1b70","name":"Saylor Innovations Packaged Food Allergen Lookup","description":"Packaged-food allergen and may-contain declarations by barcode, with ingredients (Open Food Facts)","url":"https://saylorinnovations.com/api/allergens/product?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":{"barcode":{"type":"string","description":"required GTIN/EAN/UPC barcode, 8-14 digits (query)"}}}},"additionalProperties":false},"output":{"type":"object","required":["type"],"properties":{"type":{"type":"string","const":"json"},"example":{"type":"object","required":["found","barcode","declared_allergens","may_contain_traces","completeness_warning","license"],"properties":{"name":{"type":["string","null"],"description":"Name"},"found":{"type":"boolean","description":"True when the lookup matched a record"},"brands":{"type":["string","null"],"description":"Brands"},"labels":{"type":"array","items":{"type":"string"}},"source":{"type":"string","description":"Data source the values come from"},"barcode":{"type":"string"},"license":{"type":"string","description":"License identifier"},"quantity":{"type":["string","null"],"description":"Quantity"},"countries":{"type":"array","items":{"type":"string"},"description":"Countries"},"traces_text":{"type":["string","null"],"description":"Traces text"},"last_modified":{"type":["string","null"],"description":"Last modified"},"ingredients_text":{"type":["string","null"],"description":"Ingredients text"},"declared_allergens":{"type":"array","items":{"type":"string"},"description":"Declared allergens"},"may_contain_traces":{"type":"array","items":{"type":"string"},"description":"May contain traces"},"completeness_warning":{"type":"string","description":"Completeness warning"},"declared_allergens_text":{"type":["string","null"],"description":"Declared allergens text"}}}}}}},"responseSchema":null,"example":null,"exampleRequest":null,"tags":["x402"],"displayCostAmount":"0.01","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.01/call","primary":{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.01","per":"call","confidence":"exact"},"accepted":[{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.01","per":"call","confidence":"exact"}]},"paymentMethods":[{"uid":"pm_0GuB4MzvSvMyRKceZo97G","protocol":"x402","methodType":"crypto","chain":"base","mode":"charge","costAmount":"0.01","costPer":"request","priority":0,"asset":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913","unit":"request","depositMicros":null,"planRef":null}],"brandName":null,"brandSlug":null,"brandBaseUrl":null,"brandDocsUrl":null,"whatItDoes":"Returns allergen declarations, may-contain traces, and ingredient text for a packaged food product identified by barcode, sourced from Open Food Facts","exampleAgentPrompt":"Can you check what allergens are declared on this product and whether it may contain traces of peanuts or tree nuts? The barcode is 3017620422003.","exampleUseCases":[{"title":"Allergy-safe grocery shopping check","prompt":"I'm allergic to gluten and sesame — can you scan barcode 0070470003208 and tell me if that product declares either of those allergens or has any may-contain warnings?"},{"title":"Restaurant menu ingredient verification","prompt":"We have a guest with a severe milk allergy — can you look up barcode 3560070462443 and tell me the full ingredients list and any allergen declarations so I can confirm if it's safe to use in the dish?"},{"title":"Parental food safety screening","prompt":"My kid has a peanut allergy — I scanned this snack at the store, barcode is 5000159407236. Can you pull up the allergen and traces info from Open Food Facts so I know if it's safe?"}],"resultDescription":"A JSON object containing: a boolean indicating if the product was found, the barcode, arrays of declared allergens and may-contain trace allergens, the raw ingredients text, raw allergen declaration text, raw traces text, product name, brand, quantity, countries sold in, data source (Open Food Facts), last modified date, a completeness warning noting any data gaps, and the data license identifier.","failureModes":["Product not found in Open Food Facts database (found: false) — barcode may be regional or unlisted","Invalid barcode format — must be 8–14 digit GTIN/EAN/UPC","Incomplete allergen data — completeness_warning field will flag missing declarations","Open Food Facts data may be community-contributed and outdated, leading to stale or inaccurate allergen info","Barcode belongs to a product variant not present in the database"],"whenToPreferThis":"Choose this endpoint when you need structured allergen and may-contain declarations for a packaged food product identified by barcode, especially for allergy safety checks, dietary compliance validation, or ingredient transparency workflows. It is ideal when you already have the product's GTIN/EAN/UPC barcode and need a fast, low-cost ($0.01) lookup rather than scraping retailer pages. Prefer it over generic nutrition APIs when the specific focus is allergen and trace declarations rather than macronutrient data.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-10-17T06:42:49.788Z","isFirstParty":false,"canonicalSlug":"saylor-innovations-packaged-food-allergen-lookup-393d1b70"}