{"uid":"cap_8bX1PI2hPD9mw3rRLx8Ze","slug":"x402tools-qr-generator-f0c711fb","name":"x402tools QR Generator","description":"Generate a QR code from any text, URL, or data. Returns a scannable PNG, SVG, or Base64 image. Use for QR code creation, link encoding, and barcode generation.","url":"https://qr.x402tools.xyz/v1/generate?utm_source=zero.xyz","method":"POST","headers":{},"bodySchema":{"type":"object","properties":{"size":{"type":"number","description":"Image width/height in pixels (default: 256)"},"text":{"type":"string","description":"Content to encode in QR code"},"format":{"enum":["png","svg","base64"],"type":"string","description":"Output format"}}},"responseSchema":{"type":"json","example":{"dataUrl":"data:image/png;base64,iVBORw..."}},"example":null,"exampleRequest":null,"tags":["x402"],"displayCostAmount":"0.01","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":"down","priceObserved":null,"sessionDeposit":null,"pricing":{"kind":"static","summary":"$0.01/call","primary":{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.01","per":"call","confidence":"exact"},"accepted":[{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.01","per":"call","confidence":"exact"}]},"paymentMethods":[{"uid":"pm_D4_I5Wy--este4SagenLV","protocol":"x402","methodType":"crypto","chain":"base","mode":"charge","costAmount":"0.01","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, SVG, or base64) from any text or URL, billed per call via the x402 USDC micropayment protocol.","exampleAgentPrompt":"Can you generate a 512px PNG QR code for the URL https://myshop.example.com so I can put it on my flyer?","exampleUseCases":null,"resultDescription":"A JSON object containing a `dataUrl` field with the QR code encoded as a base64 data URI (e.g. `data:image/png;base64,...`), ready to embed in HTML or decode as an image file.","failureModes":["Missing or empty `text` field returns an error indicating required input","Invalid `format` value outside the enum returns a validation error","Unpaid or failed x402 payment results in a 402 Payment Required response","Extremely large `size` values may be rejected or time out","Non-printable or binary content in `text` may produce unreadable QR codes"],"whenToPreferThis":"Choose this endpoint when you need a quick, pay-as-you-go QR code generation call without a subscription, especially when building agents that require micropayment-compatible APIs or when you need flexible output formats (PNG, SVG, base64) and configurable image sizes.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-10-13T19:29:04.762Z","isFirstParty":false,"canonicalSlug":"x402tools-qr-generator-f0c711fb"}