Endpoint
Overview
Get post statistics including views, likes, comments, shares, and saves. Behavior:- If
startDateandendDateare NOT provided: Returns the latest stat per post (one record per post) - optimal for dashboards showing current state - If
startDateorendDateis provided: Returns all stats within the date range - use for historical analysis and trend tracking
Request Body
Array of post IDs to get stats for. Omit to get all posts.
Start date in ISO 8601 format (e.g.,
2024-01-01T00:00:00Z). Optional. If omitted (along with endDate), returns latest stat per post.End date in ISO 8601 format (e.g.,
2024-12-31T23:59:59Z). Optional. If omitted (along with startDate), returns latest stat per post.Response
Array of post statistics objects
