Get analytics overview
curl --request GET \
--url https://api.social-api.ai/v1/analytics/overview \
--header 'Authorization: Bearer <token>'const options = {method: 'GET', headers: {Authorization: 'Bearer <token>'}};
fetch('https://api.social-api.ai/v1/analytics/overview', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));import requests
url = "https://api.social-api.ai/v1/analytics/overview"
headers = {"Authorization": "Bearer <token>"}
response = requests.get(url, headers=headers)
print(response.text){
"data": {
"accounts_excluded": 0,
"activity": [
{
"day_tz": "America/Los_Angeles",
"kind": "gauge",
"metric": "page_follows",
"points": [
{
"day": "2026-09-19",
"subjects_counted": 3,
"value": 12430,
"change": 18,
"days_spanned": 1
}
],
"source": "reported"
}
],
"best_times": {
"cells": [
{
"avg_engagements": 118.4,
"hour": 9,
"posts": 5,
"weekday": 4
}
],
"posts_considered": 42
},
"by_day": [
{
"day": "2026-10-14",
"engagements": 290,
"posts": 3
}
],
"by_format": [
{
"engagements": 1900,
"media_type": "reel",
"posts": 12
}
],
"by_platform": [
{
"comments": 412,
"engagements": 3810,
"likes": 3120,
"platform": "instagram",
"posts": 42,
"saves": 77,
"shares": 201,
"views": 58200
}
],
"from": "2026-10-07",
"previous": {
"comments": 412,
"engagements": 3810,
"likes": 3120,
"posts": 42,
"saves": 77,
"shares": 201,
"views": 58200
},
"to": "2026-11-05",
"top_posts": [
{
"account_id": "acc_01HZ9X3Q4R5M6N7P8V2K0W1J",
"media_type": "reel",
"metrics": {
"comments": 52,
"engagements": 512,
"likes": 430,
"saves": 9,
"shares": 21,
"views": 10400
},
"platform": "instagram",
"post_id": "7c9e6679-7425-40de-944b-e07fc1f90ae7",
"published_at": "2026-10-14T09:30:00Z",
"permalink": "https://www.instagram.com/p/C1a2b3c4d5/",
"text": "Our autumn menu is here",
"thumbnail": "https://scontent.cdninstagram.com/v/t51.29350-15/456_n.jpg"
}
],
"totals": {
"comments": 412,
"engagements": 3810,
"likes": 3120,
"posts": 42,
"saves": 77,
"shares": 201,
"views": 58200
},
"tz": "Europe/Paris",
"metrics_synced_at": "2026-11-05T08:00:00Z"
}
}{
"error": {
"code": "resource.not_found",
"message": "Account not found",
"meta": {}
},
"request_id": "01HZ9X3Q4R5M6N7P8V2K0W1J"
}{
"error": {
"code": "resource.not_found",
"message": "Account not found",
"meta": {}
},
"request_id": "01HZ9X3Q4R5M6N7P8V2K0W1J"
}{
"error": {
"code": "resource.not_found",
"message": "Account not found",
"meta": {}
},
"request_id": "01HZ9X3Q4R5M6N7P8V2K0W1J"
}Analytics
Get analytics overview
Summarises how the posts published in a range performed: totals against the previous range of equal length, engagement per publish day, breakdowns by platform and media type, the top posts, the hours your posts did best in, and the daily replies, DMs and moderation SocialAPI performed. Covers every account the key can read, or one account, brand, or platform. Engagements are likes + comments + shares + saves. Views are reported apart, by the platforms that publish them. Counters are the ones SocialAPI last synced (see metrics_synced_at), so this makes no platform call and costs no credits. Accounts without the analytics.read permission are left out and counted in accounts_excluded.
GET
/
analytics
/
overview
Get analytics overview
curl --request GET \
--url https://api.social-api.ai/v1/analytics/overview \
--header 'Authorization: Bearer <token>'const options = {method: 'GET', headers: {Authorization: 'Bearer <token>'}};
fetch('https://api.social-api.ai/v1/analytics/overview', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));import requests
url = "https://api.social-api.ai/v1/analytics/overview"
headers = {"Authorization": "Bearer <token>"}
response = requests.get(url, headers=headers)
print(response.text){
"data": {
"accounts_excluded": 0,
"activity": [
{
"day_tz": "America/Los_Angeles",
"kind": "gauge",
"metric": "page_follows",
"points": [
{
"day": "2026-09-19",
"subjects_counted": 3,
"value": 12430,
"change": 18,
"days_spanned": 1
}
],
"source": "reported"
}
],
"best_times": {
"cells": [
{
"avg_engagements": 118.4,
"hour": 9,
"posts": 5,
"weekday": 4
}
],
"posts_considered": 42
},
"by_day": [
{
"day": "2026-10-14",
"engagements": 290,
"posts": 3
}
],
"by_format": [
{
"engagements": 1900,
"media_type": "reel",
"posts": 12
}
],
"by_platform": [
{
"comments": 412,
"engagements": 3810,
"likes": 3120,
"platform": "instagram",
"posts": 42,
"saves": 77,
"shares": 201,
"views": 58200
}
],
"from": "2026-10-07",
"previous": {
"comments": 412,
"engagements": 3810,
"likes": 3120,
"posts": 42,
"saves": 77,
"shares": 201,
"views": 58200
},
"to": "2026-11-05",
"top_posts": [
{
"account_id": "acc_01HZ9X3Q4R5M6N7P8V2K0W1J",
"media_type": "reel",
"metrics": {
"comments": 52,
"engagements": 512,
"likes": 430,
"saves": 9,
"shares": 21,
"views": 10400
},
"platform": "instagram",
"post_id": "7c9e6679-7425-40de-944b-e07fc1f90ae7",
"published_at": "2026-10-14T09:30:00Z",
"permalink": "https://www.instagram.com/p/C1a2b3c4d5/",
"text": "Our autumn menu is here",
"thumbnail": "https://scontent.cdninstagram.com/v/t51.29350-15/456_n.jpg"
}
],
"totals": {
"comments": 412,
"engagements": 3810,
"likes": 3120,
"posts": 42,
"saves": 77,
"shares": 201,
"views": 58200
},
"tz": "Europe/Paris",
"metrics_synced_at": "2026-11-05T08:00:00Z"
}
}{
"error": {
"code": "resource.not_found",
"message": "Account not found",
"meta": {}
},
"request_id": "01HZ9X3Q4R5M6N7P8V2K0W1J"
}{
"error": {
"code": "resource.not_found",
"message": "Account not found",
"meta": {}
},
"request_id": "01HZ9X3Q4R5M6N7P8V2K0W1J"
}{
"error": {
"code": "resource.not_found",
"message": "Account not found",
"meta": {}
},
"request_id": "01HZ9X3Q4R5M6N7P8V2K0W1J"
}