qrfast

QR Code API for developers

Let your system create dynamic QR codes, change where they point, pause them and pull scan stats without opening the website. JSON over HTTPS, available on Pro accounts.

Sign up The API is for Pro accounts; request Pro through the contact form

Get started in 4 steps

  1. Create a qrfast account
  2. Request the Pro plan through the contact form with your account email; we turn it on after payment
  3. Go to Dashboard › API, click "Create key" and copy the key starting with qrf_. The full key is shown only once.
  4. Send the key in the Authorization: Bearer header with every request

Basics

Base URLhttps://qrfast.asia/api/v1
AuthenticationAuthorization: Bearer qrf_…
FormatSend JSON (Content-Type: application/json) or form data. Responses are always JSON; times are ISO 8601.
Error languageSend Accept-Language: th for Thai messages; English otherwise.
PlanPro account · 490 THB/month · Contact
Limits60 requests per minute per key · 500 new QR codes per 24 hours per account · 5 keys per account · over the limit you get 429 with Retry-After

Endpoints

EndpointWhat it does
GET /meCheck your key, see the account name and remaining limits
GET /qrsList the QR codes in your account (paginated, filter by type, status, q · per_page up to 100)
POST /qrsCreate a dynamic QR code
GET /qrs/{code}Get one QR code
PATCH /qrs/{code}Change title, destination, content, or pause/resume (send only what changes)
DELETE /qrs/{code}Delete a QR code for good (printed copies will show "not found")
GET /qrs/{code}/statsScan stats (days = 1–365, default 30)

Create a QR code

Send a type plus the fields for that type. You get the QR back with its short link and image links (PNG/SVG), ready to use or print.

curl
curl https://qrfast.asia/api/v1/qrs \
  -H "Authorization: Bearer qrf_your_key" \
  -H "Content-Type: application/json" \
  -d '{"type":"url","title":"Spring promo","destination":"https://example.com/promo"}'
Response (201)
{
    "data": {
        "code": "Ab3dEf",
        "type": "url",
        "title": "Spring promo",
        "status": "active",
        "short_url": "https://qrfast.asia/Ab3dEf",
        "destination": "https://example.com/promo",
        "content": null,
        "file": null,
        "image": {
            "png": "https://qrfast.asia/Ab3dEf/qr.png?size=1024",
            "svg": "https://qrfast.asia/Ab3dEf/qr.svg"
        },
        "scans_total": 0,
        "last_scan_at": null,
        "dashboard_url": "https://qrfast.asia/en/dashboard/qr/123",
        "created_at": "2026-11-03T08:00:00+00:00",
        "updated_at": "2026-11-03T08:00:00+00:00"
    }
}
JavaScript (Node 18+)
const res = await fetch('https://qrfast.asia/api/v1/qrs', {
  method: 'POST',
  headers: {
    'Authorization': 'Bearer ' + process.env.QRFAST_KEY,
    'Content-Type': 'application/json',
  },
  body: JSON.stringify({
    type: 'links',
    page_title: 'Our shop',
    items: [
      { label: 'Menu', url: 'https://example.com/menu' },
      { label: 'LINE', url: 'https://lin.ee/abc123' },
    ],
  }),
});
const { data } = await res.json();
console.log(data.short_url, data.image.png);

Fields per type

Every type accepts title (QR name, up to 120 characters) and locale (th or en, the default language of the page people see when they scan). Fields marked * are required.

