Create and manage QR codes with ease using our API. Generate static QR codes for fixed URLs or manage dynamic QR codes with full create, manage and delete functionality, allowing you to update destinations and track usage.
Sign up for an account to get your API key, available in your dashboard.
Generate static QR codes with a simple GET request. These codes are fixed and redirect to a pre-defined URL, and the default output format is SVG which means the image can be resized without becoming pixellated or blurry.
Parameter | Description | Required | Default |
---|---|---|---|
API_KEY | Your API key for authentication (Be careful not to embed this value directly into HTML, say, to avoid your API Key being used without your consent.) |
Yes | N/A |
qrData | Data to encode (e.g., a URL) | Yes | N/A |
outputType | Output format (e.g., svg, png) | No | svg |
fgCol | Foreground color (hex) | No | #FFFFFF |
bgCol | Background color (hex) | No | #000000 |
size | Size in pixels | No | 300 |
padding | Padding (pixels for PNG, elements for SVG) | No | 5 |
shape | Element shape (square, round) | No | square |
https://www.DynamicQRCodes.co.ukapi/v1/api.php?
API_KEY=myApiKey
&qrData=www.DynamicQRCodes.co.uk
https://www.DynamicQRCodes.co.ukapi/v1/api.php?
API_KEY=myApiKey
&qrData=www.DynamicQRCodes.co.uk
&shape=round
https://www.DynamicQRCodes.co.ukapi/v1/api.php?
API_KEY=myApiKey
&qrData=www.DynamicQRCodes.co.uk
&fgCol=4c6fe5&bgCol=eeeeee
Manage dynamic QR codes with full CRUD functionality. Update destinations, parameters, or tags without changing the QR code itself.
Include your API key in the 'Authorization' header: 'Authorization: Bearer YOUR_API_KEY'
Method: GET
URL: /api/v1/qrcodes.php
Example:
Response:
Method: POST
URL: /api/v1/qrcodes.php
Body:
Required: 'title', 'destination_url'
Optional: 'parameters', 'tags'
Example:
Response:
Method: GET
URL: /api/v1/qrcodes.php/{qrid}
Example:
Response:
Method: PUT
URL: /api/v1/qrcodes.php/{qrid}
Body:
Required: 'title', 'destination_url'
Optional: 'parameters', 'tags'
Example:
Response:
Method: PATCH
URL: /api/v1/qrcodes.php/{qrid}
Body:
Required: At least one field
Optional: 'title', 'destination_url', 'parameters', 'tags'
Example:
Response:
Method: DELETE
URL: /api/v1/qrcodes.php/{qrid}
Example:
Response:
Method: GET
URL: /api/v1/scan_history.php?qrid={qrid}&start_date={start_date}&end_date={end_date}
Parameters:
Parameter | Description | Required | Format/Example |
---|---|---|---|
'qrid' | The QR code ID | Yes | 'HWTDGU' |
'start_date' | Start date for the scan history | Yes | 'YYYY-MM-DD' (e.g., '2025-04-01') |
'end_date' | End date for the scan history | Yes | 'YYYY-MM-DD' (e.g., '2025-04-28') |
Example:
Response: A CSV file ('scan_history.csv') is downloaded with the following columns: 'Scan ID', 'QR Code ID', 'Scan Date', 'IP Address', 'User Agent'.
Sample CSV Content:
2023 Fairways Consultants Ltd - All Rights Reserved.
QR Code is a registered trademark of DENSO WAVE INCORPORATED