Generate QR codes as PNG or SVG via a simple REST API. Custom colors, sizes, and formats.
Include your API key in the X-Api-Key header.
X-Api-Key: sk_live_your_api_key
https://qr.kolni.dev/api/generate
| Field | Type | Required | Description |
|---|---|---|---|
text | string | Yes | Text/URL to encode |
curl -X POST https://qr.kolni.dev/api/generate \
-H "X-Api-Key: sk_live_your_key" \
-d '{"text":"https://example.com"}'Returns QR code image (PNG or SVG).
| Header | Value |
|---|---|
Cache-Control | public, max-age=86400 |
X-RateLimit-Remaining | Requests remaining this minute |