Utilities

QR Code

Generate a scannable PNG QR code from any text or URL. Returns the image directly — no JSON wrapper.

GET/api/qrcode?text=

Query parameters

NameTypeRequiredDescription
textstringRequiredThe text or URL to encode, URL-encoded.

Example request

curl "https://your-app.com/api/qrcode?text=Hello%20World" \
  -H "x-api-key: YOUR_API_KEY" \
  --output qrcode.png

Response

Content-Type: image/png — a 300x300 QR code image.