QR code that joins a Wi-Fi network when scanned

Generates a QR code that joins a Wi-Fi network when scanned.

Request

GEThttps://qr-code-generator.p.apihiver.com/v1/wifi?ssid=Home&password=secret123
*
String. Wi-Fi network name.
String. Wi-Fi password (leave empty for open networks).
String. WPA, WEP or nopass (default WPA).
Boolean. true if the network is hidden (default false).
Number. Image size in pixels (64–2000, default 300).
Language
Client
1curl --request GET \
2  --url 'https://qr-code-generator.p.apihiver.com/v1/wifi?ssid=Home&password=secret123&security=%7Bsecurity%7D&hidden=%7Bhidden%7D&size=%7Bsize%7D' \
3  --header 'Accept: application/json' \
4  --header 'X-API-Key: YOUR_API_KEY'

QR code that joins a Wi-Fi network when scanned: QR Code Generator & Reader API reference

Generates a QR code that joins a Wi-Fi network when scanned. This endpoint is part of the QR Code Generator & Reader API: Create QR codes for links, text, UPI payments, Wi-Fi logins and contact cards (PNG/SVG, custom colours) and read QR codes from images.

Example response (200, image/png)

The Wi-Fi QR code image.

Errors

  • 400 — A required parameter is missing or a value has the wrong format.
    1{
    2  "error": {
    3    "code": "INVALID_INPUT",
    4    "message": "ssid: Field required"
    5  }
    6}

Gateway errors (missing key, no subscription, rate limits) are listed in Error codes.