qr: QR codes that never expire

v1.0.0
io.github.mandymozart/qr Checked 4 days ago Published 16 days ago

Free 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.

ParameterTypeDescription
target_url *stringFull http(s):// URL the code should open
styleobjectOptional look. Dark colors only; every style is test-scanned.
titlestringOptional 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.

ParameterTypeDescription
code *stringThe short code, e.g. "k7Fq2" (the part after ?c= in the short URL)
activebooleanfalse pauses the code (scanners see a friendly note)
edit_keystringFor codes created without an API key: the edit_url (or its key) returned at creation
target_urlstring
titlestring

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).

ParameterTypeDescription
code *stringThe short code, e.g. "k7Fq2" (the part after ?c= in the short URL)
daysinteger
edit_keystringFor 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.

ParameterTypeDescription
limitinteger
offsetinteger

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.

ParameterTypeDescription
items *array
campaignstringOptional campaign name

get_limits Plan and quotas

Shows the current plan (anonymous, free or pro) and its quotas.