qr: QR codes that never expire
v1.0.0Free dynamic QR codes that never expire: retarget later, styles, scan stats.
These tools were reported by the server itself during our smoke test (tools/list), not copied from the README.
create_qr_code Create a QR code
Create a dynamic QR code for a link. The code never expires and its target can be changed later. Returns the short URL, PNG/SVG image URLs and the QR image. Without an API key it also returns an edit_url: give that to the user, it is their only way to change the code later.
| Parameter | Type | Description |
|---|---|---|
target_url * | string | Full http(s):// URL the code should open |
style | object | Optional look. Dark colors only; every style is test-scanned. |
title | string | Optional name, e.g. "Poster Westbahnhof" |
update_qr_code Change where a QR code leads
Change the target URL (or title, or pause/activate) of an existing code. Printed copies keep working and now lead to the new target. Needs the API key of the owner or the edit_url of an anonymous code.
| Parameter | Type | Description |
|---|---|---|
code * | string | The short code, e.g. "k7Fq2" (the part after ?c= in the short URL) |
active | boolean | false pauses the code (scanners see a friendly note) |
edit_key | string | For codes created without an API key: the edit_url (or its key) returned at creation |
target_url | string | |
title | string |
get_qr_code_stats QR code scan statistics
Scans, daily unique visitors, scans per day, top cities and devices of a code. Anonymous and privacy-friendly (no IPs, no cookies).
| Parameter | Type | Description |
|---|---|---|
code * | string | The short code, e.g. "k7Fq2" (the part after ?c= in the short URL) |
days | integer | |
edit_key | string | For codes created without an API key: the edit_url (or its key) returned at creation |
list_qr_codes List my QR codes
List the codes of the account behind the API key, newest first, with scan counts. Needs an API key.
| Parameter | Type | Description |
|---|---|---|
limit | integer | |
offset | integer |
create_qr_codes_bulk Create many QR codes
Create several codes at once, optionally in a new campaign (e.g. one code per poster location). Needs an API key; the maximum per call depends on the plan.
| Parameter | Type | Description |
|---|---|---|
items * | array | |
campaign | string | Optional campaign name |
get_limits Plan and quotas
Shows the current plan (anonymous, free or pro) and its quotas.