Get the analytics summary
Get follower and posting figures for the whole workspace over a period, with a comparison to the previous period.
The summary covers every connected account whose network supports analytics. Every figure that is measured against the previous period comes as an object with two keys: value, and change, the difference in percent. change is null when the previous period gives nothing to compare against.
Request
- Method:
GET - URL:
https://app.socialk.it/core/api/<workspaceUuid>/analytics - Authorization:
Bearer <personal-key> - Roles: Admin, Member, Viewer (see Permissions)
Path parameters
| Parameter | Type | Description |
|---|---|---|
workspaceUuid | string | UUID of the workspace. |
Query parameters
| Parameter | Type | Required | Description |
|---|---|---|---|
period | string | No | Preset range, one of this_month (default), last_month, last_3_months, this_week, last_week or this_year. See Periods. |
date_from | string | Yes, if date_to is sent | First day of a custom range, YYYY-MM-DD. |
date_to | string | Yes, if date_from is sent | Last day of the custom range, YYYY-MM-DD. Not before date_from, and the range spans less than 366 days. |
Periods
Dates are UTC days. A custom range (date_from and date_to together) wins over period. The response period object shows the range that was used and the previous range of the same length that ends the day before it starts, which is what every change figure compares against.
period | From | To |
|---|---|---|
this_week | Start of this week | Today |
last_week | Start of last week | End of last week |
this_month | First day of this month | Today |
last_month | First day of last month | Last day of last month |
last_3_months | First day of the month three months ago | Last day of last month |
this_year | 1 January | Today |
Example
curl -X GET 'https://app.socialk.it/core/api/<workspaceUuid>/analytics?date_from=2026-11-01&date_to=2026-11-03' \
-H 'Accept: application/json' \
-H 'Authorization: Bearer <personal-key>'Response
{
"period": {
"start_date": "2026-11-01",
"end_date": "2026-11-03",
"previous_start_date": "2026-10-29",
"previous_end_date": "2026-10-31"
},
"data": {
"total_followers": 110,
"follower_growth": {
"value": 10,
"change": 100
},
"total_posts": {
"value": 4,
"change": 33.3
},
"best_account": {
"account": {
"id": 3,
"uuid": "ed1d7f93-ebca-4217-957c-a25fbb2c1075",
"name": "Northwind Studio",
"username": "northwindhq",
"image": "https://app.socialk.it/storage/avatars/northwind-hq.jpg",
"provider": "twitter",
"data": null,
"authorized": true,
"profile_url": "https://x.com/northwindhq",
"created_at": "2026-03-29 09:55:31"
},
"followers": 110,
"follower_growth": 10,
"growth_rate": 10,
"posts": 4
},
"needs_attention": null,
"audience_chart": [
{
"date": "2026-11-01",
"value": 100
},
{
"date": "2026-11-02",
"value": 104
},
{
"date": "2026-11-03",
"value": 110
}
],
"leaderboard": [
{
"account": {
"id": 3,
"uuid": "ed1d7f93-ebca-4217-957c-a25fbb2c1075",
"name": "Northwind Studio",
"username": "northwindhq",
"image": "https://app.socialk.it/storage/avatars/northwind-hq.jpg",
"provider": "twitter",
"data": null,
"authorized": true,
"profile_url": "https://x.com/northwindhq",
"created_at": "2026-03-29 09:55:31"
},
"followers": 110,
"follower_growth": 10,
"growth_rate": 10,
"posts": 4
}
],
"most_active": {
"account": {
"id": 3,
"uuid": "ed1d7f93-ebca-4217-957c-a25fbb2c1075",
"name": "Northwind Studio",
"username": "northwindhq",
"image": "https://app.socialk.it/storage/avatars/northwind-hq.jpg",
"provider": "twitter",
"data": null,
"authorized": true,
"profile_url": "https://x.com/northwindhq",
"created_at": "2026-03-29 09:55:31"
},
"followers": 110,
"follower_growth": 10,
"growth_rate": 10,
"posts": 4
},
"least_active": null,
"follower_distribution": [
{
"account": {
"id": 3,
"uuid": "ed1d7f93-ebca-4217-957c-a25fbb2c1075",
"name": "Northwind Studio",
"username": "northwindhq",
"image": "https://app.socialk.it/storage/avatars/northwind-hq.jpg",
"provider": "twitter",
"data": null,
"authorized": true,
"profile_url": "https://x.com/northwindhq",
"created_at": "2026-03-29 09:55:31"
},
"followers": 110,
"percentage": 100
}
],
"posting_streak": {
"active_days": 2,
"total_days": 3,
"percentage": 67
}
}
}period is the range used. In data:
| Field | Type | Description |
|---|---|---|
total_followers | integer | Followers across all accounts at the end of the range. |
follower_growth | object | value is the followers gained in the range, change compares it with the previous range. |
total_posts | object | value is the posts published in the range across all accounts, change compares it with the previous range. |
best_account | object or null | The account with the highest follower growth rate. |
needs_attention | object or null | The account that shrank the most. It appears only when its growth rate is below zero and it differs from best_account. |
audience_chart | array | One {"date", "value"} point for each day in the range, holding the combined followers of all accounts. A day without any stored audience figure has value set to null. |
leaderboard | array | Every account, most followers first. |
most_active | object or null | The account with the most posts in the range. |
least_active | object or null | The account with the fewest posts. null when only one account counts. |
follower_distribution | array | The follower count and percentage of each account, largest first. Empty when the workspace has no followers. |
posting_streak | object | active_days (days with at least one post), total_days in the range and percentage (rounded). |
The account entries in best_account, needs_attention, most_active, least_active and leaderboard hold account (the account fields), followers, follower_growth, growth_rate (percent) and posts. Entries in follower_distribution hold account, followers and percentage.
{
"message": "Unauthenticated."
}