{"uid":"cap_yj0e0FRkmQ3qzyaKveFjY","slug":"agentutility-qr-code-generator-f1a67b48","name":"AgentUtility QR Code Generator","description":"817 pay-per-call APIs for AI agents. Every endpoint is POST /<name> and is payable in USDC over x402 on Base and Solana — no signup, no API key, just pay-per-call. GET https://x402.agentutility.ai/ returns the same catalog as machine-readable JSON.","url":"https://x402.agentutility.ai/qr-maker?utm_source=zero.xyz","method":"POST","headers":{},"bodySchema":{"type":"object","$schema":"https://json-schema.org/draft/2020-12/schema","required":["input"],"properties":{"input":{"type":"object","required":["type","method","bodyType","body"],"properties":{"body":{"required":["text"],"properties":{"size":{"type":"number","description":"Image side length in pixels. Range [64, 1024]. Default 256."},"text":{"type":"string","description":"Text to encode. Any string up to ~4296 chars."},"format":{"enum":["png","svg"],"type":"string","description":"Output image format. Default 'png'."},"margin":{"type":"number","description":"Quiet-zone margin in modules. Range [0, 20]. Default 4."},"background":{"type":"string","description":"Background color as 6 or 8-digit hex."},"foreground":{"type":"string","description":"QR module color as 6 or 8-digit hex."},"error_correction":{"enum":["L","M","Q","H"],"type":"string","description":"Reed-Solomon error-correction level."}}},"type":{"type":"string","const":"http"},"method":{"enum":["POST"],"type":"string"},"bodyType":{"enum":["json","form-data","text"],"type":"string"}},"additionalProperties":false},"output":{"type":"object","required":["type"],"properties":{"type":{"type":"string"},"example":{"type":"object","properties":{"size":{"type":"integer"},"format":{"type":"string"},"content_type":{"type":"string"}}}}}}},"responseSchema":{"type":"json","example":{"size":256,"format":"png","content_type":"image/png"}},"example":null,"exampleRequest":null,"tags":["x402"],"displayCostAmount":"0.001","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.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_MdP_qTKIA89BnnrO1FIrx","protocol":"x402","methodType":"crypto","chain":"base","mode":"charge","costAmount":"0.001","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 image (PNG or SVG) from any text or URL, with configurable size, colors, margin, and error correction level","exampleAgentPrompt":"Generate a QR code for 'https://myshop.com/checkout' as a 512-pixel PNG with high error correction (H), black modules on a white background, and a margin of 4.","exampleUseCases":[{"title":"QR code for restaurant menu","prompt":"Make me a 400-pixel PNG QR code pointing to 'https://bistromenu.com/spring2025' with high error correction so it still scans even if a little worn, black on white."},{"title":"Custom branded event badge QR","prompt":"Generate an SVG QR code for the text 'EVENT:SUMMIT2025:VIP-A12' with a navy blue foreground (001F5B) on a white background, 512 pixels, and Q-level error correction."},{"title":"WiFi credentials QR code","prompt":"Create a QR code that encodes 'WIFI:T:WPA;S:HomeNetwork;P:SuperSecret123;;' so guests can scan and join my wifi — 256 pixels, PNG, default margin."}],"resultDescription":"Returns a JSON object indicating the size (integer pixels), format (png or svg), and content_type (e.g. image/png) of the generated QR code image, along with the actual image data encoded in the response.","failureModes":["Text exceeds ~4296 character QR capacity — encoding fails or quality degrades","Size outside [64, 1024] range returns a validation error","Invalid hex color string causes a bad request error","Unsupported format value returns a validation error","Network or payment failure (x402 USDC payment not fulfilled) results in 402 response"],"whenToPreferThis":"Choose this endpoint when you need programmatic, on-demand QR code generation with fine-grained control over colors, size, format (PNG or SVG), margin, and error correction level, all without API keys or signup — ideal for AI agents automating QR code creation as part of a larger workflow and paying per call in USDC.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-12-03T22:58:51.903Z","isFirstParty":false,"canonicalSlug":"agentutility-qr-code-generator-fdfe14d1"}