GET
/
links
/
{id}
/
stats
curl --request GET \
  --url https://api.reqlick.com/links/{id}/stats \
  --header 'Authorization: Bearer <token>'
{
  "views": [
    {
      "_id": "<string>",
      "linkId": "<string>",
      "projectId": "<string>",
      "viewedAt": "2023-11-07T05:31:56Z",
      "isBot": true,
      "projectDetails": {
        "_id": "<string>",
        "name": "<string>",
        "url": "<string>",
        "createdAt": "2023-11-07T05:31:56Z",
        "viewedAt": "2023-11-07T05:31:56Z",
        "updatedAt": "2023-11-07T05:31:56Z",
        "isArchived": true,
        "subscriptionId": "<string>",
        "logo": "<string>"
      },
      "memberDetails": {
        "_id": "<string>",
        "userId": "<string>",
        "role": "<string>",
        "status": "<string>",
        "projectId": "<string>",
        "createdAt": "2023-11-07T05:31:56Z",
        "updatedAt": "2023-11-07T05:31:56Z"
      },
      "link": {
        "_id": "<string>",
        "url": "<string>",
        "key": "<string>",
        "expiresAt": "<string>",
        "password": "<string>",
        "proxy": true,
        "isFile": true,
        "isQR": true,
        "title": "<string>",
        "description": "<string>",
        "image": "<string>",
        "createdAt": "2023-11-07T05:31:56Z",
        "updatedAt": "2023-11-07T05:31:56Z",
        "projectId": "<string>",
        "isPublic": true,
        "isActive": true,
        "isArchived": true,
        "isRecord": true,
        "domain": "<string>",
        "ios": "<string>",
        "android": "<string>"
      },
      "viewData": {
        "_id": "<string>",
        "viewId": "<string>",
        "h_userAgent": "<string>",
        "h_referer": "<string>",
        "h_acceptLanguage": "<string>",
        "h_sec_ch_ua_platform": "<string>",
        "sessionId": "<string>",
        "b_screen": {},
        "b_screen_width": 123,
        "b_screen_height": 123,
        "b_navigator": {},
        "b_history": {},
        "b_hostname": "<string>",
        "b_pathname": "<string>",
        "b_language": "<string>",
        "b_search": "<string>",
        "b_currentScript": "<string>",
        "b_geo": {
          "b_isLocated": true,
          "b_error": {}
        },
        "newProjectVisitor": true,
        "newLinkVisitor": true,
        "v_start_time": "2023-11-07T05:31:56Z",
        "updatedAt": "2023-11-07T05:31:56Z",
        "isAd": true,
        "device": "<string>",
        "screenResolution": "<string>",
        "deviceVendor": "<string>",
        "browser": "<string>",
        "browserEngine": "<string>",
        "os": "<string>",
        "source": "<string>",
        "country": "<string>",
        "countryCode": "<string>",
        "region": "<string>",
        "regionCode": "<string>",
        "city": "<string>",
        "lang": "<string>",
        "referrer": "<string>",
        "lat": 123,
        "long": 123,
        "v_end_time": "2023-11-07T05:31:56Z"
      }
    }
  ],
  "uniqueVisitorCount": 123,
  "averageVisitTime": "<string>",
  "links": [
    {
      "name": "<string>",
      "value": 123
    }
  ],
  "linksMax": 123,
  "all": [
    {
      "name": "<string>",
      "value": 123
    }
  ],
  "allMax": 123,
  "browsersMax": 123,
  "osMax": 123,
  "devicesMax": 123,
  "deviceTypeMax": 123,
  "browsers": [
    {
      "name": "<string>",
      "value": 123
    }
  ],
  "engines": [
    {
      "name": "<string>",
      "value": 123
    }
  ],
  "os": [
    {
      "name": "<string>",
      "value": 123
    }
  ],
  "devices": [
    {
      "name": "<string>",
      "value": 123
    }
  ],
  "deviceType": [
    {
      "name": "<string>",
      "value": 123
    }
  ],
  "usersIp": [
    {
      "name": "<string>",
      "value": 123
    }
  ],
  "languages": [
    {
      "name": "<string>",
      "value": 123
    }
  ],
  "languagesMax": 123,
  "countries": [
    {
      "name": "<string>",
      "shortCode": "<string>",
      "value": 123
    }
  ],
  "regions": [
    {
      "country": "<string>",
      "shortCode": "<string>",
      "name": "<string>",
      "value": 123
    }
  ],
  "cities": [
    {
      "country": "<string>",
      "shortCode": "<string>",
      "name": "<string>",
      "value": 123
    }
  ],
  "internetProviders": [
    {}
  ],
  "markersData": [
    {
      "idx": 123,
      "name": "<string>",
      "latitude": 123,
      "longitude": 123
    }
  ]
}

Authorizations

Authorization
string
header
required

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

Path Parameters

id
string
required

Query Parameters

url
string
required
startDate
string
endDate
string

Response

200
application/json
Successfully retrieved link stats analytics
views
object[]
uniqueVisitorCount
integer
averageVisitTime
string
all
object[]
allMax
integer
browsersMax
integer
osMax
integer
devicesMax
integer
deviceTypeMax
integer
browsers
object[]
engines
object[]
os
object[]
devices
object[]
deviceType
object[]
usersIp
object[]
languages
object[]
languagesMax
integer
countries
object[]
regions
object[]
cities
object[]
internetProviders
object[]
markersData
object[]