{"uid":"cap_M6gLUfTFfeEFNaAncGKAd","slug":"qrcode-pub-qr-code-generator-ae0775b8","name":"QRCode.Pub QR Code Generator","description":"Create editable (dynamic) QR codes that never expire. One-time payment from $9, unlimited scans, change the link any time, scan counts included. Free static QR code generator too.","url":"https://qrcode.pub/x402/qr?utm_source=zero.xyz","method":"GET","headers":{},"bodySchema":{"type":"object","$schema":"https://json-schema.org/draft/2020-12/schema","required":["input"],"properties":{"input":{"type":"object","required":["type","method","queryParams"],"properties":{"type":{"type":"string","const":"http"},"method":{"enum":["GET"],"type":"string"},"queryParams":{"type":"object","required":["data"],"properties":{"ecc":{"enum":["L","M","Q","H"],"type":"string","description":"Error correction (default M)"},"data":{"type":"string","description":"Text or URL to encode (max 2000 chars)"},"size":{"type":"string","description":"Pixels, 32-2000 (default 300)"},"color":{"type":"string","description":"Foreground hex, e.g. 1a237e"},"format":{"enum":["png","svg"],"type":"string","description":"Image format (default png)"},"margin":{"type":"string","description":"Quiet zone in modules, 0-20 (default 4)"},"bgcolor":{"type":"string","description":"Background hex, e.g. ffffff"}},"additionalProperties":false}}},"output":{"type":"object","properties":{"type":{"type":"string","const":"image"},"example":{"type":"string"}}}}},"responseSchema":{"type":"image","format":"png","example":"binary PNG (or SVG with format=svg)"},"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_nA8ERm9L2O3tJdGUMn0R9","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":"Generates a QR code image (PNG or SVG) encoding any text or URL, with configurable size, colors, error correction, and margin.","exampleAgentPrompt":"Generate a QR code for https://myshop.example.com as a 400-pixel PNG with a dark blue foreground (#1a237e) and white background, using high error correction.","exampleUseCases":[{"title":"Business card QR code","prompt":"Create a QR code for my portfolio site https://janedoe.dev — make it 350 pixels, PNG format, with a black foreground and white background, medium error correction."},{"title":"Event flyer with branded QR code","prompt":"I need an SVG QR code for https://tickets.example.com/event42 with our brand color #e53935 as the foreground and a transparent white background, sized at 500 pixels and high error correction so it prints cleanly."},{"title":"Wi-Fi sharing QR code","prompt":"Generate a QR code encoding the text WIFI:T:WPA;S:MyHomeNetwork;P:supersecret;; at 300 pixels as a PNG with default colors and a quiet margin of 6 modules."}],"resultDescription":"A binary PNG image or SVG markup of the QR code encoding the specified data. The image dimensions, colors, error correction level, and margin reflect the requested parameters. The agent receives raw image bytes (PNG) or SVG text that can be saved, displayed, or embedded directly.","failureModes":["Missing required 'data' parameter returns an error","Data exceeding 2000 characters may be rejected or produce an oversized/unreadable QR code","Invalid hex color values may cause a bad request error","Size outside 32–2000 range may be rejected","Payment failure (x402) if USDC balance is insufficient — endpoint requires $0.005 USDC per call"],"whenToPreferThis":"Choose this endpoint when you need a quick, on-demand QR code image returned directly as a binary or SVG without managing a subscription or account. It is ideal for agents that need to embed QR codes in documents, emails, or webpages programmatically, and where one-time per-call micropayment (x402) is acceptable. Prefer this over dynamic QR code platforms if you only need a static image rendered instantly without redirect tracking.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-10-10T18:34:34.805Z","isFirstParty":false,"canonicalSlug":"qrcode-pub-qr-code-generator-ae0775b8"}