Bitsy Link
Retrieve a Bitsy Link Analytics
Retrieve a Bitsy Link Analytics
GET
/
link
/
stats
Copy
curl --request GET \
--url https://api.bsy.sh/v1/link/stats \
--header 'Authorization: Bearer <token>'
Copy
{
"status": "success",
"data": {
"timeframe": "<string>",
"total_count": 123,
"unique_count": 123,
"stats": {
"country": [
{
"name": "<string>",
"total_count": 123,
"unique_count": 123
}
],
"region": [
{
"name": "<string>",
"total_count": 123,
"unique_count": 123
}
],
"city": [
{
"name": "<string>",
"total_count": 123,
"unique_count": 123
}
],
"os_name": [
{
"name": "<string>",
"total_count": 123,
"unique_count": 123
}
],
"device_type": [
{
"name": "<string>",
"total_count": 123,
"unique_count": 123
}
],
"device_brand": [
{
"name": "<string>",
"total_count": 123,
"unique_count": 123
}
],
"device_model": [
{
"name": "<string>",
"total_count": 123,
"unique_count": 123
}
],
"client_name": [
{
"name": "<string>",
"total_count": 123,
"unique_count": 123
}
],
"timezone": [
{
"name": "<string>",
"total_count": 123,
"unique_count": 123
}
],
"language": [
{
"name": "<string>",
"total_count": 123,
"unique_count": 123
}
],
"referrer": [
{
"name": "<string>",
"total_count": 123,
"unique_count": 123
}
],
"interval": {
"hour": [
{
"date": "<string>",
"total_count": 123,
"unique_count": 123
}
],
"day": [
{
"date": "<string>",
"total_count": 123,
"unique_count": 123
}
],
"week": [
{
"date": "<string>",
"total_count": 123,
"unique_count": 123
}
],
"month": [
{
"date": "<string>",
"total_count": 123,
"unique_count": 123
}
],
"year": [
{
"date": "<string>",
"total_count": 123,
"unique_count": 123
}
]
}
}
}
}
Authorizations
Bearer authentication header of the form Bearer <token>
, where <token>
is your auth token.
Query Parameters
The unique identifier for the Bitsy Link.
Start date for filtering link analytics. Must be in 'YYYY-MM-DD' format.
End date for filtering link analytics. Must be in 'YYYY-MM-DD' format.
Response
200
application/json
Details of the requested Bitsy Link Analytics
The response is of type object
.
Was this page helpful?
Copy
curl --request GET \
--url https://api.bsy.sh/v1/link/stats \
--header 'Authorization: Bearer <token>'
Copy
{
"status": "success",
"data": {
"timeframe": "<string>",
"total_count": 123,
"unique_count": 123,
"stats": {
"country": [
{
"name": "<string>",
"total_count": 123,
"unique_count": 123
}
],
"region": [
{
"name": "<string>",
"total_count": 123,
"unique_count": 123
}
],
"city": [
{
"name": "<string>",
"total_count": 123,
"unique_count": 123
}
],
"os_name": [
{
"name": "<string>",
"total_count": 123,
"unique_count": 123
}
],
"device_type": [
{
"name": "<string>",
"total_count": 123,
"unique_count": 123
}
],
"device_brand": [
{
"name": "<string>",
"total_count": 123,
"unique_count": 123
}
],
"device_model": [
{
"name": "<string>",
"total_count": 123,
"unique_count": 123
}
],
"client_name": [
{
"name": "<string>",
"total_count": 123,
"unique_count": 123
}
],
"timezone": [
{
"name": "<string>",
"total_count": 123,
"unique_count": 123
}
],
"language": [
{
"name": "<string>",
"total_count": 123,
"unique_count": 123
}
],
"referrer": [
{
"name": "<string>",
"total_count": 123,
"unique_count": 123
}
],
"interval": {
"hour": [
{
"date": "<string>",
"total_count": 123,
"unique_count": 123
}
],
"day": [
{
"date": "<string>",
"total_count": 123,
"unique_count": 123
}
],
"week": [
{
"date": "<string>",
"total_count": 123,
"unique_count": 123
}
],
"month": [
{
"date": "<string>",
"total_count": 123,
"unique_count": 123
}
],
"year": [
{
"date": "<string>",
"total_count": 123,
"unique_count": 123
}
]
}
}
}
}
Assistant
Responses are generated using AI and may contain mistakes.