{"uid":"cap_QRUfiJyo_3-4WFUArAtHd","slug":"webbersites-qr-code-generator-08f71358","name":"WebberSites QR Code Generator","description":"QR code generator: GET ?data=<text|url> and receive a scannable QR as SVG plus PNG (base64) and a data: URI. Options: size (px, default 512), margin (quiet-zone modules, default 2), ecc (L|M|Q|H, default M), dark/light hex colors. Deterministic, no network, no tracking — encode URLs, wifi, vCards, or payment URIs up to 2,000 chars.","url":"https://api.webbersites.com/api/qr","method":"GET","headers":{},"bodySchema":{"type":"object","$schema":"https://json-schema.org/draft/2020-12/schema","required":["input"],"properties":{"input":{"type":"object","required":["type","method"],"properties":{"type":{"type":"string","const":"http"},"method":{"enum":["GET"],"type":"string"},"queryParams":{"type":"object","required":["data"],"properties":{"ecc":{"type":"string","description":"Error correction: L, M (default), Q, or H — higher survives more damage but holds less data"},"dark":{"type":"string","description":"Hex color of the modules (default #000000)"},"data":{"type":"string","description":"Text or URL to encode (required, up to 2,000 chars)"},"size":{"type":"number","description":"PNG width in px (64–2048, default 512)"},"light":{"type":"string","description":"Hex background color (default #ffffff)"},"margin":{"type":"number","description":"Quiet-zone width in modules (0–20, default 2)"}}}},"additionalProperties":false},"output":{"type":"object","required":["type"],"properties":{"type":{"type":"string"},"example":{"type":"object","properties":{"ecc":{"type":"string"},"svg":{"type":"string"},"data":{"type":"string"},"width":{"type":"number"},"version":{"type":"number"},"data_uri":{"type":"string"},"png_base64":{"type":"string"}}}}}}},"responseSchema":{"type":"json","example":{"ecc":"M","svg":"<svg …>","data":"https://x402.webbersites.com","width":512,"version":3,"data_uri":"data:image/png;base64,…","png_base64":"iVBORw0…"}},"example":null,"exampleRequest":null,"tags":["x402"],"displayCostAmount":"0.01","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.01/call","primary":{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.01","per":"call","confidence":"exact"},"accepted":[{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.01","per":"call","confidence":"exact"}]},"paymentMethods":[{"uid":"pm_TnzoVTjribKDgjcFBtI_r","protocol":"x402","methodType":"crypto","chain":"base","mode":"charge","costAmount":"0.01","costPer":"request","priority":0,"asset":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913","unit":"request","depositMicros":null,"planRef":null}],"brandName":null,"brandSlug":null,"brandBaseUrl":null,"brandDocsUrl":null,"whatItDoes":"Generates a scannable QR code from any text or URL, returning SVG markup, PNG as base64, and a data URI in one response.","exampleAgentPrompt":"Generate a QR code for 'https://myshop.example.com/menu' — make it 800px, use error correction level H, dark modules in #1a1a2e on a white background, and give me the SVG and PNG.","exampleUseCases":null,"resultDescription":"Returns a JSON object containing: the SVG string of the QR code, PNG as a base64-encoded string, a data URI ready for embedding in HTML/CSS, the QR version number, the encoded data string, the output width in pixels, and the effective error correction level used.","failureModes":["data parameter missing — returns 400 error","data exceeds 2,000 characters — returns error indicating payload too large","invalid ecc value outside L/M/Q/H — may return 400 or fall back to default","size outside 64–2048 px range — returns validation error","invalid hex color format for dark/light — may return 400","margin outside 0–20 range — returns validation error"],"whenToPreferThis":"Choose this endpoint when you need a QR code returned immediately as both SVG and PNG without any server-side storage, tracking, or external network calls. Ideal for deterministic, privacy-preserving QR generation where the output must be reproducible for the same input. Supports custom colors, adjustable quiet zones, and four error-correction levels, making it suitable for branded print materials, payment URIs, WiFi sharing, and vCard encoding up to 2,000 characters.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-09-14T12:44:59.725Z","isFirstParty":false}