{"uid":"cap_KunSdZKRsVyQhWCuWGsmq","slug":"httpay-qr-code-generator-4e66d49e","name":"HTTPay QR Code Generator","description":"307 pay-per-call APIs (287 native + Universal Gateway proxying 37 services) powered by x402 and USDC on Base. Token intelligence, DeFi yields, MEV risk, AI tools, web scraping. No API keys, no subscriptions — pay $0.001–$0.05 per call.","url":"https://httpay.xyz/api/qr-generate","method":"POST","headers":{},"bodySchema":null,"responseSchema":{"type":"json","example":{"description":"Generate a QR code from any text or URL. Accepts: text (required), size (default 300), format (png|svg). Returns base64 image or SVG string."}},"example":null,"exampleRequest":null,"tags":["x402"],"displayCostAmount":"0.003","displayCostAsset":"USDC","priceDynamic":false,"priceHint":null,"priceStatus":"priced","priceSource":"registry","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.003/call","primary":{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.003","per":"call","confidence":"exact"},"accepted":[{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.003","per":"call","confidence":"exact"}]},"paymentMethods":[{"uid":"pm_VcFXo7wCE4mYzQYhtYG8k","protocol":"x402","methodType":"crypto","chain":"base","mode":"charge","costAmount":"0.003","costPer":"request","priority":0,"asset":null,"unit":"request","depositMicros":null,"planRef":null}],"brandName":null,"brandSlug":null,"brandBaseUrl":null,"brandDocsUrl":null,"whatItDoes":"Generates a QR code from any text or URL, returning a base64-encoded PNG image or SVG string","exampleAgentPrompt":"Generate a QR code for 'https://myshop.com/checkout' as a 400px PNG — I want the base64 image back so I can drop it into my website.","exampleUseCases":null,"resultDescription":"Returns a JSON object containing either a base64-encoded PNG image string or an SVG string representing the QR code, depending on the requested format. The response also includes a description of the operation and input parameters used.","failureModes":["Missing required 'text' parameter — returns 400 error","Invalid format value (not 'png' or 'svg') — may fall back to default or return error","Payment not provided or insufficient USDC balance — x402 payment required error","Text too long to encode in a single QR code — may return encoding error","Network timeout if upstream QR generation service is slow"],"whenToPreferThis":"Choose this endpoint when you need a simple, no-signup, pay-per-call QR code generation service that supports both PNG (as base64) and SVG output formats and integrates with x402/USDC micropayment flows on Base. Ideal for agents that need to generate QR codes on-demand without managing API keys or subscriptions.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-09-13T18:46:29.750Z","isFirstParty":false}