{"uid":"cap_QrUZ0cHdEtbvJVgNGaiYc","slug":"sitecheck-food-product-lookup-0a2a0fed","name":"SiteCheck Food Product Lookup","description":"Packaged food by barcode (EAN-8, UPC-A, EAN-13 or GTIN-14) or by name: product name, brand, quantity, Nutri-Score, NOVA group, nutrients per 100 g (energy, fat, saturated fat, carbohydrates, sugars, fibre, protein, salt), allergens, labels, ingredients text and front image URL. Open Food Facts data (ODbL, attribution in source). A barcode not in the database is a 404, not charged. Community data: values can be missing or wrong.","url":"https://api.sitecheck-api.workers.dev/api/food?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":[],"properties":{"name":{"type":"string","description":"Product name words, 2 to 100 characters (optional, when no barcode)"},"limit":{"type":"string","description":"Results for a name search, 1 to 20, default 5"},"barcode":{"type":"string","description":"EAN-8, UPC-A, EAN-13 or GTIN-14 digits (optional)"}}}},"additionalProperties":false},"output":{"type":"object","required":["type"],"properties":{"type":{"type":"string"},"example":{"type":"object"}}}}},"responseSchema":{"type":"json","example":{"count":1,"query":{"barcode":"3017620422003"},"source":"Open Food Facts (world.openfoodfacts.org, ODbL: © Open Food Facts contributors)","products":[{"name":"Nutella","brand":"Nutella, Ferrero","labels":["vegetarian","no-gluten","triman"],"barcode":"3017620422003","per100g":{"fat":30.9,"salt":0.107,"fibre":0,"sugars":56.3,"protein":6.3,"energyKcal":539,"saturatedFat":10.6,"carbohydrates":57.5},"imageUrl":"https://images.openfoodfacts.org/images/products/301/762/042/2003/front_en.879.400.jpg","quantity":"400 g e","allergens":["milk","nuts","soybeans"],"novaGroup":4,"nutriScore":"E","ingredients":"Sucre, huile de palme, NOISETTES 13%, cacao maigre 7,4%, LAIT écrémé en poudre 6,6%, LACTOSERUM en poudre, émulsifiants: lécithines [SOJA), vanilline. Sans gluten."}],"checkedAt":"2026-10-15T14:00:30.556Z"}},"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_q3y21gmF4UhyzcCtGqUap","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 food product information by barcode or product name, returning nutrition facts, ingredients, allergens, and labels from Open Food Facts","exampleAgentPrompt":"Can you look up the nutrition facts, allergens, and Nutri-Score for Nutella using its barcode 3017620422003?","exampleUseCases":[{"title":"Barcode scanner nutrition check","prompt":"I just scanned the barcode 5000159484695 on a bag of crisps — can you pull up its full nutrition info, allergens, and Nutri-Score for me?"},{"title":"Dietary restriction ingredient check","prompt":"I'm looking at buying Nutella (barcode 3017620422003) — does it contain any milk, nuts, or soy allergens, and what's the sugar content per 100g?"},{"title":"Food product search by name","prompt":"Search for products called 'granola bar' and show me the top 3 results with their calorie counts and NOVA group classifications."}],"resultDescription":"Returns a JSON object with count of results, the original query, data source attribution, and an array of matching products. Each product includes: name, brand, barcode, per-100g nutritional breakdown (energy kcal, fat, saturated fat, carbohydrates, sugars, fibre, protein, salt), image URL, quantity, allergen list, NOVA group, Nutri-Score letter grade, ingredients text, and labels (e.g. vegetarian, no-gluten). Also includes a checkedAt timestamp.","failureModes":["Barcode not found in Open Food Facts database — returns empty products array","Product name search returns no matches — returns count 0","Invalid barcode format — may return error or empty result","Missing required input parameters — returns validation error","Truncated or incomplete product data when Open Food Facts entry is sparse"],"whenToPreferThis":"Use this endpoint when you need structured food product data including nutrition facts, ingredients, and allergens for a specific packaged food item identified by barcode or name. Prefer this over general web search when you need machine-readable nutritional data conforming to Open Food Facts schema, especially for EU/international products with EAN barcodes.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-10-20T12:48:04.206Z","isFirstParty":false,"canonicalSlug":"sitecheck-food-product-lookup-0a2a0fed"}