Text or URL → QR code as PNG or SVG, with size, colours and error-correction level.
| Name | Type | Description |
|---|---|---|
text | string · required | Content (URL, text, vCard, …), max 4000 chars. |
format | string · optional | png (default) or svg. |
size | integer · optional | 64–2000 px, default 512. |
ecLevel | string · optional | L | M (default) | Q | H. |
dark | string · optional | |
light | string · optional |
curl -X POST https://api.bigapi.dev/v1/qr -H 'Authorization: Bearer $KEY' -H 'Content-Type: application/json' -d '{"text":"https://example.com"}' -o qr.png
HTTP/1.1 200 OK Content-Type: image/png (PNG body, 512x512)