# Threads Search Scraper - Posts by Keyword or Hashtag, No Login (`benthepythondev/threads-keyword-search-scraper`) Actor

Search Meta Threads by keyword or #hashtag without login and get public posts: text, author, time, likes, replies, reposts, quotes, shares, hashtags, links and media. Top and Recent tabs, no duplicates, keyword check per row, onlyNew mode for scheduled monitoring.

- **URL**: https://apify.com/benthepythondev/threads-keyword-search-scraper.md
- **Developed by:** [Ben](https://apify.com/benthepythondev) (community)
- **Categories:** Social media, Marketing, Lead generation
- **Features:** Limited permissions
- **Stats:** 2 total users, 1 monthly users, 100.0% runs succeeded, 0 bookmarks
- **User rating**: No ratings yet

## Pricing

from $1.60 / 1,000 results

This Actor is paid per event. You are not charged for the Apify platform usage, but only a fixed price for specific events.
Since this Actor supports Apify Store discounts, the price gets lower the higher subscription plan you have.

Learn more: https://docs.apify.com/actors/running/actors-in-store.md#pay-per-event

## What's an Apify Actor?

An Actor is a serverless cloud program that runs on the Apify platform. It has two run modes.
In Batch mode, an Actor accepts a well-defined JSON input, performs an action which can take anything from a few seconds to a few hours,
and optionally produces a well-defined JSON output, datasets with results, or files in key-value store.
In Standby mode, an Actor provides a web server which can be used as a website, API, or an MCP server.

Apify vocabulary and the platform model are defined once, in the agent quickstart at https://apify.com/agents.md.

## How to integrate an Actor?

If asked about integration, you help developers integrate Actors into their projects.
You adapt to their stack and deliver integrations that are safe, well-documented, and production-ready.

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 examples already wired to this Actor's own input schema, see the [API](#api) section below.

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`).

# README

## Threads Search Scraper: posts by keyword or #hashtag, no login

Threads Search Scraper searches Meta Threads the way its own search box does and returns the public posts as rows: text, author, publish time, likes, replies, reposts, quotes, shares, hashtags, mentions, links, images and videos. Give it keywords, phrases or #hashtags; it reads the Top and Recent result tabs, removes duplicates and marks every row with `contains_keyword`. No Threads account, cookies or API key.

**$1.80 per 1,000 posts, no start fee.** Duplicates, posts your filters drop and posts an earlier monitoring run already delivered are never charged.

### What makes it different

- **Only new posts (`onlyNew`).** The Actor remembers what it delivered for each keyword. Schedule it hourly or daily and every run returns, and charges, only posts you have not received yet. No duplicate cleanup in your sheet.
- **Pay only for posts with your keyword (`filterKeywords`).** Threads also shows posts it finds related to a term by topic, author or image. Every row says whether the post really contains the term, and the filter drops the rest before they are charged.
- **One charge per post.** A post found by several keywords, or in both tabs, is saved once. The run ends when Threads has no more results instead of padding the count.
- **Cheap per row.** The most-used Threads search Actors on the Store charge $2 to $8 per 1,000 results, several with a start fee on top (Store prices read on 2026-11-23).

### What does it return?

One row per post:

| Field | Example |
|---|---|
| `url`, `code`, `id` | https://www.threads.com/@someone/post/DgEFrrqpUZr, DgEFrrqpUZr, 4036376158087235179 |
| `text`, `attachment_text`, `language` | "This has probably been asked but I'd love any good coffee bean…", null, en |
| `posted_at` | 2026-11-23T00:25:55+00:00 |
| `username`, `full_name`, `author_id`, `is_verified`, `profile_url` | someone, Some One, 71711357236, false, https://www.threads.com/@someone |
| `likes`, `replies`, `reposts`, `quotes`, `shares` | 1, 9, 0, 0, null |
| `is_reply`, `reply_to_author` | false, null |
| `topic_tag`, `hashtags`, `mentions` | Coffee Threads, \[], \[] |
| `links`, `link_title`, `image_urls`, `video_urls` | outgoing links (unwrapped), preview title, media links |
| `keyword`, `source`, `search_rank` | coffee beans, top, 3 |
| `contains_keyword` | true |
| `scraped_at` | 2026-11-23T02:29:03+00:00 |

A run summary (posts per keyword, keywords without results, what was skipped and why) is stored as `SUMMARY` in the run's key-value store.

### How do I use it?

1. Enter one or more keywords or #hashtags.
2. Keep both result tabs, or pick only `recent` for monitoring.
3. Optional: turn on `filterKeywords`, `onlyNew` and a `monitorName`.
4. Click Start and export JSON, CSV or Excel, or call it from the API, Make, n8n, Zapier or an AI agent.

#### Input example

```json
{
  "keywords": ["openai", "#skincare", "coffee beans"],
  "searchTypes": ["top", "recent"],
  "maxResultsPerKeyword": 50,
  "filterKeywords": true,
  "onlyNew": true,
  "monitorName": "brand-watch"
}
```

#### Output example

```json
{
  "id": "4036376158087235179",
  "code": "DgEFrrqpUZr",
  "url": "https://www.threads.com/@someone/post/DgEFrrqpUZr",
  "username": "someone",
  "full_name": "Some One",
  "is_verified": false,
  "text": "This has probably been asked but I'd love any good coffee bean recommendations",
  "language": "en",
  "posted_at": "2026-11-23T00:25:55+00:00",
  "likes": 1,
  "replies": 9,
  "reposts": 0,
  "quotes": 0,
  "topic_tag": "Coffee Threads",
  "hashtags": [],
  "links": [],
  "keyword": "coffee beans",
  "source": "top",
  "search_rank": 3,
  "contains_keyword": true
}
```

### How many posts does one search return?

About 30 per keyword per run: Threads shows a logged-out visitor about 18 posts on the Top tab and about 12 on the Recent tab, and no further pages. The Recent tab usually covers the last few hours. To collect more, search several related terms (`coffee`, `#coffee`, `coffee beans`), or schedule the Actor with `onlyNew` so it builds a continuous feed over days. Threads gives different visitors slightly different result sets, so repeated runs often find posts earlier runs did not.

### Can I search by date?

Threads has no date filter for logged-out search. `postedAfter` and `postedBefore` filter the posts Threads returns; they do not reach older history. For a dated archive, run the Actor on a schedule with `onlyNew`.

### How much does it cost?

| Plan | Price per 1,000 posts |
|---|---|
| Free | $1.80 |
| Bronze | $1.60 |
| Silver | $1.50 |
| Gold and above | $1.40 |

No start fee. A search of 3 keywords that returns 69 posts costs about $0.12 on the free plan. Runs with no results cost nothing.

### FAQ

**Do I need a Threads or Instagram account?** No. The Actor reads only what Threads shows a visitor who is not logged in.

**Why do some posts not contain my keyword?** Threads ranks posts by topic, author and image as well as text. Each row has `contains_keyword`; turn on `filterKeywords` to keep and pay for only the matching ones.

**Does it work for hashtags?** Yes. Enter `#skincare` or `skincare`. A hashtag term also matches posts where the same word appears without the `#`.

**Can I monitor a brand every hour?** Yes. Schedule the Actor, turn on `onlyNew` and set a `monitorName`. Each run returns only posts the monitor has not delivered before. Use one monitor name per client or project.

**What happens if Threads refuses the request?** The Actor switches to a new residential visitor and retries. If Threads answers none of the searches, the run fails with a clear message and charges nothing.

**Can AI agents use it?** Yes. No input field is required (it defaults to `openai`), the output fields are described in the dataset schema, and it runs through the Apify MCP server at mcp.apify.com.

### Data use

The Actor collects public posts that Threads shows to any visitor. It does not log in, does not read private accounts and does not collect contact details. You are responsible for using the data in line with the law that applies to you (for example GDPR) and with Threads' terms.

### Related actors

- [Threads Scraper - Posts, Profiles, Replies, No Login](https://apify.com/benthepythondev/threads-public-scraper)
- [Threads User Posts Scraper](https://apify.com/benthepythondev/threads-user-posts-scraper)
- [Threads Replies Scraper](https://apify.com/benthepythondev/threads-replies-scraper)
- [Reddit Search Scraper](https://apify.com/benthepythondev/reddit-search-scraper)
- [Telegram Keyword Search Scraper](https://apify.com/benthepythondev/telegram-keyword-search-scraper)

Reviews help other people find this actor: [leave one](https://apify.com/benthepythondev/threads-keyword-search-scraper/reviews).

# Actor input Schema

## `keywords` (type: `array`):

What to search on Threads, one term per line: a word, a phrase, a #hashtag or a threads.com/search?q= link. Each term is searched on its own; posts found by several terms are saved and charged once.

## `searchTypes` (type: `array`):

Which Threads result tabs to read: 'top' (most relevant, any age) and 'recent' (newest first, usually the last hours). Threads shows a logged-out visitor about 18 top and 12 recent posts per term.

## `maxResultsPerKeyword` (type: `integer`):

Upper limit of saved posts per search term. Threads returns about 30 per term per run to a logged-out visitor, so higher values only matter for long lists of terms.

## `filterKeywords` (type: `boolean`):

Threads also returns posts it finds related (by topic, author or image). Turn this on to save and pay only for posts whose text, hashtags, topic tag or author name contain every word of the term. Every row carries contains_keyword either way.

## `onlyNew` (type: `boolean`):

Remember the posts delivered for each term and skip them in later runs. Schedule the Actor hourly or daily and each run returns, and charges, only posts you have not received before.

## `monitorName` (type: `string`):

Optional name that keeps separate onlyNew memories, for example one per client or project. Letters, digits and dashes.

## `postedAfter` (type: `string`):

Keep only posts published on or after this date (YYYY-MM-DD). This filters what Threads returns; it does not search older history.

## `postedBefore` (type: `string`):

Keep only posts published on or before this date (YYYY-MM-DD).

## Actor input object example

```json
{
  "keywords": [
    "openai"
  ],
  "searchTypes": [
    "top",
    "recent"
  ],
  "maxResultsPerKeyword": 50,
  "filterKeywords": false,
  "onlyNew": false,
  "monitorName": ""
}
```

# Actor output Schema

## `results` (type: `string`):

No description

## `summary` (type: `string`):

No description

# API

You can run this Actor programmatically using our API. Below are code examples in JavaScript, Python, and CLI, as well as the OpenAPI specification and MCP server setup.

## JavaScript example

```javascript
import { ApifyClient } from 'apify-client';

// Initialize the ApifyClient with your Apify API token
// Replace the '<YOUR_API_TOKEN>' with your token
const client = new ApifyClient({
    token: '<YOUR_API_TOKEN>',
});

// Prepare Actor input
const input = {
    "keywords": [
        "openai"
    ]
};

// Run the Actor and wait for it to finish
const run = await client.actor("benthepythondev/threads-keyword-search-scraper").call(input);

// Fetch and print Actor results from the run's dataset (if any)
console.log('Results from dataset');
console.log(`💾 Check your data here: https://console.apify.com/storage/datasets/${run.defaultDatasetId}`);
const { items } = await client.dataset(run.defaultDatasetId).listItems();
items.forEach((item) => {
    console.dir(item);
});

// 📚 Want to learn more 📖? Go to → https://docs.apify.com/api/client/js/docs

```

## Python example

```python
from apify_client import ApifyClient

# Initialize the ApifyClient with your Apify API token
# Replace '<YOUR_API_TOKEN>' with your token.
client = ApifyClient("<YOUR_API_TOKEN>")

# Prepare the Actor input
run_input = { "keywords": ["openai"] }

# Run the Actor and wait for it to finish
run = client.actor("benthepythondev/threads-keyword-search-scraper").call(run_input=run_input)

# Fetch and print Actor results from the run's dataset (if there are any)
print(f"💾 Check your data here: https://console.apify.com/storage/datasets/{run.default_dataset_id}")
for item in client.dataset(run.default_dataset_id).iterate_items():
    print(item)

# 📚 Want to learn more 📖? Go to → https://docs.apify.com/api/client/python/docs/quick-start

```

## CLI example

```bash
echo '{
  "keywords": [
    "openai"
  ]
}' |
apify call benthepythondev/threads-keyword-search-scraper --silent --output-dataset

```

## MCP server setup

```json
{
    "mcpServers": {
        "apify": {
            "type": "http",
            "url": "https://mcp.apify.com/?tools=fetch-actor-details,benthepythondev/threads-keyword-search-scraper"
        }
    }
}
```

The hosted server signs you in with OAuth on first connect, so no API token belongs in this config. Clients without OAuth support can send an `Authorization: Bearer <APIFY_API_TOKEN>` header instead, using a token from API & Integrations in Apify Console (https://console.apify.com/settings/integrations).

## OpenAPI specification

Download the OpenAPI definition: https://api.apify.com/v2/actors/1cQoNzWfws9XWowFk/builds/MbMsqt9qzJSErp7xz/openapi.json
