Skip to main content
GET
QR Code Analytics

Authorizations

Authorization
string
header
required

API key in the Authorization header: Bearer qr_live_… or Bearer qr_test_…. Token endpoints take a Clerk session JWT instead.

Path Parameters

id
string
required

Query Parameters

from
string<date>

Include scans on/after this date.

to
string<date>

Include scans on/before this date.

Response

Analytics summary

object
string
Example:

"analytics"

qr_code_id
string
Example:

"qr_123"

total_scans
integer
first_scan_at
string<date-time> | null
last_scan_at
string<date-time> | null
scans_by_day
object[]
countries
object[]

Top 10 values with scan counts.

cities
object[]

Top 10 values with scan counts.

devices
object[]

Top 10 values with scan counts.

operating_systems
object[]

Top 10 values with scan counts.

browsers
object[]

Top 10 values with scan counts.

referrers
object[]

Top 10 values with scan counts.

languages
object[]

Top 10 values with scan counts.