QRcodly Analytics API
Retrieve click analytics for short URLs including pageviews, visitor counts, browser/OS/device/country breakdowns, and time-series data.
Retrieve click analytics for short URLs including pageviews, visitor counts, browser/OS/device/country breakdowns, and time-series data.
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/qrcodly-de:qrcodly-de-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: QRcodly Analytics API
version: 1.0.0
description: The QRcodly REST API lets you create, manage, and track QR codes and short URLs programmatically. Features include dynamic QR codes with editable destinations, customizable styling, bulk CSV import, URL shortening with click analytics, tagging, shareable public links, and design templates. All endpoints require Bearer token authentication unless marked as public.
contact:
name: QRcodly Support
url: https://qrcodly.com
servers:
- url: https://api.qrcodly.de/api/v1
description: API v1
security:
- bearerAuth: []
tags:
- name: Analytics
description: Retrieve click analytics for short URLs including pageviews, visitor counts, browser/OS/device/country breakdowns, and time-series data.
paths:
/short-url/{shortCode}/analytics:
get:
operationId: short-url/get-analytics
summary: Get analytics for a short URL
tags:
- Analytics
description: Returns analytics for a short URL. Every plan gets the aggregate statistics and a summary (last 7 days, top country, top device). The time-series data and the breakdowns by browser, operating system, device type and country require the Pro plan; without it they are null and `detailsLocked` is true. Only the owner can access analytics for their short URLs.
parameters:
- schema:
type: string
in: path
name: shortCode
required: true
description: The 5-character short URL code
responses:
'200':
description: Default Response
content:
application/json:
schema:
type: object
properties:
shortUrlStats:
type: object
properties:
pageviews:
type: number
description: Total number of pageviews
visitors:
type: number
description: Total number of unique visitors
visits:
type: number
description: Total number of visits (sessions)
bounces:
type: number
description: Total number of bounce visits (single-page sessions)
totaltime:
type: number
description: Total time spent across all visits in seconds
required:
- pageviews
- visitors
- visits
- bounces
- totaltime
additionalProperties: false
description: Aggregate statistics for the short URL
summary:
type: object
properties:
pageviewsLast7Days:
type: number
description: Pageviews over the last 7 days
visitorsLast7Days:
type: number
description: Visitors over the last 7 days, summed from the hourly session counts
topCountry:
description: Country with the most traffic, if any
type:
- object
- 'null'
properties:
label:
type: string
description: Category label (country code for countries, device type for devices)
share:
type: number
description: Share of all tracked traffic in percent, rounded to a whole number
required:
- label
- share
additionalProperties: false
topDevice:
description: Device type with the most traffic, if any
type:
- object
- 'null'
properties:
label:
type: string
description: Category label (country code for countries, device type for devices)
share:
type: number
description: Share of all tracked traffic in percent, rounded to a whole number
required:
- label
- share
additionalProperties: false
required:
- pageviewsLast7Days
- visitorsLast7Days
- topCountry
- topDevice
additionalProperties: false
description: Headline figures, available on every plan
detailsLocked:
type: boolean
description: True when the detailed breakdowns below require the Pro plan; they are null in that case
viewsAndSessions:
description: Time-series data for pageviews and sessions (Pro only)
type:
- object
- 'null'
properties:
pageviews:
type: array
items:
type: object
properties:
date:
type: string
description: Date label for this data point (e.g. "2025-06-15")
value:
type: number
description: Numeric value for this data point
required:
- date
- value
additionalProperties: false
description: Time-series of daily pageview counts
sessions:
type: array
items:
type: object
properties:
date:
type: string
description: Date label for this data point (e.g. "2025-06-15")
value:
type: number
description: Numeric value for this data point
required:
- date
- value
additionalProperties: false
description: Time-series of daily session counts
required:
- pageviews
- sessions
additionalProperties: false
browserMetrics:
description: Click breakdown by browser, e.g. Chrome, Firefox, Safari (Pro only)
type:
- array
- 'null'
items:
type: object
properties:
label:
type: string
description: Metric category label (e.g. browser name, country code)
count:
type: number
description: Number of occurrences for this category
required:
- label
- count
additionalProperties: false
osMetrics:
description: Click breakdown by operating system, e.g. Windows, macOS, Android (Pro only)
type:
- array
- 'null'
items:
type: object
properties:
label:
type: string
description: Metric category label (e.g. browser name, country code)
count:
type: number
description: Number of occurrences for this category
required:
- label
- count
additionalProperties: false
deviceMetrics:
description: Click breakdown by device type, e.g. desktop, mobile, tablet (Pro only)
type:
- array
- 'null'
items:
type: object
properties:
label:
type: string
description: Metric category label (e.g. browser name, country code)
count:
type: number
description: Number of occurrences for this category
required:
- label
- count
additionalProperties: false
countryMetrics:
description: Click breakdown by country (Pro only)
type:
- array
- 'null'
items:
type: object
properties:
label:
type: string
description: Metric category label (e.g. browser name, country code)
count:
type: number
description: Number of occurrences for this category
required:
- label
- count
additionalProperties: false
required:
- shortUrlStats
- summary
- detailsLocked
- viewsAndSessions
- browserMetrics
- osMetrics
- deviceMetrics
- countryMetrics
additionalProperties: false
'401':
description: Unauthorized — missing or invalid Bearer token.
content:
application/json:
schema:
type: object
properties:
message:
type: string
description: Human-readable error message
code:
type: number
description: HTTP status code
required:
- message
- code
additionalProperties: false
description: Unauthorized — missing or invalid Bearer token.
'403':
description: Forbidden — you do not have permission to access this resource.
content:
application/json:
schema:
type: object
properties:
message:
type: string
description: Human-readable error message
code:
type: number
description: HTTP status code
required:
- message
- code
additionalProperties: false
description: Forbidden — you do not have permission to access this resource.
'404':
description: Not Found — the requested resource does not exist.
content:
application/json:
schema:
type: object
properties:
message:
type: string
description: Human-readable error message
code:
type: number
description: HTTP status code
required:
- message
- code
additionalProperties: false
description: Not Found — the requested resource does not exist.
'429':
description: Too Many Requests — rate limit exceeded. Retry after the rate limit window resets.
content:
application/json:
schema:
type: object
properties:
message:
type: string
description: Human-readable error message
code:
type: number
description: HTTP status code
required:
- message
- code
additionalProperties: false
description: Too Many Requests — rate limit exceeded. Retry after the rate limit window resets.
/short-url/{shortCode}/get-views:
get:
operationId: short-url/get-views
summary: Get total views for a short URL
tags:
- Analytics
description: Returns the total view count for a short URL. Results are cached for 1 hour for performance. Only the owner can access view counts for their short URLs.
parameters:
- schema:
type: string
in: path
name: shortCode
required: true
description: The 5-character short URL code
responses:
'200':
description: Default Response
content:
application/json:
schema:
type: object
properties:
views:
type: number
description: Total number of pageviews for this short URL
'401':
description: Unauthorized — missing or invalid Bearer token.
content:
application/json:
schema:
type: object
properties:
message:
type: string
description: Human-readable error message
code:
type: number
description: HTTP status code
required:
- message
- code
additionalProperties: false
description: Unauthorized — missing or invalid Bearer token.
'403':
description: Forbidden — you do not have permission to access this resource.
content:
application/json:
schema:
type: object
properties:
message:
type: string
description: Human-readable error message
code:
type: number
description: HTTP status code
required:
- message
- code
additionalProperties: false
description: Forbidden — you do not have permission to access this resource.
'404':
description: Not Found — the requested resource does not exist.
content:
application/json:
schema:
type: object
properties:
message:
type: string
description: Human-readable error message
code:
type: number
description: HTTP status code
required:
- message
- code
additionalProperties: false
description: Not Found — the requested resource does not exist.
'429':
description: Too Many Requests — rate limit exceeded. Retry after the rate limit window resets.
content:
application/json:
schema:
type: object
properties:
message:
type: string
description: Human-readable error message
code:
type: number
description: HTTP status code
required:
- message
- code
additionalProperties: false
description: Too Many Requests — rate limit exceeded. Retry after the rate limit window resets.
components:
securitySchemes:
bearerAuth:
type: http
scheme: bearer
bearerFormat: API_KEY
description: 'Authenticate with a Bearer token. Pass your API key in the Authorization header: `Authorization: Bearer <your-api-key>`'