{"uid":"cap_dcAEEOhYxdsIMMML4E0Jr","slug":"toolsmith-barcode-product-lookup-240c59eb","name":"Toolsmith Barcode Product Lookup","description":"Full product truth from an EAN/UPC barcode: name, brand, quantity, categories, complete ingredients, allergens, additives, nutrition per 100g, Nutri-Score / NOVA / Eco-Score, packaging materials with recycling info, plus any linked CPSC or FDA recall for the same barcode. Covers food, general products and cosmetics (Open Food/Products/Beauty Facts). JSON response. $0.02 USDC per call, pay via x402, no API key.","url":"https://toolsmith-api.dassad10.workers.dev/t/product/barcode","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":["ean"],"properties":{"ean":{"type":"string","description":"EAN/UPC barcode, 8-14 digits"}}}},"additionalProperties":false},"output":{"type":"object","required":["type"],"properties":{"type":{"type":"string"},"example":{"type":"object"}}}}},"responseSchema":{"type":"json","example":{"name":"Nutella","brands":"Ferrero","scores":{"novaGroup":4,"nutriscore":"e"},"recalls":[],"allergens":["milk","nuts","soybeans"],"packaging":[{"material":"glass","recycling":"recycle"}],"nutritionPer100g":{"sugars":56.3,"energyKcal":539}}},"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_BqgGjIeoQo7zp82hU24ZJ","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 product details (name, brand, nutrition, allergens, packaging, safety scores) for a given EAN/UPC barcode.","exampleAgentPrompt":"What product is barcode 3017620422003? I need the brand, Nutri-Score, NOVA group, allergens, and sugar content per 100g.","exampleUseCases":[{"title":"Allergy check at grocery store","prompt":"I'm holding a product with barcode 8076809513456 — can you check if it contains milk or nuts? I need to know before buying it."},{"title":"Nutrition label for meal tracking","prompt":"Look up barcode 5000112548167 and give me the calories and sugar per 100g so I can log it in my diet tracker."},{"title":"Sustainability packaging review","prompt":"What packaging materials and recycling info are listed for the product with EAN 3017620422003? I'm trying to reduce my plastic use."}],"resultDescription":"A JSON object with the product name, brand, allergen list, NOVA group (processing level 1-4), Nutri-Score letter (a-e), packaging materials and recycling guidance, nutrition facts per 100g (energy in kcal, sugars, etc.), and any active recalls.","failureModes":["Barcode not found in database — returns empty or null product fields","Invalid EAN format (non-numeric or wrong digit count) — schema validation error","Product exists but has incomplete data — some fields (e.g. recalls, packaging) may be empty arrays","Payment failure via x402 — call not executed if USDC balance insufficient"],"whenToPreferThis":"Use this endpoint when you need structured product metadata — nutrition, allergens, safety scores, packaging — from a physical EAN/UPC barcode without setting up an account or API key. Ideal for food-safety agents, diet trackers, sustainability tools, or compliance checks that need pay-per-call economics with no subscription overhead.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-09-15T12:31:32.550Z","isFirstParty":false}