Calls without X-API-Key need no key. Calls with it need a paid plan — get a key.
Get an API key
Free tier, no form to fill in. Signing in shares your email address with us — we
store it to create your key and to recognise you if you sign in with another
provider. By signing up you are subscribing to the APIs.io and API Evangelist
newsletters — you can unsubscribe from any issue. See our
Privacy Policy and Terms.
openapi: 3.2.0
info:
title: QRFLOW.codes Analytics API
version: 1.0.0
summary: Create QR codes, change where dynamic codes point, pull scan analytics, bulk-generate, manage webhooks.
description: 'Everything the QRFLOW.codes dashboard does, from your own code. Authenticate with a Business API key (`Authorization: Bearer qrf_live_…`, made on the Account page) or an OAuth token from https://qrflow.codes/oauth/authorize. Dynamic codes (url, phone, email, sms, location on paid plans) can be re-pointed after printing; their printed link uses the account''s own domain when one is connected. Also available as an MCP server at https://qrflow.codes/mcp for Claude, ChatGPT, Cursor and Claude Code.'
termsOfService: https://qrflow.codes/terms
contact:
name: QRFLOW.codes
url: https://qrflow.codes/developers
email: hello@qrflow.codes
servers:
- url: https://qrflow.codes/api/v1
security:
- bearerAuth: []
tags:
- name: Analytics
paths:
/codes/{id}/scans:
parameters:
- name: id
in: path
required: true
schema:
type: string
format: uuid
- name: from
in: query
schema:
type: string
format: date
- name: to
in: query
schema:
type: string
format: date
- name: group
in: query
schema:
type: string
enum:
- day
- device
- country
- city
- browser
- os
- referrer
default: day
get:
tags:
- Analytics
summary: Scan analytics (up to 92 days per request)
operationId: getScans
responses:
'200':
description: OK
content:
application/json:
schema:
$ref: '#/components/schemas/Scans'
components:
schemas:
Scans:
type: object
properties:
code_id:
type: string
from:
type: string
to:
type: string
group:
type: string
total:
type: integer
rows:
type: array
items:
type: object
properties:
key:
type: string
scans:
type: integer
securitySchemes:
bearerAuth:
type: http
scheme: bearer
description: A Business API key (qrf_live_…) or an OAuth access token.
oauth2:
type: oauth2
flows:
authorizationCode:
authorizationUrl: https://qrflow.codes/oauth/authorize
tokenUrl: https://qrflow.codes/api/oauth/token
refreshUrl: https://qrflow.codes/api/oauth/token
scopes:
profile: Plan and email
codes:read: Read codes
codes:write: Create, edit, delete codes
analytics:read: Scan analytics
domains:read: Link domains
webhooks:manage: Webhooks
externalDocs:
url: https://qrflow.codes/developers
description: Human-readable reference with curl examples
x-mcp:
url: https://qrflow.codes/mcp
transport: streamable-http
auth: oauth2 (dynamic client registration, PKCE S256) or a Business API key as bearer
x-rate-limits:
api_keys: 600 requests per minute per key
bulk: 10,000 codes per month on Business, 2,000 per request