Generate QR code
generate_qrGenerate a scannable QR code (PNG or SVG) for a URL, plain text, Wi-Fi login, contact card (vCard), SMS, WhatsApp, map location, or calendar event. Every result is decode-verified server-side before it is returned. Free, no API key. Powered by HonestQR (https://qr.zalize.com).
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| bg | No | Background hex color, default #ffffff | |
| fg | No | Foreground hex color, default #0f172a | |
| geo | No | Coordinates (type geo) | |
| sms | No | SMS fields (type sms) | |
| data | No | Payload for type url (the link) or text (free text) | |
| size | No | Approximate PNG size in px | |
| type | Yes | QR content type | |
| wifi | No | Wi-Fi credentials (type wifi) | |
| event | No | Calendar event fields (type event) | |
| theme | No | Theme id from list_themes (colors + optional gradient). Overrides fg/bg. | |
| vcard | No | Contact card fields (type vcard) | |
| format | No | png | |
| ecLevel | No | Error correction level | M |
| No | WhatsApp fields (type whatsapp) |