{"uid":"cap_iChkwH001wgUd0E9U2dv9","slug":"ishob-barcode-qr-code-generator-524fa6fb","name":"ISHOB Barcode & QR Code Generator","description":"Generate a barcode or QR code as SVG or PNG: QR, DataMatrix, PDF417, Code 128, Code 39, EAN-13, EAN-8, UPC-A, ISBN-13, ITF and GS1-128. EAN/UPC/ISBN check digits are computed (or verified, never silently replaced). QR and DataMatrix support colours, square/rounded/dot styles and (QR) a centre logo from an https URL. Every format is verified scannable. Returns SVG text or base64 PNG plus a data URI ready to embed in HTML, PDF or labels.","url":"https://api.ishob.com/v1/barcode?utm_source=zero.xyz","method":"POST","headers":{},"bodySchema":{"type":"object","properties":{"ec":{"enum":["L","M","Q","H"],"type":"string","default":"M","description":"QR error correction level (H when a logo is used)"},"text":{"type":"string","maxLength":2000,"minLength":1,"description":"Data to encode (URL, text, digits for EAN/UPC/ISBN...)"},"type":{"enum":["qrcode","datamatrix","pdf417","code128","code39","ean13","ean8","upca","isbn13","itf","gs1_128"],"type":"string","default":"qrcode","description":"Barcode format"},"color":{"type":"string","default":"#000000","pattern":"^#[0-9a-fA-F]{6}$","description":"Foreground colour #RRGGBB"},"scale":{"type":"integer","maximum":20,"minimum":1,"description":"Size: pixels per module (2D) or bar-width step (1D); default 4 (SVG) / 8 (PNG)"},"style":{"enum":["square","rounded","dots"],"type":"string","default":"square","description":"Module style (qrcode, datamatrix)"},"format":{"enum":["svg","png"],"type":"string","default":"svg","description":"Output image format"},"logo_url":{"type":"string","format":"uri","description":"QR only: https URL of a PNG/JPEG/WebP logo (max 200 KB) placed in the centre"},"height_mm":{"type":"number","default":15,"maximum":100,"minimum":5,"description":"Bar height for linear barcodes, in mm"},"background":{"type":"string","default":"#FFFFFF","pattern":"^#[0-9a-fA-F]{6}$","description":"Background colour #RRGGBB"},"include_text":{"type":"boolean","default":true,"description":"Print the human-readable text under linear barcodes"}}},"responseSchema":null,"example":null,"exampleRequest":null,"tags":["x402"],"displayCostAmount":"0.001","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.001/call","primary":{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.001","per":"call","confidence":"exact"},"accepted":[{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.001","per":"call","confidence":"exact"}]},"paymentMethods":[{"uid":"pm_Upz4lSXLy1M1_OJk3nhUW","protocol":"x402","methodType":"crypto","chain":"base","mode":"charge","costAmount":"0.001","costPer":"request","priority":0,"asset":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913","unit":"request","depositMicros":null,"planRef":null}],"brandName":null,"brandSlug":null,"brandBaseUrl":null,"brandDocsUrl":null,"whatItDoes":"Generates barcodes and QR codes in SVG or PNG format across 11 symbologies, with verified scannability, colour/style options, and optional centre logos for QR codes.","exampleAgentPrompt":"Generate a QR code for https://myshop.com/product/123 with a rounded dot style, dark blue foreground (#003399) on a white background, high error correction level H, with my logo at https://myshop.com/logo.png in the centre — output it as an SVG.","exampleUseCases":[{"title":"Product label barcode generation","prompt":"Create an EAN-13 barcode for the number 5901234123457 as a PNG with the human-readable digits printed underneath, in black on white — I need it for our retail product packaging labels."},{"title":"QR code with branded logo","prompt":"Make a QR code for https://event.mycompany.com/register with our logo from https://mycompany.com/assets/logo.png in the centre, use error correction level H, rounded module style, and output it as an SVG so I can embed it in the event flyer."},{"title":"Shipping label Code 128 barcode","prompt":"Generate a Code 128 barcode encoding the text 'SHIP-2024-00987654' at scale 6, 20mm bar height, black on white, as a PNG — I need it for a shipping label in our fulfilment system."}],"resultDescription":"Returns a JSON object containing the rendered barcode as SVG text or a base64-encoded PNG string, plus a data URI (data:image/svg+xml or data:image/png) that can be embedded directly in HTML, PDF, or label templates. EAN/UPC/ISBN check digits are computed or verified. Scannability of every output is confirmed before response.","failureModes":["Invalid or un-encodable text for the chosen symbology (e.g. non-numeric data for EAN-13) returns a 400 error","Logo URL unreachable or exceeds 200 KB returns an error for QR logo requests","logo_url using HTTP (non-HTTPS) is rejected","Scale out of range (below 1 or above 20) returns validation error","Invalid hex colour format returns a 400 validation error","text field empty or exceeding 2000 characters returns a 400 error","Payment failure or insufficient USDC balance returns a 402 error"],"whenToPreferThis":"Choose this endpoint when you need server-side barcode or QR code generation with verified scannability across a wide range of symbologies (QR, EAN, UPC, Code 128, DataMatrix, PDF417, GS1-128, ISBN-13, ITF, Code 39). Especially prefer it over client-side libraries when you need check-digit verification for EAN/UPC/ISBN, branded QR codes with centre logos, custom colours and module styles (square/rounded/dots), or clean SVG output for high-quality print labels and PDFs. The pay-per-call x402 model means no subscription required.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-10-14T06:45:50.262Z","isFirstParty":false,"canonicalSlug":"ishob-barcode-qr-code-generator-524fa6fb"}