{"uid":"cap_Tp7IsrWUnvJXVqTmmKH1q","slug":"x402-gateway-qr-code-barcode-generator-99c08c51","name":"x402-gateway QR Code & Barcode Generator","description":"x402-gateway tool: qr_generator — Generate a QR code or barcode as an image (SVG or PNG). Returns a base64-encoded image (MCP content type image). Symbologies: qrcode/qr, code128, code39, ean13, ean8, upca, upce, isbn10, isbn13, issn, itf, gs1-128, databar.","url":"https://x402.freeq.one/tools/qr_generator","method":"POST","headers":{},"bodySchema":{"type":"object","properties":{"data":{"type":"string","description":"Data to encode (URL or text for QR; numeric for EAN/UPC)"},"type":{"enum":["svg","png"],"type":"string","description":"Output image format (default svg)"},"format":{"enum":["qrcode","code128","code39","ean13","ean8","upca","upce","isbn10","isbn13","issn","itf","gs1-128","databar"],"type":"string","description":"Barcode symbology; use qrcode (or qr) for QR codes"}}},"responseSchema":{"type":"json","example":{"result":{}}},"example":null,"exampleRequest":null,"tags":["x402"],"displayCostAmount":"0.002","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.002/call","primary":{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.002","per":"call","confidence":"exact"},"accepted":[{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.002","per":"call","confidence":"exact"}]},"paymentMethods":[{"uid":"pm_wUS1cf39JVL8ahN25iLti","protocol":"x402","methodType":"crypto","chain":"base","mode":"charge","costAmount":"0.002","costPer":"request","priority":0,"asset":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913","unit":"request","depositMicros":null,"planRef":null}],"brandName":null,"brandSlug":null,"brandBaseUrl":null,"brandDocsUrl":null,"whatItDoes":"Generates a QR code or barcode image (SVG or PNG) for a given data string and symbology, returning a base64-encoded image via a pay-per-call API.","exampleAgentPrompt":"Generate a QR code for 'https://myshop.com/promo' as a PNG image using the qrcode symbology.","exampleUseCases":[{"title":"Product barcode for retail packaging","prompt":"Create an EAN-13 barcode as a PNG for the product code 5901234123457 — I need to put it on my packaging label."},{"title":"QR code for business card","prompt":"Generate a QR code in SVG format encoding 'https://linkedin.com/in/janedoe' so I can embed it on my digital business card."},{"title":"ISBN barcode for book cover","prompt":"Make an ISBN-13 barcode image for 978-3-16-148410-0 in PNG format for my book cover design."}],"resultDescription":"A base64-encoded image (PNG or SVG) of the requested QR code or barcode, returned as an MCP content type image that can be embedded directly in documents or rendered in a browser.","failureModes":["Invalid or unsupported symbology returns an error","Data string incompatible with chosen symbology (e.g. non-numeric data for EAN-13) causes generation failure","Invalid image format specification","Payment failure or insufficient USDC balance prevents call","Malformed request body returns HTTP 4xx error"],"whenToPreferThis":"Choose this endpoint when you need a programmatic, pay-per-call barcode or QR code generator that returns base64-encoded images directly usable in MCP agent workflows, supports a wide range of symbologies (QR, Code128, EAN, UPC, ISBN, GS1-128, ITF, ISSN, DataBar), and requires no setup or subscription — just micro-payments at $0.001 USDC per call.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-09-13T06:33:06.875Z","isFirstParty":false}