{"uid":"cap_PEZAMxcP1MBNVfrqrh4I-","slug":"sitecheck-agent-intel-dev-high-res-qr-code-generator-svg-version-1-c136901c","name":"SiteCheck Agent Intel & Dev – High-Res QR Code Generator (SVG, Version 1)","description":"Makes a QR code as scalable SVG (21x21 modules, version 1) for up to 17 bytes at level L, 14 at M, 11 at Q or 7 at H, with the mask chosen by the standard penalty rules. Returns the SVG and a base64 copy. Larger versions are not supported; longer text returns 400.","url":"https://api.fadeandco.workers.dev/api/agent-intel/highres-qr-code-generator?utm_source=zero.xyz","method":"POST","headers":{},"bodySchema":{"type":"object","properties":{"ec":{"type":"string","description":"Error correction level: L, M, Q or H (default M)"},"text":{"type":"string","description":"Text to encode as UTF-8 bytes; the byte limit depends on the level"},"scale":{"type":"string","description":"Pixels per module in the SVG, 1 to 20 (default 8)"}}},"responseSchema":{"type":"json","example":{"ec":"M","svg":"<svg xmlns=\"http://www.w3.org/2000/svg\" viewBox=\"0 0 29 29\" width=\"232\" height=\"232\"><rect width=\"29\" height=\"29\" fill=\"#fff\"/><path fill=\"#000\" d=\"M4,4h1v1h-1zM5,4h1v1h-1zM6,4h1v1h-1zM7,4h1v1h-1zM8,4h1v1h-1zM9,4h1v1h-1zM10,4h1v1h-1zM12,4h1v1h-1zM13,4h1v1h-1zM14,4h1v1h-1zM16,4h1v1h-1zM18,4h1v1h-1zM1…","mask":0,"note":"Version 1 only. Checked against a published Reed-Solomon example and the format-bit rule; not scanned with a phone here.","size":21,"source":"ISO/IEC 18004 (hand-written)","version":1,"checkedAt":"2026-10-23T09:35:23.075Z","svgBase64":"PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHZpZXdCb3g9IjAgMCAyOSAyOSIgd2lkdGg9IjIzMiIgaGVpZ2h0PSIyMzIiPjxyZWN0IHdpZHRoPSIyOSIgaGVpZ2h0PSIyOSIgZmlsbD0iI2ZmZiIvPjxwYXRoIGZpbGw9IiMwMDAiIGQ9Ik00LDRoMXYxaC0xek01LDRoMXYxaC0xek02LDRoMXYxaC0xek03LDRoMXYxaC0xek04LDRoMXYxaC0xek05LDRoMXYxaC0xek0xMCw0…"}},"example":null,"exampleRequest":null,"tags":["x402"],"displayCostAmount":"0.002","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.002/call","primary":{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.002","per":"call","confidence":"exact"},"accepted":[{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.002","per":"call","confidence":"exact"}]},"paymentMethods":[{"uid":"pm_jWUiEb3K0PWvnbLBVKdAM","protocol":"x402","methodType":"crypto","chain":"base","mode":"charge","costAmount":"0.002","costPer":"request","priority":0,"asset":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913","unit":"request","depositMicros":null,"planRef":null}],"brandName":null,"brandSlug":null,"brandBaseUrl":null,"brandDocsUrl":null,"whatItDoes":"Generates a Version 1 QR code (21×21 modules) as a scalable SVG with optional error-correction level and pixel scale, returning both the raw SVG and a base64-encoded copy.","exampleAgentPrompt":"Can you generate a QR code SVG for the URL 'https://example.com' using error correction level M and a scale of 10 pixels per module?","exampleUseCases":[{"title":"QR code for a landing page","prompt":"Make me a QR code SVG for 'https://myshop.io/sale' with error correction level M so I can drop it straight into my website."},{"title":"High-durability QR for print labels","prompt":"Generate a QR code for the text 'LOT-2024-X7' at error correction level H and a scale of 12 — I need it to survive some wear on a printed label."},{"title":"Compact QR for email signature","prompt":"Create a small QR code SVG at scale 6 encoding 'mailto:hello@acme.com', using error correction level L, and give me the base64 version so I can embed it inline in an HTML email."}],"resultDescription":"A JSON object containing the rendered SVG string (as 'svg'), its base64 equivalent ('svgBase64'), the applied error correction level ('ec'), mask pattern index ('mask'), module grid size ('size' = 21), QR version ('version' = 1), the source reference ('ISO/IEC 18004'), and a 'checkedAt' timestamp. Returns HTTP 400 if the input text exceeds the byte limit for the chosen error correction level.","failureModes":["400 Bad Request if text exceeds byte limit for the chosen EC level (17 bytes at L, 14 at M, 11 at Q, 7 at H)","400 if scale is outside the 1–20 range","400 or validation error if an invalid EC level string is supplied","No support for Version 2+ QR codes — longer text always fails"],"whenToPreferThis":"Choose this endpoint when you need a lightweight, standards-compliant QR code for short text (URLs, codes, identifiers) and want the result as a scalable SVG with an optional base64 copy — ideal for web embedding, email inlining, or print assets. Prefer it over raster-based QR generators when resolution-independence matters. Note the hard limit of Version 1 only; for longer payloads you will need a different service.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-10-29T00:33:33.811Z","isFirstParty":false,"canonicalSlug":"sitecheck-agent-intel-dev-high-res-qr-code-generator-svg-version-1-c136901c"}