hermosodocs

x_post_insights_historical

Advertiser analytics for your own X posts, over any date range read-only

Area: X / TWITTER · Publishing & scheduling. Generated from the running MCP server, like the rest of the tool reference.

Description

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.

Parameters

ParameterTypeDescription
brandstringWHICH PROFILE the post lives in, for THIS CALL ONLY: an id or exact name from list_brands, needed when it was published in a profile this connection is not pinned to. A name that matches no profile, or two, is REFUSED and nothing is done.
idsrequiredstring[]numeric X post ids (max 25) — the last part of each post URL
startDatestringYYYY-MM-DD or a UTC timestamp; defaults to 28 days before the end
endDatestringYYYY-MM-DD or a UTC timestamp; defaults to now
granularity"Total" | "Daily" | "Hourly" | "Weekly"default Total
accountstringwhich connected account: its @handle or id from list_connector_accounts; needed only when several are connected

Example call

Every required parameter is shown, filled from the schema where it gives a value and otherwise with a placeholder naming the type. Replace the placeholders with real values. The same call works on the MCP server, the CLI and POST https://app.hermoso.ai/v1/tools/x_post_insights_historical.

MCP (tools/call)

{"jsonrpc":"2.0","id":1,"method":"tools/call","params":{"name":"x_post_insights_historical","arguments":{"ids":"<array>"}}}

CLI

hermoso call x_post_insights_historical --json '{"ids":"<array>"}'

Credits

Credits are spent only on two things: running an AI model (image, video, voice, text, planning, post-production) and Ad Spy research. See Credits & costs.

All 728 Publishing & scheduling tools · tools.json