← Utilitaires pour développeurs

Générateur de QR code

GET /qr/generate

Générer a QR code image URL for any text, URL, or data string. Configurable size (default 300px). Renvoie a URL to a PNG QR code image that can be embedded in web pages, printed on materials, or displayed in apps. Utile pour sharing URLs, Wi-Fi credentials, contact cards, event tickets, payment links, and any data that needs to be quickly scannable by mobile devices.

Paramètres

data requis

Data to encode

size optionnel par défaut: 300

Size

Exemples de requêtes

Utilisation de base
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"

Réponse en direct

{
  "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
}