{"uid":"cap_VeJTAdKtbVIptf9lWX68D","slug":"qr-barcode-decoder-ef2ef505","name":"QR & Barcode Decoder","description":"Read the text out of a QR code or barcode in a PNG or JPEG image. Auto-detects QR, DataMatrix, PDF417, Aztec and 1D symbologies (Code128/39/93, EAN-13/8, UPC-A/E, ITF, Codabar). A valid image with no code returns { found: false }; a payload that is not a parseable image is a 400.","url":"https://qr.openverbs.com/v1/decode","method":"POST","headers":{},"bodySchema":{"type":"object","$schema":"https://json-schema.org/draft/2020-12/schema","required":["input"],"properties":{"input":{"type":"object","required":["type","method","bodyType","body"],"properties":{"body":{"type":"object","required":["image"],"properties":{"image":{"type":"string","maxLength":12000000,"minLength":1,"description":"The image containing the code — a PNG or JPEG, as a base64 string or a data: URL."}},"additionalProperties":false},"type":{"type":"string","const":"http"},"method":{"enum":["POST"],"type":"string"},"bodyType":{"enum":["json","form-data","text"],"type":"string"}},"additionalProperties":false}}},"responseSchema":null,"example":null,"exampleRequest":null,"tags":["x402"],"displayCostAmount":"0.004","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.004/call","primary":{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.004","per":"call","confidence":"exact"},"accepted":[{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.004","per":"call","confidence":"exact"}]},"paymentMethods":[{"uid":"pm_-028ciSYHehRufpzch72c","protocol":"x402","methodType":"crypto","chain":"base","mode":"charge","costAmount":"0.004","costPer":"request","priority":0,"asset":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913","unit":"request","depositMicros":null,"planRef":null}],"brandName":null,"brandSlug":null,"brandBaseUrl":null,"brandDocsUrl":null,"whatItDoes":"Decodes the text payload from a QR code or barcode in a PNG or JPEG image, supporting QR, DataMatrix, PDF417, Aztec, and common 1D symbologies.","exampleAgentPrompt":"Can you read the QR code in this image and tell me what it says? Here's the base64-encoded PNG.","exampleUseCases":[{"title":"Extract URL from product QR code","prompt":"I photographed a QR code on a product package — here's the base64 PNG. Can you decode it and tell me what URL or text it contains?"},{"title":"Read EAN-13 barcode from retail item","prompt":"I have a JPEG photo of a grocery item's barcode. Can you decode it and give me the EAN-13 number so I can look up the product?"},{"title":"Parse boarding pass PDF417 code","prompt":"Here's a base64 image of a boarding pass with a PDF417 barcode on it — can you decode it and extract the text payload?"}],"resultDescription":"Returns a JSON object with a `found` boolean. If a code is detected, includes the decoded text payload and the detected symbology type. If no code is found in a valid image, returns `{ found: false }`. A non-parseable image payload returns a 400 error.","failureModes":["Image contains no detectable barcode or QR code — returns { found: false }","Payload is not a valid PNG or JPEG image — returns HTTP 400","Image is too blurry or low-resolution for the code to be decoded","Base64 string is malformed or truncated — returns 400","Image exceeds 12MB base64 size limit"],"whenToPreferThis":"Choose this endpoint when you need to programmatically extract the text or data payload from any common barcode or QR code format in a PNG or JPEG image. It auto-detects across QR, DataMatrix, PDF417, Aztec, and all major 1D symbologies without requiring the caller to specify the format. Prefer it over manual OCR pipelines or vision models when you specifically need barcode/QR decoding with reliable symbology auto-detection and a clean structured response.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-09-14T06:31:15.923Z","isFirstParty":false}