{"uid":"cap_8pDrfmL5N3Q3JKrGYQiqi","slug":"gtin-barcode-resolver-8df148c7","name":"GTIN/Barcode Resolver","description":"Looks up a barcode number across Open Food Facts and a general product database, returning product name, brand, category, packaging, quantity and images where present. The check digit is computed locally before anything is queried: an invalid number is a typo, and reporting it as not found would send the caller looking in the wrong place.","url":"https://handel.halowerk.com/v1/gtin-resolve","method":"POST","headers":{},"bodySchema":{"type":"object","properties":{"gtin":{"type":"string","maxLength":14,"minLength":8,"description":"EAN-8, EAN-13, UPC-A or GTIN-14."},"sources":{"type":"array","items":{"enum":["openfoodfacts","upcitemdb"],"type":"string"},"description":"Which sources to query. Both if omitted."},"skip_checksum":{"type":"boolean","default":false,"description":"Query even when the check digit is wrong."}}},"responseSchema":null,"example":null,"exampleRequest":null,"tags":["x402"],"displayCostAmount":"0.005","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.005/call","primary":{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.005","per":"call","confidence":"exact"},"accepted":[{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.005","per":"call","confidence":"exact"}]},"paymentMethods":[{"uid":"pm_hVDhyfxwRZ3cuVguAABJO","protocol":"x402","methodType":"crypto","chain":"base","mode":"charge","costAmount":"0.005","costPer":"request","priority":0,"asset":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913","unit":"request","depositMicros":null,"planRef":null}],"brandName":null,"brandSlug":null,"brandBaseUrl":null,"brandDocsUrl":null,"whatItDoes":"Validates a barcode check digit locally and then looks up product details (name, brand, category, packaging, quantity, images) across Open Food Facts and a general product database.","exampleAgentPrompt":"Can you look up what product this barcode belongs to: 5901234123457? I need the product name, brand, category, and packaging info.","exampleUseCases":[{"title":"Grocery scanner app product lookup","prompt":"I just scanned a barcode at the store — the number is 0012000161155. Can you tell me what product this is, who makes it, and what category it falls under?"},{"title":"Inventory management barcode identification","prompt":"We received a shipment and I need to identify this product by its GTIN: 00850026076021. What's the product name, brand, and packaging?"},{"title":"E-commerce listing enrichment","prompt":"I have a product with barcode 3017620422003 that I need to list online — can you pull the product name, brand, category, quantity, and any available images for it?"}],"resultDescription":"Returns a structured object containing the product name, brand, category, packaging type, quantity, and product images (where available), sourced from Open Food Facts and a general product database. Also includes the result of the local check digit validation so callers know immediately if the input barcode is malformed rather than simply not found.","failureModes":["Invalid check digit — barcode is detected as a typo before any remote query is made; returns a validation error rather than 'not found'","Product not found in either Open Food Facts or the general product database — returns a not-found response","Malformed or non-numeric barcode input — returns a validation error","Network or upstream database unavailability — may return a service error","Incomplete product record — some fields (e.g. images, packaging) may be null if the database entry lacks them"],"whenToPreferThis":"Choose this endpoint when you need to resolve a barcode (GTIN, EAN, UPC) to core product metadata — name, brand, category, packaging, quantity, images — and you want check-digit validation done before any remote lookup so typos are caught immediately. Prefer it over raw Open Food Facts API calls when you want a single unified call across multiple databases with normalization. It complements the sibling endpoints on the same host for deeper data like ingredients, allergens, or nutritional values.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-09-14T06:37:37.826Z","isFirstParty":false}