QR code generator
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.
Price: $0.01 per call, paid in USDC via the x402 protocol (see the x402 security scheme).
Request
- Base URL: https://api.webbersites.com
- URL: https://api.webbersites.com/api/qr
- Auth: API key in header X-PAYMENT
Query parameters
Text or URL to encode (required, up to 2,000 chars)
PNG width in px (64–2048, default 512)
Quiet-zone width in modules (0–20, default 2)
Error correction: L, M (default), Q, or H — higher survives more damage but holds less data
Hex color of the modules (default #000000)
Hex background color (default #ffffff)
Response
Success
Changes
No recorded changes to this operation across all 1 revision of this API.