QRcodly
APIShort url

Get Analytics for short URL

Fetches analytics data for the specified short URL, including click counts, visitor statistics, and other tracking information. Requires authentication, and only the owner of the short URL can access its analytics.

GET
/short-url/{shortCode}/analytics

Authorization

bearerAuth
AuthorizationBearer <token>

Enter your API key to access this API

In: header

Path Parameters

shortCode*string

Response Body

application/json

application/json

application/json

application/json

application/json

curl -X GET "https://qrcodly.theosirislabs.com/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
}