How to Use Threads keyword search in Codex
Finds up to 10 public Threads posts matching a keyword, with post text and engagement counts. Use it to find brand mentions or topic discussions; date filtering is no longer supported.
Prompts to try with Threads keyword search in Codex
Copy an example into Codex, or ask in your own words.
Use Threads keyword search for 'Nintendo Switch 2' and add a research table to this project with returned post text, likes, and direct reply counts.
Use Threads keyword search for 'Adobe Photoshop' and create a report in this repository grouping the returned posts into product questions, reported problems, and other discussion.
Use Threads keyword search for 'Spotify Wrapped' and update this project's research dataset, deduplicating returned posts by their identifiers.
Scrape https://example.com/pricing with Threads keyword search and turn it into a comparison table. Save the result in ./assets.
Crawl the docs at https://docs.example.com with Threads keyword search and summarize each section.
How to set up Threads keyword search in Codex
Pick the way that suits you. Each takes about two minutes.
Use Spiral's MCP server
- Add the hosted server
codex mcp add spiral --url https://api.spiral.ai/mcp
- Sign in
Codex opens the browser: sign in to Spiral and click Authorize. No API key. codex mcp list then shows Spiral.
codex mcp login spiral
Use the Spiral skill
- Send Codex 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 Threads keyword 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": "scrapecreators", "model": "scrapecreators/threads-search", "input": { "query": "basketball" } }'
Then paste one of the prompts above: Codex finds Threads keyword search on Spiral, shows the price and runs it.
Threads keyword search providers and prices
Spiral runs Threads keyword search through ScrapeCreators. Open a card for today's price, with every fee included.
Settings you can ask for
Ask Codex for any of these in your prompt.
| Setting | Allowed values | Default | Description |
|---|---|---|---|
| Trim | on or off | Set to true for a trimmed down version of the response |
Every API field of Threads · Search by Keyword is on its tool page: open its card above.
What can you do with Threads keyword search in Codex?
Build a Threads research view that pairs candidate business accounts with public discussion about their products. Use returned account IDs for the account list and post identifiers to deduplicate keyword results.
Prepare a brand presence brief
Locate candidate business accounts by username and collect a small sample of posts mentioning the brand. Present account matches separately from discussion about the business.
Research a product launch
Find a company's candidate Threads account and search the product name for public reactions. Summarize questions and recurring complaints found in the returned posts.
Compare competitors' public presence
Search likely business handles and compare small post samples for competing brand names. Use account names for identification and post text for discussion themes.
Prepare an editorial research brief
Find candidate accounts for relevant publications and search a specific industry topic. Give an editor the account matches and questions raised in the returned discussion.
Collect public product feedback
Search a product name and group returned posts into feature requests, reported problems, and praise. Include like and reply counts to help reviewers choose examples to read.
More on Threads keyword search and Codex
Overview
Threads keyword search in other agents
Questions about Threads keyword search in Codex
Can Codex use Threads keyword search?
Yes. Add Spiral to Codex as an MCP server, and Codex can find and run Threads keyword search like any built-in tool.
How much does Threads keyword search cost in Codex?
Up to $0.0013 per run. You pay from your Spiral balance as you go, with no subscription, and a failed run is not charged. Your Codex plan is separate.
Do I need a ScrapeCreators account to use Threads keyword search in Codex?
No. Spiral runs Threads keyword search on its own ScrapeCreators account. You sign in to Spiral once and never paste a key.
How long does it take to set up Threads keyword search in Codex?
About two minutes: add the hosted server, then sign in.
Does Codex wait while Threads keyword search runs?
Threads keyword search runs in the background. Codex starts the run, checks on it and gives you the json when it's ready.
Does this search include private Threads content?
ScrapeCreators documents public data extraction only. These searches cover publicly available Threads content and account information.
How fresh are the Threads results?
ScrapeCreators describes its extraction as real time and says it retrieves the latest public data. That describes retrieval freshness, not a guarantee that a search returns every recent post or account.
How much of a Threads conversation can keyword search find?
Keyword search returns at most 10 public posts per request. Use the results as a limited discovery sample when researching a brand or topic.
Can I search Threads posts within a historical date range?
The current keyword-search documentation says date filtering is no longer supported. The provider recommends repeating searches over time to find new results.
Does searching a brand name find posts or accounts?
Threads keyword search returns matching posts and metadata. Threads account search is documented as a username search, so use a likely handle when locating a business or public creator.
Start using Threads keyword search in Codex
One Spiral account for every tool your agent needs. No subscription; you pay per run.
Paste this into Codex:
set up https://spiral.ai/SKILL.md


