{"uid":"cap_pGqa1_tg2cIe0KrBK399k","slug":"tanod-utilpeek-qr-code-generator-88557e6e","name":"Tanod utilpeek QR Code Generator","description":"Generate a QR code as SVG or PNG from up to 2,000 characters; returns base64 image data. Use when an agent must hand a person text or a URL as a scannable QR code image. Add output=url for a 24 h link.","url":"https://tanod.dev/v1/qr?utm_source=zero.xyz","method":"POST","headers":{},"bodySchema":{"type":"object","properties":{"data":{"type":"string","maxLength":2000,"minLength":1,"description":"Text or URL to encode (1-2000 characters, at most 2953 UTF-8 bytes)."},"error":{"enum":["L","M","Q","H"],"type":"string","default":"M","description":"Error correction level L | M | Q | H (default M)."},"scale":{"type":"integer","default":8,"maximum":20,"minimum":1,"description":"Pixels per module (1-20, default 8)."},"border":{"type":"integer","default":4,"maximum":10,"minimum":0,"description":"Quiet-zone width in modules (0-10, default 4)."},"format":{"enum":["svg","png"],"type":"string","default":"svg","description":"svg (default, returned as text) or png (base64)."},"output":{"enum":["base64","url"],"type":"string","default":"base64","description":"base64 (default): inline. url: stored for 24 hours; link, metadata."}}},"responseSchema":{"type":"json","example":{"bytes":215,"error":"M","scale":2,"border":2,"format":"png","modules":25,"version":2,"width_px":58,"height_px":58,"data_base64":"iVBORw0KGgoAAAANSUhEUgAAADoAAAA6AQAAAADJwHeFAAAAnklEQVR42oWRMQpEIQxEw6b94FUCaYVcXbAVvIowrZD9sCw4v9hNJY+ZyaiSn2ny47DEfIq2l3wHaT0CJ9G6pzkRz/4gMZRJ1sk5S9yddmVi+V3jcF3X8toPsoGCOc+cFqggl45dd5BLylDaNTCagjTm5oVyYOinJruW9ui8DHC6lymc39CBR8O4dUx8XaZMZHCfrLE9eBdq4z5/f/kNcMGsmAlL1A4AAAAASUVORK5CYII=","content_type":"image/png"}},"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_WMMhJAz4dAqxinJq4puhe","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 an SVG or PNG QR code image for up to 2,000 characters of text or a URL","exampleAgentPrompt":"Can you generate a QR code for https://myshop.com — make it an SVG with high error correction (H) and a scale of 10?","exampleUseCases":[{"title":"QR code for product landing page","prompt":"Generate an SVG QR code for https://myproduct.com/launch with high error correction and a scale of 12, so it prints clearly on a poster."},{"title":"Event check-in code on flyer","prompt":"Make a PNG QR code encoding the text 'Check in at booth 42 — Event: TechConf 2025' with medium error correction and a scale of 8."},{"title":"Business card URL QR code","prompt":"Create a small compact QR code for https://linkedin.com/in/janedoe — SVG format, scale 6, border 2, with Q-level error correction so it fits neatly on a business card."}],"resultDescription":"Returns either an SVG QR code image as a text/xml string or a base64-encoded PNG image, depending on the requested format. The image encodes the provided text or URL and is ready to embed in web pages, documents, or print materials. Response includes the rendered QR code with the specified scale, border, and error correction settings applied.","failureModes":["Input text exceeds 2,953 UTF-8 bytes (even within 2,000 character limit) — returns validation error","Empty or missing 'data' field — returns 422 validation error","Scale value out of range (must be 1-20) — returns validation error","Border value out of range (must be 0-10) — returns validation error","Invalid format enum value — returns validation error","Payment not attached or insufficient — returns 402 Payment Required"],"whenToPreferThis":"Choose this endpoint when you need a simple, fast, pay-per-use QR code generation API without rate-limit subscriptions. It supports both SVG and PNG output with fine-grained control over error correction level, scale, and border — making it suitable for both web embedding (SVG) and print use (PNG). Ideal for agents that need occasional on-demand QR codes without maintaining a dedicated QR service account.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-12-01T07:33:38.252Z","isFirstParty":false,"canonicalSlug":"tanod-utilpeek-qr-code-generator-88557e6e"}