{"uid":"cap_VkJPdNy_7yiNzRUYHlpXd","slug":"qr-code-generator-x402-pay-per-call-51d5ade0","name":"QR Code Generator (x402 Pay-per-Call)","description":"Generate a QR code (PNG data-URI or SVG) for any text or URL. Simple, instant utility endpoint.","url":"https://x402.valkyry.fr/qr","method":"POST","headers":{},"bodySchema":{"type":"object","properties":{"url":{"type":"string","description":"Alias for text"},"text":{"type":"string","description":"Text or URL to encode"},"format":{"enum":["png","svg"],"type":"string","description":"Output format (default png)"}}},"responseSchema":{"type":"json","example":{"text":"https://example.com","format":"png","dataUrl":"data:image/png;base64,…"}},"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_DJYBWssj7eV6I0_G57hyX","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 a QR code image (PNG or SVG) from a given text or URL, returned as a base64 data URL.","exampleAgentPrompt":"Can you generate a QR code for https://example.com and give it to me as a PNG image?","exampleUseCases":null,"resultDescription":"A JSON object containing the original text/URL, the format used (png or svg), and a base64-encoded data URL of the QR code image ready for embedding or display.","failureModes":["Missing text/url field — returns error with no QR code generated","Invalid format enum value (not png or svg) — may return error or default to png","Payment not completed via x402 — 402 Payment Required response, no output returned","Malformed or excessively long input text — may fail to encode or time out"],"whenToPreferThis":"Use this endpoint when you need a quick, pay-per-call QR code generation without setting up infrastructure, especially in agent workflows where USDC micro-payments via x402 are already supported and you need PNG or SVG output as a base64 data URL.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-09-15T12:51:48.660Z","isFirstParty":false}