search_x
Search X (Twitter) read-only
Description
Keyword search across the PUBLIC X index — the last 7 days. This is the X half of ad-spy research, alongside search_tiktok / search_instagram / search_reddit / search_threads / search_youtube. X’s own search OPERATORS work and are the point: `from:nike`, `-is:retweet`, `has:media`, `has:links`, `lang:en`, `"exact phrase"`, `(a OR b)`. Every post comes back with impressions, likes, reposts, replies, quotes and bookmarks, so you can rank what actually landed rather than what merely exists. ONLY THE LAST 7 DAYS: the full archive needs a tier we do not hold, and an older window is refused by name rather than silently truncated. Costs a small number of credits (X bills per post read and per distinct author returned with them, and this bills the ACTUAL count returned, never the number asked for). Needs X connected.
Parameters
| Parameter | Type | Description |
|---|---|---|
queryrequired | string | the search, X operators included — e.g. `(protein OR creatine) -is:retweet has:media lang:en` |
maxResults | number | 10–100, default 25 |
sortOrder | "recency" | "relevancy" | default relevancy |
startTime | string | ISO 8601, no earlier than 7 days ago |
endTime | string | ISO 8601 end of the search window; within the last 7 days |
nextToken | string | from a previous page |
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/search_x.
MCP (tools/call)
{"jsonrpc":"2.0","id":1,"method":"tools/call","params":{"name":"search_x","arguments":{"query":"<string>"}}}
CLI
hermoso call search_x --json '{"query":"<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
search_tiktokSearch TikToksearch_instagramSearch Instagramsearch_redditSearch Redditsearch_threadsSearch Threadssearch_youtubeSearch YouTubelist_bluesky_postsList the brand's own Bluesky postsx_search_countsHow often a query is posted on Xgoogle_business_search_keywordsWhat people searched to find this businessx_trendsWhat is trending on Xlist_youtube_categoriesList the video categories you can publish under