{"uid":"cap_oFGq_IsfhS7uK42Ad1lXr","slug":"barcode-lookup-via-open-food-facts-bb9e7025","name":"Barcode Lookup via Open Food Facts","description":"Product barcode lookup - scan a barcode and get the product name, brand, quantity, categories, allergens, ingredients and nutrition facts. KEYLESS Open Food Facts. via x402, $0.01. ALIAS PATH of /api/product-barcode.","url":"https://6xrkjcfa3yrzvefcpvanurzou4.srv.us/api/barcode-lookup?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","HEAD","DELETE"],"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.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_x_Ek2NOJjoOwaVz7XPVX3","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":"Looks up a product barcode and returns full food product details including name, brand, quantity, categories, allergens, ingredients, and nutrition facts via Open Food Facts.","exampleAgentPrompt":"Can you look up the barcode 3017620422003 and tell me the product name, brand, allergens, and nutrition facts?","exampleUseCases":[{"title":"Allergen check before purchase","prompt":"I'm at the grocery store and just scanned barcode 0048500204313 — can you tell me if this product contains any allergens like gluten or nuts?"},{"title":"Nutrition facts for diet tracking","prompt":"Look up barcode 5000159407236 and give me the full nutrition facts, especially calories, protein, and sugar content."},{"title":"Product identification from scan","prompt":"I scanned a barcode — 737628064502 — can you tell me what product this is, who makes it, and what category it belongs to?"}],"resultDescription":"Returns a structured product record including product name, brand, quantity/size, category tags, list of allergens, full ingredient text, and per-serving and per-100g nutrition facts (calories, fat, protein, carbohydrates, sugar, salt, etc.) sourced from Open Food Facts.","failureModes":["Barcode not found in Open Food Facts database — returns empty or not-found response","Malformed or missing barcode parameter — returns 400 or error response","Product exists but has incomplete data (e.g. missing nutrition facts) — returns partial record","Payment failure via x402 protocol — request not processed"],"whenToPreferThis":"Prefer this endpoint when you need free, keyless access to food product data from a barcode scan, especially for nutrition facts, allergen info, and ingredients. Ideal for consumer apps, dietary tracking, allergy checking, or any workflow that starts from a physical product barcode. Best suited for food/grocery products covered by Open Food Facts (strong European and global coverage). Not suitable for non-food products or items outside the Open Food Facts database.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-10-31T18:40:47.112Z","isFirstParty":false,"canonicalSlug":"barcode-lookup-via-open-food-facts-bb9e7025"}