QRcodly
APIShort url

Get analytics for a short URL

Returns detailed analytics for a short URL: pageviews, unique visitors, sessions, bounce rate, time-series data, and breakdowns by browser, operating system, device type, and country. Only the owner can access analytics for their short URLs.

GET
/short-url/{shortCode}/analytics

Authorization

bearerAuth
AuthorizationBearer <token>

Authenticate with a Bearer token. Pass your API key in the Authorization header: Authorization: Bearer <your-api-key>

In: header

Path Parameters

shortCode*string

The 5-character short URL code

Response Body

application/json

application/json

application/json

application/json

application/json

curl -X GET "https://api.qrcodly.de/api/v1/short-url/string/analytics"
{
  "shortUrlStats": {
    "pageviews": 0,
    "visitors": 0,
    "visits": 0,
    "bounces": 0,
    "totaltime": 0
  },
  "viewsAndSessions": {
    "pageviews": [
      {
        "date": "string",
        "value": 0
      }
    ],
    "sessions": [
      {
        "date": "string",
        "value": 0
      }
    ]
  },
  "browserMetrics": [
    {
      "label": "string",
      "count": 0
    }
  ],
  "osMetrics": [
    {
      "label": "string",
      "count": 0
    }
  ],
  "deviceMetrics": [
    {
      "label": "string",
      "count": 0
    }
  ],
  "countryMetrics": [
    {
      "label": "string",
      "count": 0
    }
  ]
}
{
  "message": "string",
  "code": 0
}
{
  "message": "string",
  "code": 0
}
{
  "message": "string",
  "code": 0
}
{
  "message": "string",
  "code": 0
}