x_post_metrics
Read performance of a post on X read-only
Description
THE X ANALYTICS TOOL THAT WORKS — impressions, likes, reposts, replies, quotes and bookmarks for any post, PLUS the advertiser numbers (link clicks, profile clicks, engagements) for YOUR OWN posts published in the last 30 days. X serves those private metrics on this same lookup with the user-context connection you already have; that is X's own design, not a workaround. Use this rather than x_post_insights, whose endpoint family X has retired. If a post is deleted, protected or suspended, X answers with no data at all and this says so — that is MISSING DATA, never zero engagement, and must never be reported as a measured zero. Costs a small number of credits (X bills per API read). Needs X connected.
Parameters
| Parameter | Type | Description |
|---|---|---|
brand | string | WHICH 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. |
idrequired | string | the numeric X post id — the last part of the post URL |
publishedAt | number | epoch ms the post went out, if known — lets the private owned-post metrics be requested only inside X's 30-day window instead of costing a refused call |
account | string | which 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_metrics.
MCP (tools/call)
{"jsonrpc":"2.0","id":1,"method":"tools/call","params":{"name":"x_post_metrics","arguments":{"id":"<string>"}}}
CLI
hermoso call x_post_metrics --json '{"id":"<string>"}'
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.
Related tools
x_post_insightsAdvertiser analytics for your own posts on Xdelete_x_postDelete a post on Xedit_x_postEdit a post on Xx_post_insights_historicalAdvertiser analytics for your own X posts, over any date rangepost_x_articlePublish a long-form Article to Xx_mentionsRead who is mentioning you on Xpost_to_xPublish a post to X (Twitter)