QR Code API
Imaging · v1
Generate crisp, scannable PNG QR codes from any text or URL with a single request.
- One authenticated POST returns a ready-to-use PNG.
- Four error-correction levels for print and screen use.
One account. One API key. One bill.
webknx gives your team a single workspace to discover APIs, issue scoped keys, control permissions and pay with predictable credits, starting with 1,000 free credits every month.
Every API shares the same keys, permissions and credit balance.
Imaging · v1
Generate crisp, scannable PNG QR codes from any text or URL with a single request.
Plain HTTPS and JSON. A first request takes one curl command.
One bearer key format, role-based permissions and referrer restrictions across every API.
Every operation has a published credit price. You only pay for successful requests.
Quickstarts, OpenAPI references and runnable examples for every endpoint.
Create an account and get a workspace with 1,000 free credits.
Choose a role and optional browser referrer restrictions. The secret is shown once.
Send the secret as a bearer token to any API you have permission to use.
Watch requests, failures and credit consumption per key and per API.
A real request against the QR Code API. The response is the PNG image.
curl -X POST https://webknx.com/api/v1/qrcode \
-H "Authorization: Bearer YOUR_SECRET_KEY" \
-H "Content-Type: application/json" \
-d '{
"data": "https://example.com",
"format": "png",
"size": 512,
"error_correction": "high",
"foreground": "#000000",
"background": "#FFFFFF",
"margin": true
}' \
--output qrcode.png
Monthly allowance
$0
1,000 credits/month
For individual developers
$20
20,000 credits/month
For production workloads
$50
100,000 credits/month
For high-volume workloads
$200
1,000,000 credits/month
Separate, persistent balance
$10
1,000 credits
Scannable tickets and boarding passes.
Product labels linking to manuals and offers.
Pay-by-link codes on invoices and receipts.
Table ordering and digital menus.
From sign-up to your first successful request.
Generate a unique, scannable code for every ticket at checkout.
Restrict a public key to your site and limit what it can do.
A small client wrapper with retries, backoff and good logs.
Secrets stay secret. API key secrets are shown once and stored only as one-way verifiers. Revocation takes effect on the next request.
Least privilege. Every key carries a role. Permissions are checked on every request, and keys can be limited to specific services and browser origins.
Accurate billing. Credits are reserved atomically before work starts and released if a request fails, so concurrent traffic can never overspend.