Analytics overview
GET
/api/analytics/overviewPer account and in total, for posts published between from and to (UTC days, default the last 30): post count, summed views, reach, likes, comments, shares and saves, followers and their change, and sync state.
- These are the dashboard's numbers.
unavailableAccountslists matching accounts without analytics and why.- Use it for a summary or a period comparison (call it twice with different ranges); for each post's own metrics use analytics_posts, and for the day-by-day follower curve analytics_followers.
- Filter by
platform,platformSetIdoraccountId; not paginated. - A range longer than 90 days or with
fromaftertois 400 VALIDATION_FAILED.
- Key scope
- analytics:read
- MCP tool
- analytics_overview
Headers
AuthorizationstringrequiredBearer <API key>. Create a key in the dashboard under API keys.
Query parameters
fromstringFirst day (UTC), YYYY-MM-DD. Default: 29 days before
to. At most 90 days withto.tostringLast day (UTC), YYYY-MM-DD, included. Default: today.
platforminstagram | facebook | linkedin | tiktok | threads | twitter | discord | telegram | bluesky | youtube | pinterestOnly accounts on this platform. Default: every platform with analytics.
platformSetIdstringOnly accounts in this platform set (
idfrom platform_sets_list). Default: every set the key can see.accountIdstringOnly this account (
idfrom accounts_list). Default: every matching account.
Errors return { error: { code, message } }; every code is in Error codes.