typeFields
urldestination* an http/https link (https:// is added if missing)
formdestination* a Google Form or other form link
lineline_value* · line_kind = id (LINE ID) | oa (LINE OA @id) | url (line.me/lin.ee link)
whatsappwa_phone* (Thai 0xx becomes +66) · wa_text starter message up to 300
mapsmaps_query* place name, address, "lat, lng" or a Google Maps link
linkspage_title* up to 80 · page_description up to 200 · items* 1–10 buttons, each {label, url*}
vcardvc_first · vc_last · vc_org · vc_title · vc_phone (one number) · vc_email · vc_url · vc_address
eventev_title* · ev_start* (YYYY-MM-DDTHH:MM) · ev_end · ev_location · ev_note

File QR codes (PDF/images) cannot be created through the API because they need an upload on the website, but you can list, rename, pause and delete them through the API.

Change the destination or pause

Send only the fields you want to change; everything else stays. Printed QR codes go to the new destination right away. status accepts active or paused. content in responses uses the same field names as create, so you can edit it and send it back.

curl -X PATCH https://qrfast.asia/api/v1/qrs/Ab3dEf \
  -H "Authorization: Bearer qrf_your_key" \
  -H "Content-Type: application/json" \
  -d '{"destination":"https://example.com/summer"}'

# pause / resume
curl -X PATCH https://qrfast.asia/api/v1/qrs/Ab3dEf \
  -H "Authorization: Bearer qrf_your_key" \
  -H "Content-Type: application/json" \
  -d '{"status":"paused"}'

Scan stats

scans = times scanned (bots not counted) · continues = times people went on to the destination · daily uses UTC days · hours has 24 slots in Thailand time (UTC+7) · countries, devices and os are sorted by count

curl "https://qrfast.asia/api/v1/qrs/Ab3dEf/stats?days=7" \
  -H "Authorization: Bearer qrf_your_key"
{
    "data": {
        "code": "Ab3dEf",
        "days": 7,
        "totals": {
            "scans": 42,
            "continues": 35,
            "continue_rate": 83.3
        },
        "today": 5,
        "daily": [
            {
                "day": "2026-10-28",
                "scans": 4,
                "continues": 3
            },
            {
                "day": "…",
                "scans": 0,
                "continues": 0
            }
        ],
        "countries": {
            "TH": 40,
            "unknown": 2
        },
        "devices": {
            "mobile": 39,
            "desktop": 3
        },
        "os": {
            "iOS": 20,
            "Android": 19,
            "Windows": 3
        },
        "hours": [0, 0, 0, 0, 0, 0, 1, 2, 3, 4, 2, 5, 6, 3, 2, 1, 2, 3, 4, 2, 1, 1, 0, 0]
    }
}

Errors

Every error has a message. 422 also has errors per field.

StatusMeaning
401Missing or invalid key (a revoked key also gets 401)
403The account is not Pro, Pro has expired, or the account is suspended
404No such QR code in this account
422Invalid data, such as a malformed link or a blocked destination
429Over the limit; wait for the time in the Retry-After header
503The API is temporarily down for maintenance
{
    "message": "Invalid link, it must start with http:// or https://",
    "errors": {
        "destination": [
            "Invalid link, it must start with http:// or https://"
        ]
    }
}

Good to know

  • The QR image always holds the short link qrfast.asia/code, so you never reprint when the destination changes. The image.png link takes ?size=128 to 2048.
  • People who scan see a qrfast landing page (showing the destination domain and safety check) before the destination. Owners cannot skip it, whether the QR was made on the website or through the API.
  • Every destination goes through the same safety checks as the website: blocked destinations get 422, and domains with gambling or adult words can still be created but are flagged for review.
  • QR codes created through the API appear in the same account dashboard and can be edited from either place.
  • Keep keys on your server. Never put them in web pages or apps others can inspect. If a key leaks, revoke it in the dashboard and create a new one.

FAQ

Is the qrfast QR code API free?

The API is for Pro accounts; request Pro through the contact form. Creating QR codes on the website stays free.

What happens when Pro expires?

Your keys stop working (status 403), but every QR code you created keeps working and can still be edited in the dashboard on the website.

If I change the destination through the API, do I need to reprint?

No. A dynamic QR holds a qrfast short link. Send a PATCH with a new destination and the next scan goes to the new place.

How do I get the QR image?

The create response has an image field with PNG and SVG links for that QR. Download them, or render your own image from short_url with any QR library.

Can I create static QR codes like PromptPay or WiFi through the API?

Not yet. Those QR codes do not go through our server. Make them with the generator on the home page or with any QR library in your system.

Sign up The API is for Pro accounts; request Pro through the contact form