QRcraft API
The QRcraft API lets you generate, manage, and track QR codes programmatically. Available on all plans including free. Base URL: https://qrcraft.io/api/v1
Authentication
All API requests require a Bearer token in the Authorization header. Get your token from Profile → API Tokens.
Error Codes
QR Codes
List all QR codes for the authenticated user. Supports filtering and pagination.
Query Parameters
| Parameter | Type | Description |
|---|---|---|
| type | string | Filter by QR type (url, vcard, wifi, etc.) |
| search | string | Search by name |
| page | integer | Page number (default: 1) |
Create a new QR code and generate its image files.
Body Parameters
| Parameter | Type | Required | Description |
|---|---|---|---|
| name | string | ✓ | Display name for the QR code |
| type | string | ✓ | QR type: url, vcard, wifi, email, sms, text, etc. |
| content | string | ✓ | The content/URL to encode |
| color_dark | string | Hex color for QR dots (default: #000000) | |
| color_light | string | Hex color for background (default: #ffffff) | |
| size | integer | QR image size in pixels (default: 300) |
Get a single QR code by ID.
Update QR code name, content, colors, or status. QR image is regenerated automatically.
Permanently delete a QR code and its associated image files.
Download the QR code as a PNG file.
Analytics
Get overall scan statistics for all your QR codes.
Get detailed analytics for a specific QR code including by device, country, and browser.
User
Get the authenticated user's profile, plan, and usage limits.
Create a new API token. Send {"name":"My App"} in the body.