# Threads Search Scraper — Posts by Keyword & Hashtag \[$1.99/1K] (`zinin/threads-search-scraper`) Actor

Search Threads by keyword, phrase or hashtag and get public posts with text, author, likes, replies, reposts, quotes, media and links. No login or cookies. Apify proxy with country choice included. $1.99 per 1,000 posts, no start fee.

- **URL**: https://apify.com/zinin/threads-search-scraper.md
- **Developed by:** [Tim Zinin](https://apify.com/zinin) (community)
- **Categories:** Social media, Lead generation, Automation
- **Features:** Limited permissions
- **Stats:** 5 total users, 2 monthly users, 89.5% runs succeeded, 0 bookmarks
- **User rating**: No ratings yet

## Pricing

from $1.39 / 1,000 result delivereds

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](https://www.threads.com) by keyword, phrase or hashtag and get the public posts that Threads shows for it: text, author, likes, replies, reposts, quotes, media, links, mentions and the quoted post. No login, no cookies, no session id to paste. Apify proxy with a country choice is built in and included in the price.

- **$1.99 per 1,000 posts.** No start fee, no charge for empty keywords or failed searches.
- **Any language.** `AI agents`, `#marketing`, `кофе`, `inteligencia artificial` all work the same way.
- **Three search views per keyword.** Fresh results, older results and the topic tag are read and merged, duplicates removed.
- **Engagement in every row.** Likes, replies, reposts, quotes and shares as numbers, ready for sorting and filtering.
- **Clean rows.** One post = one row with a stable `postId` and a direct `url`.

Typical uses: brand and competitor monitoring, trend and topic research, finding creators who post about a subject, collecting posts for sentiment analysis or an AI agent, lead discovery from people asking for recommendations.

### What you get

| Field | Example |
|---|---|
| `keyword` | `AI agents` |
| `searchType` | `top`, `archive` or `tags` — the view where the post was found first |
| `url` | `https://www.threads.com/@username/post/Df7sXxyEdfK` |
| `text` | Full post text |
| `language` | `en` (detected by Threads, may be empty) |
| `createdAt`, `timestamp` | `2026-11-19T18:11:38.000Z`, `1795111898` |
| `likeCount`, `replyCount`, `repostCount`, `quoteCount`, `shareCount` | `7555`, `175`, `609`, `40`, `19` |
| `author` | `username`, `fullName`, `id`, `isVerified`, `profileUrl`, `profilePicUrl` |
| `isReply`, `replyToUsername` | Whether the post is a reply and to whom |
| `threadId`, `positionInThread` | Groups a root post with the follow-up posts Threads shows under it |
| `mediaType` | `text`, `image`, `video` or `carousel` |
| `images`, `videos` | Direct media links with width and height; videos include a thumbnail |
| `hashtags`, `mentions`, `links` | Extracted from the post |
| `linkPreview` | Link card: `url`, `title`, `displayUrl`, `imageUrl` |
| `quotedPost`, `repostedPost` | Link, author, text, likes and date of the quoted or reposted post |
| `topicTag` | Threads topic the post is filed under |
| `isPaidPartnership`, `isEdited`, `isPinned` | Flags |
| `postId`, `postCode`, `position`, `source`, `scrapedAt` | Identifiers and bookkeeping |

Media links are signed by Threads and expire after some time — download the files soon after the run if you need them.

### Input

| Field | What it does |
|---|---|
| `keywords` | List of keywords, phrases or #hashtags. One search per line, up to 200 per run. |
| `searchTypes` | Views to read: `top` (default Threads results, mostly the last hours and days), `archive` (older and all-time matches), `tags` (posts from the topic tag). All three by default. |
| `maxItemsPerKeyword` | Limit of paid rows per keyword, 1–100. |
| `maxItems` | Limit of paid rows per run. |
| `sortBy` | `relevance` (as on Threads), `newest` or `likes`. |
| `postedAfter` | Keep only posts published after this date. |
| `minLikes` | Keep only posts with at least this many likes. |
| `strictKeywordMatch` | Keep only posts that contain every word of the keyword. |
| `includeReplies` | Keep replies and follow-up posts (on by default). |
| `proxyCountry` | Country of the Apify proxy exit, 19 countries, United States by default. Turkey is not offered: Threads is closed there and sends visitors to the login page; Turkish-language keywords work from any other country. |

Simple run:

```json
{
  "keywords": ["AI agents"]
}
```

Brand monitoring, fresh and popular posts only:

```json
{
  "keywords": ["notion", "#notion", "notion ai"],
  "searchTypes": ["top", "tags"],
  "postedAfter": "2026-11-01",
  "minLikes": 10,
  "sortBy": "likes",
  "strictKeywordMatch": true,
  "proxyCountry": "US"
}
```

### Output

```json
{
  "found": true,
  "keyword": "coffee",
  "searchType": "top",
  "position": 4,
  "postId": "4034013039288244170",
  "postCode": "Df7sXxyEdfK",
  "url": "https://www.threads.com/@username/post/Df7sXxyEdfK",
  "text": "I want to find a French press that will hold up for years. Suggestions welcome",
  "language": "en",
  "createdAt": "2026-11-19T18:11:38.000Z",
  "timestamp": 1795111898,
  "likeCount": 214,
  "replyCount": 175,
  "repostCount": 9,
  "quoteCount": 4,
  "shareCount": 19,
  "author": {
    "username": "username",
    "fullName": "Full Name",
    "id": "63153911016",
    "isVerified": true,
    "profileUrl": "https://www.threads.com/@username",
    "profilePicUrl": "https://…jpg"
  },
  "isReply": false,
  "replyToUsername": null,
  "threadId": "4034013039288244170",
  "positionInThread": 1,
  "mediaType": "image",
  "images": [{ "url": "https://…jpg", "width": 1440, "height": 1920 }],
  "videos": [],
  "hashtags": [],
  "mentions": [],
  "links": [],
  "linkPreview": null,
  "quotedPost": null,
  "repostedPost": null,
  "topicTag": "Coffee Threads",
  "isPaidPartnership": false,
  "isEdited": false,
  "isPinned": false,
  "source": "Threads public search page",
  "scrapedAt": "2026-11-20T15:09:54.162Z"
}
```

A keyword without public posts, or a search Threads did not answer, gives one free status row instead:

```json
{
  "found": false,
  "keyword": "zzqqxx",
  "status": "NO_RESULTS",
  "message": "Threads returned no public posts for this keyword with the chosen filters. Not charged.",
  "source": "Threads public search page",
  "scrapedAt": "2026-11-20T15:09:54.162Z"
}
```

A keyword longer than 200 characters is skipped with a free `INVALID_INPUT` status row; the other keywords are searched.

### How many posts per keyword

Without login Threads shows about 20 posts per search view and does not load further pages. The Actor reads three views for every keyword, so one keyword gives up to about 60 unique posts — usually 40 to 60 for a popular topic, fewer for a rare phrase. It does not promise thousands of posts for a single word.

To collect more on a topic, add more keywords: synonyms, product names, spellings, hashtags, the same word in other languages. Duplicates between keywords are delivered and charged once per run. To follow a topic over time, schedule the run every hour or day: the `top` view is refreshed constantly, and `postId` lets you drop posts you already have.

### Price and limits

- $1.99 per 1,000 delivered posts (`result-found`, $0.00199 each). Lower on paid Apify plans.
- No start fee. Status rows, filtered-out posts and duplicates are free.
- Proxy traffic and platform usage are included.
- Set `maxItems` or the run's maximum charge to cap spending; the run stops cleanly at the limit.
- Only public posts that Threads shows to visitors without an account. No private profiles, no direct messages, no view counts.
- Date and author filters are applied to the collected posts; they do not make Threads return more of them.

### For AI agents and workflow tools

- Input is a flat JSON object; `keywords` is the only required field.
- Every row has `found` (`true` for a post, `false` for a status row), so a branch on one field is enough.
- `postId` is stable — use it as the de-duplication key across runs.
- Works through the Apify API, the Apify MCP server, n8n, Make and Zapier like any other Actor. Typical call: run synchronously with `{"keywords": ["your topic"], "maxItems": 20}` and read the dataset items.

### FAQ

**Do I need a Threads or Instagram account?** No. The Actor reads the public search page.

**Can I search by hashtag?** Yes. `#marketing` and `marketing` are separate searches; the `tags` view returns posts from the matching topic tag.

**Why did a keyword return only a few posts?** Threads returned only a few public posts for it without login. Try a broader word or more keywords.

**Is it legal?** The Actor collects only publicly visible posts. Posts can contain personal data; make sure your use complies with the laws that apply to you, such as GDPR.

### What's new — 20 November 2026

First release, version 0.1.

### Run time limit

When the run's time limit is close, the Actor stops by itself shortly before it and finishes normally: everything delivered stays, and the status message says how many posts were delivered. Raise the run timeout for a big job, or resurrect the run — it continues from that point without charging the delivered posts again.

# Changelog

This Actor's version history is a separate document: https://apify.com/zinin/threads-search-scraper/changelog.md

# Actor input Schema

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

One search per line: a word, a phrase or a #hashtag, in any language. Each keyword returns up to about 60 unique public posts (Threads shows about 20 per search view without login, and the Actor reads three views). For more posts on a topic, add more keywords: synonyms, brand spellings, hashtags.

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

Which Threads search views to read for every keyword. top: the default Threads results, mostly posts from the last hours and days. archive: older and all-time matching posts. tags: posts from the topic tag with this name. All three are read by default and duplicates are removed.

## `maxItemsPerKeyword` (type: `integer`):

Stop a keyword after this many paid post rows (1 to 100).

## `maxItems` (type: `integer`):

Stop the run after this many paid post rows in total. Free status rows do not count.

## `sortBy` (type: `string`):

relevance keeps the order Threads returned. newest and likes re-order the collected posts before the per-keyword limit is applied.

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

Optional date such as 2026-11-01. Older posts are dropped and not charged. The filter is applied to the collected posts; it does not make Threads return more of them.

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

Optional. Posts with fewer likes are dropped and not charged.

## `strictKeywordMatch` (type: `boolean`):

Off (default): keep everything Threads considers relevant. On: keep only posts whose text, hashtags, topic tag or author name contain every word of the keyword.

## `includeReplies` (type: `boolean`):

On (default): replies and follow-up posts of a thread that Threads shows in search are returned as their own rows. Off: only root posts.

## `proxyCountry` (type: `string`):

Country of the Apify proxy exit used for the search. Proxy traffic is included in the price; you do not need your own proxy. Turkey is not offered: Threads is closed there. Turkish keywords work from any other country.

## Actor input object example

```json
{
  "keywords": [
    "AI agents"
  ],
  "searchTypes": [
    "top",
    "archive",
    "tags"
  ],
  "maxItemsPerKeyword": 100,
  "maxItems": 1000,
  "sortBy": "relevance",
  "minLikes": 0,
  "strictKeywordMatch": false,
  "includeReplies": true,
  "proxyCountry": "US"
}
```

# Actor output Schema

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

API URL of the run's default dataset items.

# 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": [
        "AI agents"
    ]
};

// Run the Actor and wait for it to finish
const run = await client.actor("zinin/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 = { "keywords": ["AI agents"] }

# Run the Actor and wait for it to finish
run = client.actor("zinin/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 '{
  "keywords": [
    "AI agents"
  ]
}' |
apify call zinin/threads-search-scraper --silent --output-dataset

```

## MCP server setup

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