# Search Threads posts by keyword

**Use case:** 

Find public Threads posts about any topic. Several wordings of each keyword are searched and merged without duplicates; keep only one language and only posts that really contain the keyword.

## Input

```json
{
  "mode": "search",
  "usernames": [
    "zuck"
  ],
  "keywords": [
    "AI agents"
  ],
  "maxPosts": 100,
  "maxRepliesPerPost": 100,
  "replyDepth": 1,
  "maxUsersPerKeyword": 20,
  "maxItems": 10000,
  "searchTypes": [
    "top",
    "recent",
    "tags"
  ],
  "expandQueries": true,
  "strictKeywordMatch": true,
  "languages": [
    "en"
  ],
  "minLikes": 0,
  "minReplies": 0,
  "minReposts": 0,
  "minViews": 0,
  "minAuthorFollowers": 0,
  "onlyVerified": false,
  "excludeReplies": false,
  "mediaTypes": [],
  "onlyWithLinks": false,
  "dropUnknownLanguage": false,
  "includeViews": true,
  "saveFiles": false,
  "includeReplies": false,
  "authorFollowers": false,
  "includeProfile": false,
  "includeProfileDetails": true
}
```

## Output

```json
{
  "query": {
    "label": "query"
  },
  "searchVariant": {
    "label": "searchVariant"
  },
  "source": {
    "label": "source"
  },
  "containsKeyword": {
    "label": "containsKeyword"
  },
  "url": {
    "label": "url"
  },
  "username": {
    "label": "username"
  },
  "text": {
    "label": "text"
  },
  "likeCount": {
    "label": "likeCount"
  },
  "createdAt": {
    "label": "createdAt"
  }
}
```

## How it works

### 1. Sign up on Apify or log in

The Threads Scraper — Posts, Search, Profiles & Views, No Login Actor is ready to run with the inputs already set for "Search Threads posts by keyword". [Sign up or log in](https://console.apify.com/create-task-from-example/dSBfzv8yvvbFva16w) and you'll land in Apify Console with a copy of this exact task.

### 2. Start the "Search Threads posts by keyword" task

The Threads Scraper — Posts, Search, Profiles & Views, No Login Actor will start running based on the input automatically. You can also change all the input fields, like what to get, usernames, and more, to match your specific use case.

### 3. Receive the "Search Threads posts by keyword" output

Monitor the progress in real time. You will be notified as soon as your dataset is complete and ready for review. Each result includes data such as query, searchvariant, source, and more.

### 4. Integrate into your workflow

The final output is delivered in JSON, CSV, or Excel format, ready to be plugged into your workflow. You can also [run the "Search Threads posts by keyword" task via API](https://apify.com/nologin/threads-scraper.md).

## FAQ

### Do I need a Threads or Instagram account or cookies?

No. You enter usernames, keywords or links. Nothing of yours is used, so no account can be blocked.

### How do I get the data into Excel or Google Sheets?

Export the run's dataset as CSV, Excel or JSON, or pull it through the Apify API. Integrations can send it straight to Google Sheets.

### What do I pay for?

Only for rows you get, from $1.35 per 1,000 posts, no start fee. Error rows and posts your filters drop are free.

## About this Actor

This example demonstrates how to use [Threads Scraper — Posts, Search, Profiles & Views, No Login](https://apify.com/nologin/threads-scraper.md) with a specific input configuration. Visit the [Actor detail page](https://apify.com/nologin/threads-scraper.md) to learn more, explore other use cases, and run it yourself.


## How to integrate an Actor?

This Task's input is already configured above. Use it as-is rather than inventing a new one.

Do not guess an integration path. Every one of them is in the agent quickstart at https://apify.com/agents.md: the Apify MCP server, Agent Skills with the Apify CLI, the JavaScript and Python clients, the REST API, and the account-free path for an agent with no human to sign in. It also carries the rule on stating cost before the first paid run.

For full API examples (JavaScript, Python, CLI, MCP, OpenAPI), see this Task's Actor page: https://apify.com/nologin/threads-scraper.md

Each client library has reference documentation the quickstart does not restate: [JavaScript/TypeScript](https://docs.apify.com/api/client/js/docs.md) (`npm install apify-client`) and [Python](https://docs.apify.com/api/client/python/docs.md) (`pip install apify-client`).
