get_post_analytics
Retrieve post-level analytics including impressions and engagements for a specified date range. Supports pagination to access all posts.
Instructions
Get post-level analytics (impressions, engagements, etc.) for posts within a date range. Supports pagination — always check paging.total_pages in the response and pull all pages. IMPORTANT: The page parameter must be in the request body, not as a URL query parameter.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| profile_ids | Yes | Array of customer_profile_id values to filter posts by. | |
| metrics | Yes | Metrics to retrieve. Valid options: 'lifetime.impressions', 'lifetime.engagements', 'lifetime.reactions', 'lifetime.video_views'. Do NOT request: 'lifetime.comments', 'lifetime.shares', 'lifetime.reach' (these are invalid). | |
| created_time_start | Yes | Start of the date range in ISO 8601 format (e.g. '2026-03-23T00:00:00'). | |
| created_time_end | Yes | End of the date range in ISO 8601 format (e.g. '2026-03-30T00:00:00'). | |
| fields | No | Additional fields to include. Valid: 'created_time', 'perma_link', 'text', 'post_type'. Defaults to all if omitted. | |
| page | No | Page number (default: 1). Must be in request body, NOT URL. |