Crmgo CRMGO

QR Generator

Enter a link or text to create a code instantly

Your QR code will appear here

API for developers

Public endpoint to generate PNG QR codes. No authentication required.

GET /api/qr

GET https://crmgo.eu/api/qr?data=https%3A%2F%2Fexample.com&size=200&ecc=H
  • data (required) — text or URL, max 2048 characters
  • size — PNG side length in px, 64–1024 (default 200)
  • ecc — error correction: L, M, Q, H (default H)
  • format — png (default, binary image) or json (base64 in JSON)

POST /api/qr

curl -X POST https://crmgo.eu/api/qr \
  -H "Content-Type: application/json" \
  -d '{"data":"https://example.com","size":200,"ecc":"H","format":"json"}'

JSON response (format=json)

{
  "data": "https://example.com",
  "size": 200,
  "ecc": "H",
  "content_type": "image/png",
  "png_base64": "iVBORw0KGgo..."
}

HTML example

<img src="https://crmgo.eu/api/qr?data=https%3A%2F%2Fexample.com&size=200" alt="QR" />