[Integrations](https://spiral.ai/integrations) › [Codex](https://spiral.ai/integrations/codex) › [Threads account search](https://spiral.ai/integrations/codex/threads-account-search)

# How to Use Threads account search in Codex

Finds Threads accounts by username and returns matching usernames, display names, and account IDs. Use it to locate a public business or creator account before researching its content.

|  |  |
| --- | --- |
| Model | Threads account search |
| Available through | ScrapeCreators |
| Category | Social Media |
| Price | Up to $0.0013 per run. |
| Returns | json |
| Runs | In the background |
| Setup | About 2 minutes, no API key |

## Prompts to try with Threads account search in Codex

- Use Threads account search for 'nasa' and save returned usernames, display names, and account IDs in a candidate-account fixture for this project.
- Use Threads account search for 'duolingo' and build a review screen showing each returned username, display name, and account ID.
- Scrape https://example.com/pricing with Threads account search and turn it into a comparison table. Save the result in ./assets.
- Crawl the docs at https://docs.example.com with Threads account search and summarize each section.
- Pull the latest posts from this blog with Threads account search and list their titles and dates.

## How to set up Threads account search in Codex

Pick the way that suits you. Each takes about two minutes.

### Use Spiral's MCP server

1. **Add the hosted server**

```bash
codex mcp add spiral --url https://api.spiral.ai/mcp
```

2. **Sign in**: Codex opens the browser: sign in to Spiral and click Authorize. No API key. `codex mcp list` then shows Spiral.

```bash
codex mcp login spiral
```

### Use the Spiral skill

1. **Send Codex this message**: Your agent reads Spiral's skill and sets itself up.

```
set up https://spiral.ai/SKILL.md
```

2. **Sign in or paste a key**: Approve Spiral in the browser, or give the agent a key from the console.

### Use the Spiral CLI

1. **Install and sign in**: Installs the Spiral CLI, signs you in and adds its skill to your coding agents.

```bash
npx -y spiral-cli@latest init
```

### Call the Spiral API

1. **Create an API key**: In the console, under API keys.

2. **Run Threads account search**: One request; the result comes back by polling or a webhook.

```bash
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-users",
    "input": {
      "query": "shams"
    }
  }'
```

Then paste one of the prompts above: Codex finds Threads account search on Spiral, shows the price and runs it.

Setup guide in the docs: https://spiral.ai/docs/quickstarts/codex

## Threads account search tools and prices

- [Threads · Search Users](https://spiral.ai/tools/scrapecreators/scrapecreators/threads-search-users) (ScrapeCreators): Up to $0.0013 per run.

## What can you do with Threads account 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.

### Resolve business account candidates

Search likely handles for a list of public brands or publications. Produce a review list containing returned usernames, display names, and account IDs.

## Overview

- [ScrapeCreators](https://spiral.ai/providers/scrapecreators)
- [All Codex guides](https://spiral.ai/integrations/codex)

## Threads account search in other agents

- [Amp](https://spiral.ai/integrations/amp/threads-account-search)
- [ChatGPT](https://spiral.ai/integrations/chatgpt/threads-account-search)
- [Claude](https://spiral.ai/integrations/claude-desktop/threads-account-search)
- [Claude Code](https://spiral.ai/integrations/claude-code/threads-account-search)
- [Cline](https://spiral.ai/integrations/cline/threads-account-search)
- [Cursor](https://spiral.ai/integrations/cursor/threads-account-search)
- [Devin](https://spiral.ai/integrations/devin/threads-account-search)
- [dots](https://spiral.ai/integrations/dots/threads-account-search)
- [Factory Droid](https://spiral.ai/integrations/factory-droid/threads-account-search)
- [Gemini](https://spiral.ai/integrations/gemini/threads-account-search)
- [Gemini CLI](https://spiral.ai/integrations/gemini-cli/threads-account-search)
- [Google Antigravity](https://spiral.ai/integrations/antigravity/threads-account-search)
- [goose](https://spiral.ai/integrations/goose/threads-account-search)
- [Grok](https://spiral.ai/integrations/grok/threads-account-search)
- [Grok Build](https://spiral.ai/integrations/grok-build/threads-account-search)
- [Hermes](https://spiral.ai/integrations/hermes/threads-account-search)
- [Instinct](https://spiral.ai/integrations/instinct/threads-account-search)
- [Manus](https://spiral.ai/integrations/manus/threads-account-search)
- [Muse](https://spiral.ai/integrations/muse/threads-account-search)
- [Muse Code](https://spiral.ai/integrations/muse-code/threads-account-search)
- [n8n](https://spiral.ai/integrations/n8n/threads-account-search)
- [Notion](https://spiral.ai/integrations/notion/threads-account-search)
- [OpenClaw](https://spiral.ai/integrations/openclaw/threads-account-search)
- [opencode](https://spiral.ai/integrations/opencode/threads-account-search)
- [Perplexity](https://spiral.ai/integrations/perplexity/threads-account-search)
- [Raycast](https://spiral.ai/integrations/raycast/threads-account-search)
- [VS Code](https://spiral.ai/integrations/vscode/threads-account-search)
- [Windsurf](https://spiral.ai/integrations/windsurf/threads-account-search)
- [Zapier](https://spiral.ai/integrations/zapier/threads-account-search)

## More Codex guides

- [Threads account reposts](https://spiral.ai/integrations/codex/threads-account-reposts)
- [Threads compact profile search](https://spiral.ai/integrations/codex/threads-compact-profile-search)
- [Threads account replies](https://spiral.ai/integrations/codex/threads-account-replies)
- [Threads keyword search](https://spiral.ai/integrations/codex/threads-keyword-search)
- [Threads account posts](https://spiral.ai/integrations/codex/threads-account-posts)
- [Threads post comments](https://spiral.ai/integrations/codex/threads-post-comments)

## Questions about Threads account search in Codex

**Can Codex use Threads account search?**

Yes. Add Spiral to Codex as an MCP server, and Codex can find and run Threads account search like any built-in tool.

**How much does Threads account 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 account search in Codex?**

No. Spiral runs Threads account 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 account search in Codex?**

About two minutes: add the hosted server, then sign in.

**Does Codex wait while Threads account search runs?**

Threads account 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.

