How to Use X (Twitter) post search in Gemini
Returns X search results for a keyword. Use it to find relevant posts, including matches where the keyword does not appear in the post's own text.
Prompts to try with X (Twitter) post search in Gemini
Copy an example into Gemini, or ask in your own words.
Use X (Twitter) post search to look this up and give me the result as a table.
Pull the latest numbers from X (Twitter) post search and tell me what changed since last week.
Check X (Twitter) post search and summarize what you find in three bullet points.
Pull the newest data from X (Twitter) post search and give me the result as a table.
Check X (Twitter) post search every morning and tell me only when something changed.
How to set up X (Twitter) post search in Gemini
Pick the way that suits you. Each takes about two minutes.
Use the Gemini connector
- Open Connected Apps
On your computer, go to gemini.google.com. At the bottom, click Settings › Connected Apps. If you don't see Connected Apps, click Personal Intelligence first, then Connected Apps.
- Add Spiral as a custom app
Under Custom apps, click Add a custom app and paste this MCP server URL:
https://api.spiral.ai/mcp
- Sign in to Spiral and approve
Follow the on-screen instructions. Spiral opens: sign in, pick the organization and click Authorize. No API key.
Use the Spiral skill
- Send Gemini this message
Your agent reads Spiral's skill and sets itself up.
set up https://spiral.ai/SKILL.md
- Sign in or paste a key
Approve Spiral in the browser, or give the agent a key from the console.
Use the Spiral CLI
- Install and sign in
Installs the Spiral CLI, signs you in and adds its skill to your coding agents.
npx -y spiral-cli@latest init
Call the Spiral API
- Create an API key
In the console, under API keys.
- Run X (Twitter) post search
One request; the result comes back by polling or a webhook.
curl https://api.spiral.ai/v1/runs \ -H "Authorization: Bearer $SPIRAL_API_KEY" \ -H "Content-Type: application/json" \ -H "Idempotency-Key: $(uuidgen)" \ -d '{ "provider": "tikhub", "model": "tikhub/twitter-web-fetch-search-timeline", "input": { "keyword": "Elon Musk" } }'
Then paste one of the prompts above: Gemini finds X (Twitter) post search on Spiral, shows the price and runs it.
X (Twitter) post search providers and prices
Spiral runs X (Twitter) post search through TikHub. Open a card for today's price, with every fee included.
What can you do with X (Twitter) post search in Gemini?
Prepare a source brief about a public organization or topic on X using retrieved evidence. A chat app can explain the returned posts, account information, connections, or broadcast status in plain English.
Review a product announcement
Build a launch brief from matching posts, a specific announcement, reposting accounts, country trends, and the company's current broadcast status. Limit account analysis to public businesses, publishers, and creators.
Prepare a newsroom event brief
Find event communities and related posts, examine cited announcements, and check current trends and broadcasts. Add the organizing institution's account background and affiliated accounts to distinguish its public communication channels.
Audit an organization's public account presence
Review account background, affiliated accounts, public organizational connections, and relevant posts. Use the findings to identify channels that should appear in an internal communications directory.
Choose topics for a publisher's editorial meeting
Compare country trends with topic communities and matching posts. Review public publishers and organizations in a publication's follower and following results to suggest sources worth reading.
Watch for public organization broadcasts
Check an institution and its affiliated accounts for live status on a schedule. Pair the checks with event posts and country trends to prepare an internal briefing when a broadcast is detected.
Build a public science communications brief
Prepare a NASA-focused brief covering account background, affiliates, live status, mission posts, reposting organizations, topic communities, and country trends. Include public institutions from follower and following results as additional sources to review.
More on X (Twitter) post search and Gemini
Overview
X (Twitter) post search in other agents
Questions about X (Twitter) post search in Gemini
Can Gemini use X (Twitter) post search?
Yes. Add Spiral to Gemini as an MCP server, and Gemini can find and run X (Twitter) post search like any built-in tool.
How much does X (Twitter) post search cost in Gemini?
$0.0013 per request. You pay from your Spiral balance as you go, with no subscription, and a failed run is not charged. Your Gemini plan is separate.
Do I need a TikHub account to use X (Twitter) post search in Gemini?
No. Spiral runs X (Twitter) post search on its own TikHub account. You sign in to Spiral once and never paste a key.
How long does it take to set up X (Twitter) post search in Gemini?
About two minutes: open Connected Apps, then add Spiral as a custom app, then sign in to Spiral and approve.
Does Gemini wait while X (Twitter) post search runs?
X (Twitter) post search runs in the background. Gemini starts the run, checks on it and gives you the json when it's ready.
Can this data include protected or deleted X content?
TikHub's X coverage is limited to public content. Deleted, suspended, or protected posts and accounts return empty results or errors.
How fresh are the results?
TikHub says repeated requests fetch fresh, real-time data even when the request is identical. That describes retrieval freshness, rather than a guarantee that X has updated every underlying value.
Does one response contain every matching result?
For list and search requests, TikHub documents bounded result pages. Reposting accounts, communities, followers, and accounts followed use cursors to retrieve additional pages.
Does TikHub guarantee that X data is complete and accurate?
No. TikHub's terms explicitly disclaim a guarantee that retrieved data is accurate, complete, or current.
Does access give me permission to republish X content?
Access does not establish permission to republish the content. TikHub's terms say retrieved material may carry third-party intellectual property rights.
Start using X (Twitter) post search in Gemini
One Spiral account for every tool your agent needs. No subscription; you pay per run.
Paste this into Gemini:
set up https://spiral.ai/SKILL.md


