Generate QR codes in milliseconds. Custom colors, sizes, formats. One simple endpoint.
curl "https://qrapi.celpippractice.workers.dev/v1/generate?text=hello&size=300"
Set foreground and background colors via hex codes. Brand your QR codes instantly.
From 100px to 2000px. Pixel-perfect output for print or screen.
L, M, Q, H levels supported. Higher correction = more resilient codes.
Get vector SVG or raster PNG. Choose the right format for your use case.
$3.99 / 1,000
First 100 requests free. No credit card required.
Generate a QR code image.
| Param | Type | Description |
|---|---|---|
| text | string | Content to encode (required) |
| size | int | Image size in px (default 300) |
| format | string | png or svg (default png) |
| fg | string | Foreground hex color (default 000000) |
| bg | string | Background hex color (default ffffff) |
| ec | string | Error correction: L, M, Q, H (default M) |
Register for an API key. Send JSON body with email field.
curl -X POST https://qrapi.celpippractice.workers.dev/v1/register \
-H "Content-Type: application/json" \
-d '{"email":"you@example.com"}'Include your API key in the header: Authorization: Bearer YOUR_KEY