Get post analytics
get_post_analyticsReturns the latest analytics snapshot for a single platform post (layer 1 of 3 — one post = one platform). Includes views, likes, comments, shares, plus platform-specific metrics like reach, saves, watch time. Instagram Reels may add platform_metrics.reels_skip_rate (percent of views that skipped in the first 3 seconds), and Instagram rows with Facebook Login may add platform_metrics.reposts, and Instagram Stories platform_metrics.link_clicks (taps on links in the Story, read while it's live). When the workspace has Facebook Login for the same account, Instagram likes, comments and views are all-surfaces totals including boosted media, and platform_metrics has total_likes, total_comments and total_views. YouTube rows may add platform_metrics.engaged_views, engaged_engagement_rate (likes + comments + shares per engaged view, percent), thumbnail_impressions, thumbnail_ctr (impressions click-through rate, percent), thumbnail_impressions_since (first day the impressions cover) and traffic_sources (views per YouTube traffic source, e.g. SHORTS, YT_SEARCH); for retention use get_youtube_retention.
The provenance field says where a row of zeros comes from:
sync→ the analytics pipeline actually fetched from the platform. Zeros here are real.seed→ placeholder row written at publish time (fetched_at ≈ published_at). No fetch has run yet; every metric is a stub 0.unsupported_platform→ the platform has no analytics (Telegram, Discord, WordPress, WhatsApp, Ghost, Blogger, Vimeo). The seed row stays at 0 forever and does not mean the platform reported zero engagement.
A row with fetch_status unavailable means the platform will never report on this post, and fetch_error says why (personal LinkedIn/Pinterest account, X without the workspace's own API key, Google Business Profile posts); its zeros are placeholders, not measured values.
Also returns platform_supports_analytics: boolean. Numeric fields may be null when the platform doesn't expose that metric (e.g. shares on YouTube) OR when no sync has run yet. For the same video summed across platforms use get_video_analytics; for a whole folder rolled up use get_folder_analytics.
Freshness: if the workspace's analytics were last synced over an hour ago (or never), this call also starts a background sync and reports it in the response's sync field (status started or in_progress, plus last_synced_at). The numbers in that response are from the previous sync; call again in a few minutes for fresh ones. sync.status of free_plan_limit or daily_limit means no sync could run, so the numbers may not be current.
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"video_post_id": "<video_post_id>"
},
"name": "get_post_analytics"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| video_post_id | Yes | The video_posts.id to fetch analytics for. Only meaningful once the post is published. |