Get posts analytics
get_posts_analyticsReturns paginated performance metrics per published post in a group within a date range, plus sum and average across the range. Metric fields per row: views, reach, likes, replies, shares, saves, engagements, engagement_rate_impressions, engagement_rate_reach, video_views. Null means the network does not report the metric.
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": {
"start": "<start>",
"end": "<end>",
"groupId": "<groupId>"
},
"name": "get_posts_analytics"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| end | Yes | End of the range, ISO 8601 date, on or after start, at most 365 days later. | |
| page | No | Result page, 25 rows per page. | |
| start | Yes | Start of the range, ISO 8601 date, not in the future. | |
| groupId | Yes | ||
| postTypes | No | Limit to these post types. Omit for all. | |
| socialAccountIds | No | Limit to these social accounts of the group. Omit for all accounts in the group. | |
| showExternalPosts | No | Include posts published outside PostFlow. Defaults to true. |