API Docs

Generate QR via HTTP

Simple parameters, PNG response. No auth required for static QR.

Endpoint
GET /api/qr?text=Hello%20World&size=256&margin=2&ec=M&dark=%23111827&light=%23ffffff

Returns a PNG image.

Parameters
  • text: string (required)
  • size: 128–1024
  • margin: 0–10
  • ec: L | M | Q | H
  • dark, light: hex colors (e.g. #111827, #ffffff)