Gäste-WLAN
Scannen Sie den QR-Code mit Ihrem Smartphone, um sich sofort mit dem Internet zu verbinden.
Offene Schnittstelle
Ein GET-Request, ein Bild zurück. Kein API-Schlüssel, kein Konto, keine Zählung von Anfragen gegen ein Kontingent. Die API nutzt dieselben Formatierer wie das Werkzeug im Browser, ein WLAN-Code aus der API ist also identisch mit dem aus dem Formular.
curl "https://qrcodeerstellung.de/api/qr?type=wifi&ssid=Gaeste&password=Kaffee2026&format=png" -o wlan.pngAlle Angaben stehen in der Query-Zeichenkette. Werte werden URL-kodiert, Umlaute und Leerzeichen also wie üblich mit Prozent-Schreibweise.
| type | Pflichtfelder | Hinweis |
|---|---|---|
| url | url | Webadresse, muss mit http oder https beginnen |
| text | text | Freitext, alles wird unverändert kodiert |
| wifi | ssid, password, encryption, hidden | encryption: WPA, WEP oder nopass |
| sepa | name, iban, bic, amount, reference | EPC069-12, also GiroCode für Banking-Apps |
| vcard | firstName, lastName, organization, email, phone … | vCard 3.0, mindestens ein Namensfeld |
| to, subject, body | mailto mit vorbereiteter Nachricht | |
| phone | number | tel, Nicht-Ziffern werden entfernt |
| sms | number, message | SMSTO-Format |
| number, message | wa.me-Link | |
| standort | lat, lon | geo-URI, wird von Karten-Apps verstanden |
| mecard | lastName, firstName, phone, email, organization … | kompaktes Kontaktformat, Alternative zu vCard |
| handle | Profilname oder ganze Profil-URL | |
| handle | Profilname oder ganze Profil-URL | |
| youtube | handle | Kanalname oder Kanal-URL |
| handle | führt auf x.com, alte twitter.com-Links werden erkannt | |
| paypal | handle, amount | paypal.me-Link, Betrag optional |
| bitcoin | address, amount, label | BIP21, Betrag in BTC und nicht in Euro |
| pix | key, name, city, amount, txid | BR Code nach Vorgabe der Banco Central do Brasil |
| Parameter | Werte | Standard | Hinweis |
|---|---|---|---|
| format | svg, png, json | svg | json gibt nur die kodierte Zeichenkette zurück |
| size | 128 bis 2048 | 512 | Pixel; größere Werte werden gekappt, nicht abgelehnt |
| margin | 0 bis 16 | 4 | Ruhezone in Modulen, Standardwert 4 |
| dark | Hexfarbe | #000000 | Farbe der Module |
| light | Hexfarbe | #ffffff | Farbe des Hintergrunds |
| ecc | L, M, Q, H | M | Fehlerkorrektur; H übersteht etwa 30 Prozent Beschädigung |
Webseite als SVG
https://qrcodeerstellung.de/api/qr?type=url&url=https://example.comWLAN als PNG, 1024 px
https://qrcodeerstellung.de/api/qr?type=wifi&ssid=Cafe&password=espresso&format=png&size=1024GiroCode über 24,90 Euro
https://qrcodeerstellung.de/api/qr?type=sepa&name=Max%20Mustermann&iban=DE89370400440532013000&amount=24.90Visitenkarte, nur Daten
https://qrcodeerstellung.de/api/qr?type=vcard&firstName=Ana&lastName=Silva&email=ana@example.com&format=jsonInstagram-Profil
https://qrcodeerstellung.de/api/qr?type=instagram&handle=atelier.kaffeePix-Code mit Betrag
https://qrcodeerstellung.de/api/qr?type=pix&key=max@example.com&name=Max%20Mustermann&city=Sao%20Paulo&amount=24.90Was die API nicht tut, ist genauso wichtig wie das, was sie tut.
Kopieren Sie eine der Beispiel-URLs und setzen Sie Ihre eigenen Werte ein. Für die meisten Fälle reicht ein Aufruf im img-Tag.
<img src="https://qrcodeerstellung.de/api/qr?type=url&url=https://ihre-domain.de" alt="QR-Code" width="240" height="240">