get_post_analytics
Retrieve performance statistics for a published Substack post by ID, including views, email delivery/opens, signups, subscriptions, comments, and reactions.
Instructions
Get performance stats (views, emails sent/delivered/opened, signups, subscribes, estimated value, comments, reactions) for a published post by ID. First reads the exact post detail (one authenticated read) and requires a published post with a post date. A draft, 403/404, malformed detail, ID mismatch, or other detail error except 401/429 triggers a scan of at most the 500 most recent published posts with up to 10 more reads. No writes. A feed-scan miss is bounded, not proof the post never existed; separate pages can shift. stats_available is false when a found post has no statistics. Per-post rates are upstream 0–1 fractions and are not added to this legacy projection.
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": {
"post_id": "<post_id>"
},
"name": "get_post_analytics"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| post_id | Yes | The published post ID to get stats for |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| id | No | ||
| note | No | ||
| sent | No | ||
| found | Yes | ||
| title | No | ||
| views | No | ||
| opened | No | ||
| source | No | ||
| post_id | No | ||
| scanned | No | ||
| signups | No | ||
| delivered | No | ||
| post_date | No | ||
| subscribes | No | ||
| feed_capped | No | ||
| comment_count | No | ||
| search_result | No | ||
| reaction_count | No | ||
| estimated_value | No | ||
| stats_available | No | ||
| detail_fallback_reason | No |