domain
Domain statistics
Returns detailed statistics for domain in given period
post/domain/{domainId}
Request
- Base URLhttps://statistics.short.io/statistics
- URLhttps://statistics.short.io/statistics/domain/{domainId}
- AuthAPI key in header Authorization
Path parameters
domainIdinteger required
Domain identifier
Request body
Response
domain statistics
Example response
{
"clicks": 12345,
"humanClicks": 10000,
"links": 100,
"linksChange": "12.34",
"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"
},
"clicksPerLink": "0.12",
"clicksPerLinkChange": "234.56",
"humanClicksPerLink": "0.06",
"prevClicksChange": "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.