Generate custom QR codes via URL. Colors, sizes, logos. No signup.
https://qr-api-smoky.vercel.appX-API-Key: your_key (header) or ?key=your_key (query)
Get your free key below
/api/generate
Generate a custom QR code image from the provided data and options.
data
string
yes
Content to encode (URL or text)
size
number
no
Image size in pixels. Default: 300, max 1000
fg
string
no
Foreground hex color. Default: 000000
bg
string
no
Background hex color. Default: ffffff
format
string
no
Output format: png or svg. Default: png
margin
number
no
Quiet zone margin (0–10). Default: 2
style
string
no
QR style: square, dots, or rounded (SVG only). Default: square
logo
string
no
Logo URL to embed in center (PNG only)
image/png or image/svg+xml// 400 — Bad Request
{ "error": "Missing required parameter: data" }
// 401 — Unauthorized
{ "error": "Invalid API key" }
// 429 — Rate Limited
{ "error": "Daily limit reached. Upgrade your plan." }
Get a free API key for 6 requests/day. No credit card required.
X-API-Key: your_key?key=your_keyStart free. Pay only when you need more.
No monthly commitment. Pay only for what you use. All features included.