QR Manager Analytics API
Scan analytics for individual QR codes and your account.
Scan analytics for individual QR codes and your account.
Every API here is available over the APIs.io API and to AI agents over MCP.
One button, every client — Claude, Cursor, VS Code and the rest.
https://apis.io/mcp
find_apisBrowse and filter every API in the catalog.get_api_artifactsOne API's artifacts, grouped by type.get_openapiThe primary OpenAPI for this API.find_similar_apisAPIs that look like this one.apis_io_searchSTART HERE — APIs, providers and tags for one query, each with its total.resolveTurn a domain, URL or GitHub org into the provider it belongs to.find_cohortsEvery scored population of providers in the catalog.curl "https://apis.io/api/v1/apis/qr-manager-ai:qr-manager-ai-analytics-api"
curl "https://apis.io/api/v1/apis?limit=25"
Calls without X-API-Key need no key. Calls with it need a paid plan — get a 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.
A second provider on the same verified email joins the account you already have.
openapi: 3.2.0
info:
title: QR Manager AI Analytics API
version: '1'
description: 'The QR Manager AI REST API lets you create, manage, and analyse QR codes
programmatically. All endpoints require an API key issued from
**Settings → API Keys**.
### Authentication
Pass your API key as a Bearer token in every request:
```
Authorization: Bearer qrm_your_api_key_here
```
### Plan requirements
| Tier | Access |
|---|---|
| **Free** | No API access |
| **Starter** | List, get, analytics, notifications, folders (read + write) |
| **Pro / Enterprise** | Full access including create, update, and delete QR codes |
### Base URL
```
https://qr-manager.ai/api/v1
```'
contact:
name: QR Manager AI Support
email: support@qr-manager.ai
license:
name: Proprietary
servers:
- url: https://qr-manager.ai/api/v1
description: Production
security:
- ApiKeyAuth: []
tags:
- name: Analytics
description: Scan analytics for individual QR codes and your account.
paths:
/qr/{slug}/analytics:
parameters:
- name: slug
in: path
required: true
schema:
type: string
example: abc12345
- name: range
in: query
description: Rolling window in days. Accepted values are `7`, `30`, or `90`. Ignored when `from`/`to` or `period` is provided. Defaults to `30`.
schema:
type: integer
enum:
- 7
- 30
- 90
default: 30
- name: period
in: query
description: Named rolling window alias. Overrides `range`; ignored when `from`/`to` is provided.
schema:
type: string
enum:
- week
- month
- quarter
- year
- name: from
in: query
description: Custom window start date (YYYY-MM-DD, UTC midnight). Takes priority over `period` and `range`. Capped at 365 days.
schema:
type: string
format: date
example: '2026-01-01'
- name: to
in: query
description: Custom window end date (YYYY-MM-DD). Defaults to today when `from` is provided without `to`.
schema:
type: string
format: date
example: '2026-01-31'
- name: tz
in: query
description: IANA timezone for day/hour boundary bucketing. Defaults to `UTC`.
schema:
type: string
example: America/New_York
- name: granularity
in: query
description: Time bucket size. `hour` is only accepted for windows of 7 days or less and returns `hourlySeries` instead of `dailyScans`.
schema:
type: string
enum:
- day
- hour
default: day
get:
operationId: getQrAnalytics
summary: Get QR code analytics
description: 'Returns scan analytics for a single QR code.
- **Starter+**: total scan counts, unique scan count, and a time series (`dailyScans` or `hourlySeries`).
- **Pro / Enterprise**: additionally returns top-5 breakdowns by country, city, region, device, browser, OS, referrer, and language.
`URL` and `SHORTLINK` codes return full analytics. Other types return `totalScans` only (static codes don''t route through the server).
**`uniqueScans`** counts distinct scanner fingerprints (coarse IP prefix + user-agent) per calendar day.
Accurate from 2026-05-30 onwards; historical rows before this date are counted as unique by default.'
tags:
- Analytics
x-required-plan: Starter
responses:
'200':
description: OK
content:
application/json:
schema:
$ref: '#/components/schemas/QrAnalyticsResponse'
examples:
starter_daily:
summary: Starter — daily granularity
value:
slug: abc12345
range: 30
totalScans: 1842
periodScans: 374
uniqueScans: 298
last7Days: 92
last30Days: 374
dailyScans:
- date: '2026-04-26'
scans: 12
- date: '2026-04-27'
scans: 8
named_period:
summary: Named period (period=month)
value:
slug: abc12345
period: month
totalScans: 1842
periodScans: 374
uniqueScans: 298
dailyScans:
- date: '2026-05-01'
scans: 9
hourly:
summary: Hourly granularity (granularity=hour, range=7)
value:
slug: abc12345
range: 7
totalScans: 1842
periodScans: 374
uniqueScans: 298
hourlySeries:
- hour: 2026-05-24T00:00
scans: 2
- hour: 2026-05-24T01:00
scans: 0
pro:
summary: Pro response (includes breakdowns)
value:
slug: abc12345
range: 30
totalScans: 1842
periodScans: 374
uniqueScans: 298
last7Days: 92
last30Days: 374
dailyScans:
- date: '2026-04-26'
scans: 12
topCountries:
- name: United States
scans: 210
topCities:
- name: New York
scans: 48
topRegions:
- name: New York
scans: 95
topDevices:
- name: Mobile
scans: 295
topBrowsers:
- name: Chrome
scans: 198
topOs:
- name: Android
scans: 180
topReferrers:
- name: instagram.com
scans: 42
topLanguages:
- name: en-US
scans: 201
'400':
$ref: '#/components/responses/BadRequest'
'401':
$ref: '#/components/responses/Unauthorized'
'403':
$ref: '#/components/responses/Forbidden'
'404':
$ref: '#/components/responses/NotFound'
/analytics:
get:
operationId: getAccountAnalytics
summary: Get account-wide analytics
description: 'Returns an aggregated analytics summary across all URL-type QR codes in the account.
- **Starter+**: total scans, unique scan count, time series, and top 10 QR codes by period scans.
- **Pro / Enterprise**: additionally returns top-5 breakdowns by country, city, region, device, language, and referrer.
**`uniqueScans`** counts distinct scanner fingerprints across all QR codes in the account for the period.
Accurate from 2026-05-30 onwards; historical rows before this date are counted as unique by default.'
tags:
- Analytics
x-required-plan: Starter
parameters:
- name: range
in: query
description: Rolling window in days. Accepted values are `7`, `30`, or `90`. Ignored when `from`/`to` or `period` is provided. Defaults to `30`.
schema:
type: integer
enum:
- 7
- 30
- 90
default: 30
- name: period
in: query
description: Named rolling window alias. Overrides `range`; ignored when `from`/`to` is provided.
schema:
type: string
enum:
- week
- month
- quarter
- year
- name: from
in: query
description: Custom window start date (YYYY-MM-DD, UTC midnight). Capped at 365 days.
schema:
type: string
format: date
example: '2026-01-01'
- name: to
in: query
description: Custom window end date (YYYY-MM-DD). Defaults to today when `from` is provided without `to`.
schema:
type: string
format: date
example: '2026-01-31'
- name: tz
in: query
description: IANA timezone for day/hour boundary bucketing. Defaults to `UTC`.
schema:
type: string
example: America/New_York
- name: granularity
in: query
description: Time bucket size. `hour` is only accepted for windows of 7 days or less and returns `hourlySeries` instead of `dailyScans`.
schema:
type: string
enum:
- day
- hour
default: day
responses:
'200':
description: OK
content:
application/json:
schema:
$ref: '#/components/schemas/AccountAnalyticsResponse'
examples:
starter:
summary: Starter — daily granularity
value:
range: 30
totalScans: 12483
periodScans: 2841
uniqueScans: 2190
qrCodeCount: 17
topQrCodes:
- slug: abc12345
title: Summer Campaign
periodScans: 820
totalScans: 4200
dailyScans:
- date: '2026-04-26'
scans: 98
named_period:
summary: Named period (period=quarter)
value:
period: quarter
totalScans: 12483
periodScans: 8210
uniqueScans: 6300
qrCodeCount: 17
topQrCodes:
- slug: abc12345
title: Summer Campaign
periodScans: 2800
totalScans: 4200
dailyScans:
- date: '2026-02-28'
scans: 91
pro:
summary: Pro response (includes breakdowns)
value:
range: 30
totalScans: 12483
periodScans: 2841
uniqueScans: 2190
qrCodeCount: 17
topQrCodes:
- slug: abc12345
title: Summer Campaign
periodScans: 820
totalScans: 4200
dailyScans:
- date: '2026-04-26'
scans: 98
topCountries:
- name: United States
scans: 1820
topCities:
- name: New York
scans: 410
topRegions:
- name: California
scans: 680
topDevices:
- name: Mobile
scans: 2100
topLanguages:
- name: en-US
scans: 1900
topReferrers:
- name: instagram.com
scans: 320
'400':
$ref: '#/components/responses/BadRequest'
'401':
$ref: '#/components/responses/Unauthorized'
'403':
$ref: '#/components/responses/Forbidden'
components:
schemas:
BreakdownEntry:
type: object
required:
- name
- scans
properties:
name:
type: string
example: United States
scans:
type: integer
example: 210
Error:
type: object
required:
- error
properties:
error:
type: string
description: Human-readable error message.
example: QR code not found.
DailyCount:
type: object
required:
- date
- scans
properties:
date:
type: string
format: date
example: '2026-04-26'
scans:
type: integer
example: 42
QrAnalyticsResponse:
type: object
required:
- slug
- totalScans
properties:
slug:
type: string
example: abc12345
range:
type: integer
description: Present when the `range` param was used. The rolling window in days.
example: 30
period:
type: string
enum:
- week
- month
- quarter
- year
description: Present when the `period` param was used.
example: month
from:
type: string
format: date
description: Present when a custom `from`/`to` window was requested.
example: '2026-01-01'
to:
type: string
format: date
description: Present when a custom `from`/`to` window was requested.
example: '2026-01-31'
tz:
type: string
description: Present when a non-UTC timezone was requested.
example: America/New_York
totalScans:
type: integer
description: All-time scan count (bot scans excluded).
example: 1842
periodScans:
type: integer
description: Total scan count within the requested window (includes repeat scans).
example: 374
uniqueScans:
type: integer
description: 'Deduplicated scan count within the window. Counts distinct scanner fingerprints
(coarse IP prefix + user-agent) per calendar day. Accurate from 2026-05-30 onwards.
'
example: 298
last7Days:
type: integer
description: Present when `range=30` or `range=90`.
example: 92
last30Days:
type: integer
nullable: true
description: Present when `range=30` or `range=90`.
example: 374
last90Days:
type: integer
nullable: true
description: Present when `range=90`.
dailyScans:
type: array
description: One entry per calendar day in the window, oldest first. Present when `granularity=day` (default).
items:
$ref: '#/components/schemas/DailyCount'
hourlySeries:
type: array
description: One entry per hour in the window, oldest first. Present when `granularity=hour` (replaces `dailyScans`).
items:
$ref: '#/components/schemas/HourlyCount'
topCountries:
type: array
description: '**Pro / Enterprise only.** Top 5 countries by scan count.'
items:
$ref: '#/components/schemas/BreakdownEntry'
topCities:
type: array
description: '**Pro / Enterprise only.** Top 5 cities.'
items:
$ref: '#/components/schemas/BreakdownEntry'
topRegions:
type: array
description: '**Pro / Enterprise only.** Top 5 states or provinces.'
items:
$ref: '#/components/schemas/BreakdownEntry'
topDevices:
type: array
description: '**Pro / Enterprise only.** Top 5 device types (Mobile, Desktop, Tablet).'
items:
$ref: '#/components/schemas/BreakdownEntry'
topBrowsers:
type: array
description: '**Pro / Enterprise only.** Top 5 browsers.'
items:
$ref: '#/components/schemas/BreakdownEntry'
topOs:
type: array
description: '**Pro / Enterprise only.** Top 5 operating systems.'
items:
$ref: '#/components/schemas/BreakdownEntry'
topReferrers:
type: array
description: '**Pro / Enterprise only.** Top 5 referring domains.'
items:
$ref: '#/components/schemas/BreakdownEntry'
topLanguages:
type: array
description: '**Pro / Enterprise only.** Top 5 Accept-Language values.'
items:
$ref: '#/components/schemas/BreakdownEntry'
note:
type: string
description: Present for static QR types (non-URL, non-SHORTLINK) explaining why detailed analytics are unavailable.
AccountAnalyticsResponse:
type: object
required:
- totalScans
- periodScans
- uniqueScans
- qrCodeCount
- topQrCodes
properties:
range:
type: integer
description: Present when the `range` param was used.
example: 30
period:
type: string
enum:
- week
- month
- quarter
- year
description: Present when the `period` param was used.
example: quarter
from:
type: string
format: date
description: Present when a custom `from`/`to` window was requested.
to:
type: string
format: date
description: Present when a custom `from`/`to` window was requested.
tz:
type: string
description: Present when a non-UTC timezone was requested.
totalScans:
type: integer
description: All-time total across all QR codes in the account.
example: 12483
periodScans:
type: integer
description: Total scans in the window across all QR codes (includes repeat scans).
example: 2841
uniqueScans:
type: integer
description: 'Deduplicated scan count for the window. Counts distinct scanner fingerprints
(coarse IP prefix + user-agent) per calendar day. Accurate from 2026-05-30 onwards.
'
example: 2190
qrCodeCount:
type: integer
description: Total number of active URL-type QR codes in the account.
example: 17
topQrCodes:
type: array
description: Top 10 QR codes by period scans.
items:
type: object
required:
- slug
- periodScans
- totalScans
properties:
slug:
type: string
example: abc12345
title:
type: string
nullable: true
example: Summer Campaign
periodScans:
type: integer
example: 820
totalScans:
type: integer
example: 4200
dailyScans:
type: array
description: One entry per calendar day in the window, oldest first. Present when `granularity=day` (default).
items:
$ref: '#/components/schemas/DailyCount'
hourlySeries:
type: array
description: One entry per hour in the window, oldest first. Present when `granularity=hour` (replaces `dailyScans`).
items:
$ref: '#/components/schemas/HourlyCount'
topCountries:
type: array
description: '**Pro / Enterprise only.** Top 5 countries.'
items:
$ref: '#/components/schemas/BreakdownEntry'
topCities:
type: array
description: '**Pro / Enterprise only.** Top 5 cities.'
items:
$ref: '#/components/schemas/BreakdownEntry'
topRegions:
type: array
description: '**Pro / Enterprise only.** Top 5 states or provinces.'
items:
$ref: '#/components/schemas/BreakdownEntry'
topDevices:
type: array
description: '**Pro / Enterprise only.** Top 5 device types.'
items:
$ref: '#/components/schemas/BreakdownEntry'
topLanguages:
type: array
description: '**Pro / Enterprise only.** Top 5 Accept-Language values.'
items:
$ref: '#/components/schemas/BreakdownEntry'
topReferrers:
type: array
description: '**Pro / Enterprise only.** Top 5 referring domains.'
items:
$ref: '#/components/schemas/BreakdownEntry'
HourlyCount:
type: object
required:
- hour
- scans
properties:
hour:
type: string
description: Hour bucket in `YYYY-MM-DDTHH:00` format, in the requested timezone.
example: 2026-04-26T14:00
scans:
type: integer
example: 7
responses:
NotFound:
description: The requested resource does not exist or belongs to another account.
content:
application/json:
schema:
$ref: '#/components/schemas/Error'
example:
error: QR code not found.
BadRequest:
description: The request body is missing required fields or contains invalid values.
content:
application/json:
schema:
$ref: '#/components/schemas/Error'
example:
error: redirectUrl is required for URL type
Forbidden:
description: Your plan does not include access to this endpoint.
content:
application/json:
schema:
$ref: '#/components/schemas/Error'
example:
error: API access requires a Starter account or above.
Unauthorized:
description: Missing or invalid API key.
content:
application/json:
schema:
$ref: '#/components/schemas/Error'
example:
error: Unauthorized
securitySchemes:
ApiKeyAuth:
type: http
scheme: bearer
description: API key from Settings → API Keys. Keys are prefixed with `qrm_`.