Advertiser analytics for your own X posts, over any date range
x_post_insights_historicalPull historical X post metrics (impressions, engagements, clicks, video views) for any date range, batch up to 25 posts. For retrospective performance analysis.
Instructions
The same advertiser-grade X analytics as x_post_insights — impressions, engagements, LINK CLICKS, profile visits, video views and video completion quartiles — over ANY date range instead of only the last 28 hours. This is the one to use for “how did last week’s post do”, “compare these three posts over the month”, or any retrospective: x_post_insights physically cannot see past yesterday, so asking it about an older post returns nothing and that is not zero performance. Takes up to 25 post ids at once; the window defaults to the last 28 days when you name none, and the window actually queried is reported back. COSTS CREDITS PER POST READ — X bills us per API call — so say the cost before pulling a big batch and ask about the posts that matter. Needs X connected.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| ids | Yes | numeric X post ids (max 25) — the last part of each post URL | |
| endDate | No | YYYY-MM-DD or a UTC timestamp; defaults to now | |
| startDate | No | YYYY-MM-DD or a UTC timestamp; defaults to 28 days before the end | |
| granularity | No | default Total |