← Entwicklerwerkzeuge

QR-Code-Generator

GET /qr/generate

Generieren Sie eine QR code image URL for any text, URL, oder data string. Konfigurierbar size (default 300px). Liefert eine URL to a PNG QR code image that can be embedded in web pages, printed on materials, oder displayed in apps. Nützlich für sharing URLs, Wi-Fi credentials, contact cards, event tickets, payment links, und any data that needs to be quickly scannable by mobile devices.

Parameter

data erforderlich

Data to encode

size optional Standard: 300

Size

Beispielanfragen

Grundlegende Verwendung
curl "https://nordapi.ee/api/v1/qr/generate?data=https://nordapi.ee"
QR code for a URL
curl "https://nordapi.ee/api/v1/qr/generate?data=https://nordapi.ee"
Large QR code for a URL
curl "https://nordapi.ee/api/v1/qr/generate?data=https://nordapi.ee&size=500"
QR code for plain text
curl "https://nordapi.ee/api/v1/qr/generate?data=Hello+World&size=200"

Live-Antwort

{
  "data": {
    "data": "",
    "format": "png",
    "qr_url": "https://api.qrserver.com/v1/create-qr-code/?size=300x300&data=&format=png",
    "quickchart_url": "https://quickchart.io/qr?text=&size=300",
    "size": 300
  },
  "success": true
}