Crmgo CRMGO

QR Generator

Unesite link ili tekst za trenutno kreiranje koda

Ovde će se pojaviti vaš QR kod

API za programere

Javni endpoint za generisanje PNG QR kodova. Autentifikacija nije potrebna.

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" />