Path Parameter
| Name | Type | Required | Description |
|---|---|---|---|
qrid | string | ✅ | Unique QR Code identifier (e.g., Q3493df1c0e074ac7) |
Query Parameters
| Name | Type | Required | Default | Description |
|---|---|---|---|---|
format | string | No | png | Output file format. Supported values: png, jpg, pdf, svg, eps |
size | integer | No | 300 | Image width and height in pixels (min: 10, max: 1000) |
Examples
Download QR Code with Default Size
Download QR Code with Custom Size
Download with Different Sizes for Different Use Cases
Successful Responses
| HTTP Status | Description | Response Type |
|---|---|---|
200 OK | QR Code downloaded successfully | Binary file (image/png, image/jpeg, application/pdf, image/svg+xml, application/postscript) |
Example Outputs by Format
| Format | MIME Type | Description |
|---|---|---|
png | image/png | High-quality raster image (default, recommended for general use) |
jpg | image/jpeg | Compressed raster image (smaller file size) |
pdf | application/pdf | Printable vector format |
svg | image/svg+xml | Scalable vector graphic (editable in Illustrator/Figma) |
eps | application/postscript | Print-ready format (for professional printing) |
Error Handling
Invalid Size Parameter
If the size parameter is outside the allowed range (10-1000), the API will return an error:QR Code Not Found
If the QR code ID doesn’t exist:Best Practices
- Use SVG or EPS for scalable, high-resolution print or design work.
- Use PNG for digital and web usage.
- Avoid extremely large sizes (>800px) unless required — larger images increase load times and API latency.
- Protect API keys: store keys securely in environment variables, not directly in scripts.
- For bulk downloads, loop over QR IDs with a delay or queue to avoid hitting rate limits.
Authorizations
API key authentication. Enter your API key directly in the Authorization header.
Path Parameters
QR Code ID
Query Parameters
Download format
Available options:
png, jpg, pdf, svg, eps Size of the QR code image in pixels (width and height). Must be between 10 and 1000 pixels.
Required range:
10 <= x <= 1000Response
QR Code file
The response is of type file.