Certthor QR Code API
General-purpose QR generator (qrserver-compatible). Encode any payload: URL, text, WiFi, vCard, SEPA/EPC, and more.
→ Interactive QR UI — enter a website and preview the code instantly.
Endpoint
GET|POST https://api.certthor.com/v1/create-qr-code/
Live sample → https://certthor.com
Parameters
| Name | Description |
|---|---|
data | Required. Any UTF-8 string to encode (alias: text). |
size | 200 or 200x200 (50–2000, default 200). |
ecc | Error correction: L M Q H (default M). |
margin | Quiet zone modules (default 4). |
format | png (default) or svg. |
color | Foreground hex, e.g. 000000. |
bgcolor | Background hex, e.g. ffffff. |
Examples
# URL curl -sL "https://api.certthor.com/v1/create-qr-code/?size=200x200&data=https%3A%2F%2Fcertthor.com" -o qr.png # Plain text curl -sL "https://api.certthor.com/v1/create-qr-code/?data=Hello%20World" -o hello.png # WiFi curl -sL "https://api.certthor.com/v1/create-qr-code/?data=WIFI%3AT%3AWPA%3BS%3AMyNet%3BP%3Asecret%3B%3B" -o wifi.png # SVG + brand color curl -sL "https://api.certthor.com/v1/create-qr-code/?format=svg&color=0f766e&data=Certthor" -o qr.svg
Canonical host: https://api.certthor.com (www.api.certthor.com redirects here).