QR API
A fast, stateless QR code generation API. Send it data and get back an SVG image — or the raw boolean module matrix if you want to render it yourself. Configurable error correction level, module size, and colors.
Endpoints
GET /v1/qr — generate a QR code as an SVG image (params: data, ecc, cellSize, color, bgColor)
GET /v1/qr/matrix — generate a QR code as a raw boolean module matrix (JSON), for custom rendering
GET /health — liveness check
Pricing
Free tier plus paid tiers, billed and metered through RapidAPI:
- Basic — free, 500 requests/month
- Pro — $4.99/month, 10,000 requests/month
- Ultra — $19.99/month, 100,000 requests/month
Get your API key & see current plans on RapidAPI →
Why QR API
- Edge-deployed — runs on Cloudflare Workers, so response times don't depend on which region your users are in, unlike a single-region server behind a free QR generator like goqr.me's API or api.qrserver.com.
- SVG output — crisp at any size (print, large displays, retina screens), not just a fixed-resolution PNG.
- Raw-matrix output option — get the boolean module grid directly via
/v1/qr/matrix if you want to render the code yourself (canvas, native UI, custom styling) instead of embedding an image.
- Stateless, no logging of scanned content — the data you encode isn't persisted.
- One RapidAPI key covers billing and metering — no separate account or API key management outside RapidAPI.
Related APIs
Same provider, other tools:
- Validate API — IBAN, EU VAT, email, phone, credit card, and password validation.
- Currency API — currency conversion and exchange rates.
- Crypto Toolkit — free crypto trading calculators & guides (position sizing, DCA simulation, tax estimate).
Changelog
- 2026-07-08 — Initial launch: SVG and matrix QR code generation, configurable error correction, size, and colors.
Roadmap
Planned, not yet shipped:
- PNG output
- Batch generation endpoint
- Logo-embedding support
Get updates