Pages in API reference

Analytics

Analytics overview

GET/api/analytics/overview

Per 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.
  • unavailableAccounts lists 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, platformSetId or accountId; not paginated.
  • A range longer than 90 days or with from after to is 400 VALIDATION_FAILED.
Key scope
analytics:read
MCP tool
analytics_overview

Headers

  • Authorizationstringrequired

    Bearer <API key>. Create a key in the dashboard under API keys.

Query parameters

  • fromstring

    First day (UTC), YYYY-MM-DD. Default: 29 days before to. At most 90 days with to.

  • tostring

    Last day (UTC), YYYY-MM-DD, included. Default: today.

  • platforminstagram | facebook | linkedin | tiktok | threads | twitter | discord | telegram | bluesky | youtube | pinterest

    Only accounts on this platform. Default: every platform with analytics.

  • platformSetIdstring

    Only accounts in this platform set (id from platform_sets_list). Default: every set the key can see.

  • accountIdstring

    Only this account (id from accounts_list). Default: every matching account.

Errors return { error: { code, message } }; every code is in Error codes.