Post analytics
GET
/api/analytics/postsMetrics of your published posts, newest first: one platformPosts entry per account the post went to, with views, reach, likes, comments, shares and saves (null when the platform does not report one).
- Pass
postIdfor one post. analyticsStatussays why an entry has no metrics.- Use it for per-post numbers; for totals per account over a date range use analytics_overview, for follower counts over time analytics_followers, and for a post's publish status posts_get.
- Filter by
postId,platform,platformSetIdoraccountId; paginated withlimitandoffset. 404 POST_NOT_FOUND or ACCOUNT_NOT_FOUND for an id that is not yours.
- Key scope
- analytics:read
- MCP tool
- analytics_posts
Headers
AuthorizationstringrequiredBearer <API key>. Create a key in the dashboard under API keys.
Query parameters
postIdstringOnly this post (
idfrom posts_list). Default: every published post.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.limitintegerPage size, 1-100. Default 20.
offsetintegerNumber of items to skip. Default 0.
Errors return { error: { code, message } }; every code is in Error codes.