X (Twitter) search API for your agent. One call per search.
The job
What the X (Twitter) search API gives your agent
X search finds what people are saying, with the operators power users know: from:, since:, until: and a minimum like count. Your agent sends the query and reads back the posts with their text, author and engagement. It is the base for brand monitoring, customer research and finding the posts worth replying to.
Three providers answer. One accepts the full advanced-search syntax inline and returns about 20 posts per page. One takes the filters as separate fields: exact phrase, any of these words, from these accounts, language, media type and a minimum of likes or replies. One takes a keyword and a search type.
You give
a search query with optional operators
claude code min_faves:50
You get
- Post text
- Author
- Likes, replies and reposts
- Post date
- Post link
Sample calls
The request and what comes back
Each run is one POST to /v1/runs with an endpoint id and an input. These are illustrative calls with generic values. The run's result holds the provider's own fields.
{"endpointId":"anyapi-run-twitter-search","input":{"query":"claude code min_faves:50","limit":20},"wait":30}// POST /v1/runs, then read run.status and run.result // result: accepts the full X advanced-search syntax in the query, returns posts with text, author and engagement, and pages with a cursor
The prompt
Copy one prompt, give it to your agent.
Edit the names and numbers, paste it, and the agent runs the job and shows the cost.
- One run is one search.
- 1 steps across 3 providers.
- Runs on demand, whenever you ask.
set up looot - https://looot.ai/skill.mdBefore you start
Settle these before the first run
- Write the query with operators. Bare terms match broadly, and from:, min_faves: and a date window cut a search to the posts that matter.
- Page with a cursor. A page holds about 20 posts on one provider, and a longer pull means several calls.
- Be careful with replies. A search that mixes posts and replies is noisy, so use the media and engagement filters.
FAQ
Questions people ask
- use case
- X (Twitter) search API
- run
- search
- schedule
- on demand
- step
- Search posts on X: anyapi anysite tikhub
- setup
- https://looot.ai/skill.md
- llms.txt
- https://looot.ai/llms.txt
- updated
- 2026-10-04
Try X (Twitter) search with your own agent.
Start your workspace, top up, and paste the prompt into the agent you already use.