Open beta: the free plan is fully available, payments run in test mode (no real charge)
Skip to content

Generate QR codes with one request

A clean QR code in your colours, with your logo in the middle, as PNG or SVG. Ideal for menus, tickets, labels and campaigns.

  • Restaurant menus
  • Tickets and badges
  • Product labels
  • Business cards
  • Campaign posters

Get a free key

POST

/v1/qr

1 credit(s) per call

Generates a QR code or a barcode, as PNG or SVG.

Try it online

Text, URL or vCard to encode (2,953 characters at most).

qr (default), ean13 (12 or 13 digits, the check digit is verified) or code128 (printable ASCII).

png (default) or svg.

Width in pixels, 64 to 2,048 (default 512).

White margin in modules, 0 to 20 (default 2).

Code colour, formatted #rrggbb.

Background colour, formatted #rrggbb.

Error-correction level: L, M (default), Q or H.

The centred logo (logo_url) is available with an API key.

Free tool limited to 20 tries per day. With a key, your quota applies.

Result

—

Example request

curl -X POST https://supercalcula.ch/api/v1/qr \
  -H "Authorization: Bearer sk_live_…" \
  -H "Content-Type: application/json" \
  -d '{"content":"https://supercalcula.ch","size":512}' --output qr.png

Response

The response is the image itself (PNG or SVG); with encoding=base64, a JSON object containing the image.

Limits and cost

  • Cost : 1 credit(s) per call
  • Content: 2,953 characters at most
  • Size: 64 to 2,048 pixels
  • Logo: https only, 500 KB at most, error correction forced to H

Full reference in the documentation →