QR Code API
Generate QR codes over HTTP. Demo environment — no authentication.
Try it
Equivalent curl command
Load test
Fires a batch of requests from this browser, one after another, using the settings above. Each request encodes a different payload (a sequential suffix is appended) so nothing is served from cache.
Completed
0/0
Errors
0
Total time
—
Mean
—
Median
—
p95
—
Max
—
Throughput
—
Server mean
—
generation time inside the API; the rest is network + TLS
Requests were issued sequentially from this browser; round-trip time is dominated by your network latency to af-south-1. The Server-Timing column is what the API itself took.
API reference
| Endpoint | Parameter | Type | Default | Description |
|---|---|---|---|---|
GET /api/qrPOST /api/qr |
text |
string (1–2000 chars) | — (required) | The payload to encode. |
format |
svg | png | json |
svg |
Response format. json returns metadata plus embedded SVG and PNG. |
|
ecc |
L | M | Q | H |
M |
Error correction level (higher survives more damage, holds less data). | |
scale |
integer (1–40) | 8 |
Pixels per module. | |
border |
integer (0–10) | 4 |
Quiet zone width, in modules. | |
GET /healthz |
— | — | — | Health check, returns {"status": "ok"}. |
curl: download a PNG
curl: POST with JSON, get metadata + embedded images
HTML embed
Python (requests)
Full interactive reference: /docs (OpenAPI / Swagger UI).