{"slug":"www-brainiac-software-api-v1-document-formats-barcode-decode-29556a","title":"Decode 1D/2D barcodes (QR, Data Matrix, PDF417, Code 128, EAN, …) from a PNG/JPE","host":"www.brainiac.software","method":"POST","resource":"https://www.brainiac.software/api/v1/document-formats/barcode-decode","category":"code","description":"Decode 1D/2D barcodes (QR, Data Matrix, PDF417, Code 128, EAN, …) from a PNG/JPEG/WebP/GIF. Docs: https://www.brainiac.software/api/document-formats/barcode-decode","price_listed":0.03,"price_asked":0.03,"state":"answering","state_label":"Answering","checks_7d":3,"answered_7d":3,"latency_ms_median":326,"reported_calls_30d":1,"reported_payers_30d":1,"networks":["eip155:8453"],"badge":"unverified","paid_checks_7d":0,"paid_ok_7d":0,"example_input":{"body":{"imageBase64":"iVBORw0KGgoAAAANSUhEUgAAAAEAAAABCAYAAAAfFcSJAAAADUlEQVR42mP8z8BQDwAEhQGAhKmMIQAAAABJRU5ErkJggg=="},"bodyType":"json","method":"POST","type":"http"},"output_schema":{"$schema":"https://json-schema.org/draft/2020-12/schema","properties":{"input":{"additionalProperties":false,"properties":{"body":{"additionalProperties":false,"properties":{"formats":{"description":"formats supplied by the caller for this operation.","items":{"type":"string"},"type":"array"},"imageBase64":{"description":"image Base64 supplied by the caller for this operation.","example":"iVBORw0KGgoAAAANSUhEUgAAAAEAAAABCAYAAAAfFcSJAAAADUlEQVR42mP8z8BQDwAEhQGAhKmMIQAAAABJRU5ErkJggg==","maxLength":13981077,"minLength":16,"type":"string"},"maxResults":{"description":"max Results supplied by the caller for this operation.","maximum":20,"minimum":1,"type":"integer"},"tryHarder":{"description":"try Harder supplied by the caller for this operation.","type":"boolean"}},"required":["imageBase64"],"type":"object"},"bodyType":{"enum":["json","form-data","text"],"type":"string"},"method":{"enum":["POST"],"type":"string"},"type":{"const":"http","type":"string"}},"required":["type","method","bodyType","body"],"type":"object"},"output":{"properties":{"example":{"additionalProperties":true,"properties":{"count":{"description":"count returned by this operation.","type":"integer"},"limitations":{"description":"Product caveats. Absence of a signal is not a safety approval.","type":"array"},"results":{"description":"results returned by this operation.","items":{"additionalProperties":true,"properties":{"contentType":{"description":"Response Content-Type from the public HTTP fetch.","type":"string"},"format":{"description":"format returned by this operation.","type":"string"},"text":{"description":"text returned by this operation.","type":"string"}},"type":"object"},"type":"array"},"sources":{"description":"Provenance only — upstream name, url, and retrievedAt when available.","items":{"additionalProperties":true,"properties":{"retrievedAt":{"description":"ISO-8601 timestamp when upstream data was retrieved.","type":"string"},"source":{"description":"Named upstream source for this delayed reference series.","type":"string"},"status":{"description":"Coverage status: complete or partial with real data is charged on HTTP 2xx; failed or empty payloads return non-2xx and are not charged.","type":"string"},"url":{"description":"Requested public URL.","type":"string"}},"type":"object"},"type":"array"}},"type":"object"},"type":{"type":"string"}},"required":["type"],"type":"object"}},"required":["input"],"type":"object"},"history":[{"day":"2026-11-26","reachable":true,"status":402,"valid_402":true,"asked_usdc":0.03,"price_match":true,"latency_ms":323,"error":null},{"day":"2026-11-25","reachable":true,"status":402,"valid_402":true,"asked_usdc":0.03,"price_match":true,"latency_ms":326,"error":null},{"day":"2026-11-24","reachable":true,"status":402,"valid_402":true,"asked_usdc":0.03,"price_match":true,"latency_ms":333,"error":null}],"description_full":"Decode 1D/2D barcodes (QR, Data Matrix, PDF417, Code 128, EAN, …) from a PNG/JPEG/WebP/GIF. Docs: https://www.brainiac.software/api/document-formats/barcode-decode","last_updated":"2026-11-24T15:03:15.052Z","schemes":["exact"]}