# Threads Search Scraper: Posts by Keyword and Hashtag (`transparent_meteorite/threads-search-scraper`) Actor

Search Threads by keyword or hashtag without login: post text, likes, replies, reposts, ISO date, author, media and links from the Top, Recent and Tags tabs, merged and de-duplicated. Optional author followers and view counts. No cookies.

- **URL**: https://apify.com/transparent_meteorite/threads-search-scraper.md
- **Developed by:** [Detroit Web Agent - Open Data](https://apify.com/transparent_meteorite) (community)
- **Categories:** Social media, 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 $2.50 / 1,000 posts

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 and Hashtag

Search Threads (threads.com) the way a visitor does, without logging in, and get every public post Threads shows for your keywords or hashtags as clean rows: text, likes, replies, reposts, quotes, ISO date, author, media and links. It reads the **Top**, **Recent** and **Tags** tabs, merges them and removes duplicates, so one term gives you more distinct posts than a single tab. No account, no cookies, no API key.

### What you get

- One row per post (type `post`) with 70+ fields: `text`, `createdAt`, `likeCount`, `replyCount`, `repostCount`, `quoteCount`, `engagementScore`, `mediaType`, `mediaUrls`, `hashtags`, `mentions`, `links`, `language`, `topicTag`, author name, username, id, verified badge and picture.
- Search context that other Threads search tools do not give you: `query`, `searchTab` (where the post was first found), `rank` (its position in that tab), `foundInTabs` (every tab that showed it), `matchedTerms` and `textMatchesQuery` (whether the words are really in the text, since Threads also returns topic matches).
- When the match is a reply: `parentPostUrl`, `parentPostText` and `parentAuthorUsername`, so you know what it was replying to.
- Optional enrichment at no extra charge: author follower count, bio, bio links and HD picture (**Add author profile**), and post view counts (**Add view counts**).
- One free status row per term (`ok`, `no_results`, `unavailable`, `skipped`, `invalid_input`) with a plain message, so you always know what happened to each term.

### How deep does it go? (honest limits)

Logged out, Threads shows **one page per tab** and does not let visitors load more. We measured this on 11-22-2026: one term returns about 12-35 posts per tab, and about **30-60 unique posts per term** across Top, Recent and Tags. Date filters and "from:" style operators are not available to logged-out visitors, so `postedAfter` filters the posts Threads returns; it cannot reach older posts. To collect more posts, add more terms or related terms (for example `coffee`, `#coffee`, `espresso`, `latte art`). You pay only for posts delivered, never for a page that returned nothing.

### Input

| Field | What it does |
|---|---|
| Search terms | Keywords, phrases or #hashtags, one per line. A Threads search link also works. |
| Search tabs | Top, Recent and Tags (all three by default). |
| Max posts per search term | Upper limit per term (default 100). |
| Only posts newer than | A date (2025-01-31) or an age ('7 days'). Older posts are dropped and not charged. |
| Only posts with at least N likes | Drops low-engagement posts (not charged). |
| Only posts whose text contains every word | Keeps exact text matches only. |
| Languages | Keep only these language codes (en, es, pt...). |
| Add author profile / Add view counts | Optional enrichment, slower, no extra charge. |

Example input:

```json
{
  "searchQueries": ["coffee", "ai agents"],
  "searchTabs": ["top", "recent", "tags"],
  "maxPostsPerQuery": 100
}
```

### Output sample

```json
{
  "type": "post",
  "query": "coffee",
  "searchTab": "top",
  "rank": 1,
  "foundInTabs": ["top", "tags"],
  "url": "https://www.threads.com/@mmoviefan09_/post/DgEMbByoMU7",
  "text": "I enjoyed 3 dunkin coffees today.",
  "createdAt": "2026-11-23T01:24:49.000Z",
  "likeCount": 3,
  "replyCount": 0,
  "repostCount": 0,
  "engagementScore": 3,
  "mediaType": "text",
  "language": "en",
  "topicTag": "Coffee Threads",
  "authorUsername": "mmoviefan09_",
  "authorFullName": "Jack Moreira",
  "authorIsVerified": false,
  "matchedTerms": ["coffee"],
  "textMatchesQuery": true
}
```

Results open in the **Overview** table; the full rows are in the dataset (JSON, CSV, Excel). The `OUTPUT` record in the key-value store has per-term counts and warnings.

### Use cases

1. **Brand and product monitoring**: run your brand, product and competitor names on the Recent tab every few hours and catch new public mentions with their likes and replies.
2. **Trend and hashtag research**: compare how much engagement a topic gets, which posts rank at the top, and which authors (with follower counts) drive the conversation.
3. **Creator and lead discovery**: find active accounts posting about your niche, then pass the usernames to a Threads profile scraper for full profiles.

### Measured edge

Real Apify cloud runs on 11-22-2026, same keyword (`coffee`), compared with the other Threads search actors in the Store:

| Actor | Posts returned | Run time | Field coverage\* | Price per 1K posts |
|---|---|---|---|---|
| **This actor** (Top + Recent + Tags) | 38 | 7 s | 72% (80% with author profile + views) | $3.90 |
| futurizerush/threads-search-scraper | 50 | 83 s | 75% | $4.00 |
| logical_scrapers/threads-search-scraper | 18 | 6 s | 64% | $2.49 |
| igview-owner/threads-search-scraper | 20 (limit set to 20) | 20 s | 54% | $20.00 |

\*Mean share of 20 common fields filled (text, date, counts, author, followers, views, media, hashtags, mentions, language, reply context, search rank and tab).

- **Speed**: about 7 seconds per keyword, about 12x faster than the slowest rival on the same keyword.
- **Reliability**: 10 of 10 cloud runs on 10 different keywords succeeded (382 posts) with no proxy needed; a residential fallback is built in if Threads ever blocks.
- **Search context**: the only one of these that tells you which tab and rank each post came from, whether the words are really in the text, and what a matching reply was replying to.
- **Depth**: igview can page deeper with a cursor (it charges $20 per 1K). This actor stays with what Threads shows logged-out visitors: about 30-60 posts per keyword.

### Pricing

Pay per event, no subscription. Current prices:

| Event | Free | Bronze | Silver | Gold | Platinum | Diamond |
|---|---|---|---|---|---|---|
| Actor Start | $0.002 | $0.002 | $0.002 | $0.002 | $0.002 | $0.002 |
| Post | $0.0039 | $0.0034 | $0.0029 | $0.0025 | $0.0025 | $0.0025 |

Tier follows your Apify subscription plan.

Apify's free plan includes monthly platform credit that covers test runs.

Examples at the current price (one `result` event per result; Free-plan tier):

| You pull | You pay |
|---|---|
| 100 results | $0.39 |
| 1,000 results | $3.90 |
| 10,000 results | $39.00 |

Scheduled runs stay cheap when each run only returns new records.

### Run it from code, n8n, Make or an AI agent

Python (`pip install apify-client`):

```python
from apify_client import ApifyClient
client = ApifyClient("YOUR_APIFY_TOKEN")
run = client.actor("transparent_meteorite/threads-search-scraper").call(run_input={"searchQueries": ["coffee", "ai agents"]})
for post in client.dataset(run["defaultDatasetId"]).iterate_items():
    print(post.get("authorUsername"), post.get("text"))
```

Or with curl: `curl -X POST "https://api.apify.com/v2/acts/transparent_meteorite~threads-search-scraper/run-sync-get-dataset-items?token=YOUR_APIFY_TOKEN" -H "Content-Type: application/json" -d '{"searchQueries":["coffee"]}'`

- **n8n**: use the Apify node, operation "Run actor and get dataset", actor `transparent_meteorite/threads-search-scraper`, then map `text`, `url` and `authorUsername` into your sheet or Slack node.
- **Make / Zapier**: the Apify app's "Run an Actor" step with the same input JSON, then "Get dataset items".
- **AI agents (Claude, ChatGPT, MCP)**: the actor is callable through the Apify MCP server (mcp.apify.com); an agent passes keywords and reads back the posts.

### Related actors

- [Threads Profile Scraper](https://apify.com/transparent_meteorite/threads-profile-scraper): every public post from the accounts you found here, with views and followers
- [Threads Replies Scraper](https://apify.com/transparent_meteorite/threads-replies-scraper): the full reply thread under any post this search returns
- [Instagram Public Profile Scraper](https://apify.com/transparent_meteorite/instagram-public-profile-scraper): public Instagram profiles and posts of the same creators

### FAQ

**Do I need a Threads account?** No. Only public posts that any visitor can see are collected.

**Why did I get fewer posts than my limit?** Threads shows visitors one page per tab. Add related terms to collect more.

**Is this legal?** It collects public data only. You are responsible for how you use it (privacy laws such as GDPR apply to personal data).

### Related actors

More tools from the same publisher for Threads research and monitoring:

- [Threads Profile Scraper](https://apify.com/transparent_meteorite/threads-profile-scraper): bio, follower count and recent posts for the accounts your search surfaces
- [Threads Replies Scraper](https://apify.com/transparent_meteorite/threads-replies-scraper): pull the replies under a post to gauge reaction

# Actor input Schema

## `searchQueries` (type: `array`):

Keywords, phrases or #hashtags, one per line, exactly as you would type them in Threads search. A Threads search link (threads.com/search?q=...) works too. Each term is searched separately.

## `searchTabs` (type: `array`):

Which Threads search tabs to read. Posts found in several tabs are delivered once, with foundInTabs listing all of them. Logged out, Threads shows one page per tab (about 12-35 posts), so all three tabs give the most posts per term.

## `maxPostsPerQuery` (type: `integer`):

Upper limit per term. Threads usually returns 30-60 unique public posts per term across the three tabs, so most runs deliver fewer than this. You pay only for posts delivered.

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

A date (2025-01-31) or a relative age ('7 days', '24 hours'). Older posts are dropped and not charged.

## `minLikes` (type: `integer`):

Skip posts with fewer likes (not charged).

## `onlyExactMatches` (type: `boolean`):

Threads also returns posts that match by topic. Turn on to keep only posts whose text contains every word of the term.

## `languages` (type: `array`):

Keep only these language codes (for example en, es, pt). Empty = all.

## `includeAuthorProfiles` (type: `boolean`):

Opens each author public profile once per run and adds follower count, bio, bio links and HD picture. Slower; no extra charge.

## `includeViewCounts` (type: `boolean`):

Opens each post page to read its public view count. Slower; no extra charge.

## `maxConcurrency` (type: `integer`):

How many terms to search at once.

## `directFirst` (type: `boolean`):

On by default: starts with a direct connection (fastest) and switches to a proxy only if Threads blocks or times out.

## `autoProxyFallback` (type: `boolean`):

If Threads blocks the direct connection, retry through Apify residential proxy (US).

## `proxyConfiguration` (type: `object`):

Optional proxy used after the direct attempt.

## Actor input object example

```json
{
  "searchQueries": [
    "coffee",
    "ai agents"
  ],
  "searchTabs": [
    "top",
    "recent",
    "tags"
  ],
  "maxPostsPerQuery": 100,
  "minLikes": 0,
  "onlyExactMatches": false,
  "includeAuthorProfiles": false,
  "includeViewCounts": false,
  "maxConcurrency": 4,
  "directFirst": true,
  "autoProxyFallback": true
}
```

# Actor output Schema

## `overview` (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 = {
    "searchQueries": [
        "coffee",
        "ai agents"
    ],
    "searchTabs": [
        "top",
        "recent",
        "tags"
    ],
    "maxPostsPerQuery": 100
};

// Run the Actor and wait for it to finish
const run = await client.actor("transparent_meteorite/threads-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 = {
    "searchQueries": [
        "coffee",
        "ai agents",
    ],
    "searchTabs": [
        "top",
        "recent",
        "tags",
    ],
    "maxPostsPerQuery": 100,
}

# Run the Actor and wait for it to finish
run = client.actor("transparent_meteorite/threads-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 '{
  "searchQueries": [
    "coffee",
    "ai agents"
  ],
  "searchTabs": [
    "top",
    "recent",
    "tags"
  ],
  "maxPostsPerQuery": 100
}' |
apify call transparent_meteorite/threads-search-scraper --silent --output-dataset

```

## MCP server setup

```json
{
    "mcpServers": {
        "apify": {
            "type": "http",
            "url": "https://mcp.apify.com/?tools=fetch-actor-details,transparent_meteorite/threads-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/tcxboHUrfvCpkrL34/builds/V8IcLRtXYTduupJGb/openapi.json
