get_post_analytics
Get published posts and their key metrics: impressions, reach, likes, comments, shares. Supports Instagram, Facebook, TikTok, Threads, YouTube, LinkedIn company pages, and Pinterest business accounts. Filter by date range.
Instructions
Fetch published posts with their latest performance metrics (impressions, reach, likes, comments, shares). Only returns published posts that have a platform post ID. LinkedIn personal accounts are excluded. Supported: Instagram, Facebook, TikTok, Threads, YouTube, LinkedIn (company pages), Pinterest (Business accounts). Pinterest extras include pin_clicks, outbound_clicks, saves_90d, save_rate_90d (saves are 90-day rolling because Pinterest API does not expose lifetime totals); video pins additionally surface mrc_views, views_10s, avg_watch_time, v50_watch_time, video_starts, quartile_95_views.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| startDate | Yes | Start of date range (ISO 8601, e.g. 2026-01-01T00:00:00.000Z) | |
| endDate | Yes | End of date range (ISO 8601, e.g. 2026-01-31T23:59:59.999Z) | |
| platforms | No | Filter by platforms | |
| socialMediaIds | No | Filter by specific social media account IDs |