QR code generator API for dynamic, editable codes
Create, restyle and re-point QR codes from your own backend. The QBit REST API uses simple API keys and JSON, and every code you create is dynamic - you can change its destination later with one PATCH request.
No card required · cancel any time
What you can do with the API
- POST /api/v1/qrcodes - create a QR code with a name, target URL and optional style
- PATCH /api/v1/qrcodes/{id} - change the destination or pause a code
- PUT /api/v1/qrcodes/{id}/style - set colors, dot and corner shapes
- POST /api/v1/qrcodes/{id}/logo - upload a center logo
- GET /api/v1/qrcodes/{id}/stats - scan totals and the last 30 days
- GET /api/qr/{code}.png | .svg | .pdf - public image URLs, no key needed
Example
curl -X POST https://qbithub.org/api/v1/qrcodes -H "Authorization: Bearer qbit_live_..." -H "Content-Type: application/json" -d '{"name": "Menu", "target_url": "https://example.com/menu"}'
The response contains the short URL and image URLs you can embed or print. Full interactive documentation is available at qbithub.org/api/docs (OpenAPI).
Pricing and limits
API access is part of the Plus plan ($24.99/month, 500 QR codes). Plus includes 500 API calls per month; extra calls cost $1 per 100 and only up to a monthly spending cap you set yourself, so there are no surprise bills. Keys are rate-limited to 120 requests per minute.
Plans
Frequently asked questions
Is there an API to generate QR codes?
Yes. QBit provides a REST API to create, update, style and delete dynamic QR codes and to read scan statistics. It is available on the Plus plan.
How do I authenticate?
Create an API key on the Developers page and send it as 'Authorization: Bearer qbit_live_...' or in the X-API-Key header.
How much does the QR code API cost?
The Plus plan costs $24.99 per month and includes 500 API calls per month. Additional calls are $1 per 100, limited by a spending cap you control (default $0).