link
Link statistics
Returns detailed statistics for link in given period
post/link/{linkId}
Request
- Base URLhttps://statistics.short.io/statistics
- URLhttps://statistics.short.io/statistics/link/{linkId}
- AuthAPI key in header Authorization
Path parameters
linkIdstring required
Request body
Response
link statistics
Example response
{
"totalClicks": 12345,
"humanClicks": 10000,
"interval": {
"startDate": "2019-09-11T02:59:59.999Z",
"endDate": "2019-08-11T02:59:59.000Z",
"prevStartDate": "2019-07-11T03:00:00.000Z",
"prevEndDate": "2019-08-11T03:00:00.000Z"
},
"totalClicksChange": "34.53",
"humanClicksChange": "-67.15",
"clickStatistics": {
"datasets": [
{
"data": [
{
"y": 5,
"x": "2019-08-11T03:00:00.000Z"
}
]
}
]
},
"referer": [
{
"score": 123,
"referer": "google.com"
}
],
"social": [
{
"score": 123,
"social": "Facebook"
}
],
"browser": [
{
"score": 54,
"browser": "Firefox"
}
],
"country": [
{
"score": 54,
"country": "US",
"countryName": "United States"
}
],
"city": [
{
"city": "5393015",
"name": "Santa Clara",
"countryCode": "US"
}
],
"os": [
{
"score": 13,
"os": "Windows"
}
]
}Changes
No recorded changes to this operation across all 1 revision of this API.