Get post analytics
get_analyticsHow published posts did: likes, reposts, replies, quotes and (on X) views.
Two modes:
With post_id: that post's numbers per network, plus snapshots taken about 1 hour, 24 hours and 7 days after it went live.
Without post_id: a summary of posts published between from and to (default: the last 30 days): totals per network and the top posts by engagement (likes + reposts + replies + quotes).
Which networks report what: X gives likes, reposts, replies, quotes, bookmarks and views. Bluesky gives likes, reposts, replies and quotes. Mastodon gives likes (favourites), reposts (boosts) and replies. Threads and LinkedIn are not available yet. Octopost reads the numbers on its own for 30 days after a post goes live, so they can be a few hours old; each network's result says when it was read. Pass refresh: true to read fresh numbers first (allowed once every 10 minutes).
Tool call template
This tool declares no required parameters. Add optional parameters from the input schema as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {},
"name": "get_analytics"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| to | No | Optional. Summary end, an ISO date. Default: now. | |
| top | No | Optional. How many top posts to list (0 to 50, default 5). | |
| from | No | Optional. Summary start, an ISO date like 2026-11-01. Default: 30 days ago. | |
| post_id | No | Optional. One post's numbers. Leave out for a summary. | |
| refresh | No | Optional. Read fresh numbers from the networks before answering (once every 10 minutes). | |
| platform | No | Optional. Only count this network in the summary. |