QR codes
Sign in

QR code API

Make QR codes you can change after printing, change where they send people, get the image and read scan counts, from your own code.

Price

Keys

Sign in at qr.ceots.io and choose New API key on your dashboard. The key is shown once. Send it on every call:

Authorization: Bearer qrk_…

You can hold 5 keys at once. Revoking a key on the dashboard stops it at once. Every code a key makes belongs to your account and shows on your dashboard.

Calls

CallDoes
POST /api/v1/codesMakes a code. Body: {"url": "https://…", "handle": "optional"}. Answers 201 with the handle, the short link, image links and a delete token.
GET /api/v1/codesLists your codes (newest 200) with all-time and 7-day scans.
GET /api/v1/codes/{handle}One code: its address and scans per day. Optional ?from=YYYY-MM-DD&to=YYYY-MM-DD, up to a year; the last 30 days by default.
PATCH /api/v1/codes/{handle}Changes where the code sends people. Body: {"url": "https://…"}. The printed code opens the new address at once.
GET /api/v1/codes/{handle}/image.pngThe code as a print-size PNG (at least 1024 px). image.svg gives an SVG.
GET /api/v1/usageThis month's calls, the free allowance and billable calls. Not counted as a call.

Example

curl -X POST https://qr.ceots.io/api/v1/codes \
  -H "Authorization: Bearer $QR_KEY" \
  -H "content-type: application/json" \
  -d '{"url": "https://example.com/menu"}'

Errors

401 invalid_key
The key is missing, mistyped or revoked.
402 allowance_used
The free 100 calls for this month are used. The answer carries an upgrade link that starts the pay-per-call plan.
404 not_found
No code with that handle belongs to your account.
409 Handle already taken
Pick another handle, or leave it out and one is made for you.
503 plan_unavailable
Billing could not be reached to check your plan. Nothing was counted; try again in a minute.
QR code