# Threads Search Scraper (`automly/threads-search-scraper`) Actor

Search public Threads posts by keyword or hashtag: post text, author, publish time, exact likes, replies, reposts, quotes, shares and media. Only posts that contain your keywords. No login.

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

## Pricing

from $1.90 / 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

### What is Threads Search Scraper?

**Threads Search Scraper** lets you **search public Threads posts by keyword, hashtag or phrase** and export what Threads shows for that search: post text, author, publish time, exact like, reply, repost, quote and share counts, images, videos, hashtags, mentions and links. Add keywords, click **Start**, and download the data as Excel, CSV or JSON.

- 🔎 **Keyword and hashtag search:** brands, products, topics or `#hashtags`, each searched separately
- 🎯 **Only matching posts:** posts whose text does not contain your keywords are dropped, so you don't pay for off-topic results
- 🔢 **Exact numbers:** likes, replies, reposts, quotes and shares as exact integers, not "1.6K" labels
- 🔓 **No login:** no Threads or Instagram account, cookies or developer app needed
- 💸 **Free to try:** the $5 of free usage every Apify account gets each month covers about 2,000 posts

### What data can you extract from Threads search?

| | | |
|---|---|---|
| 📝 Post text | 📅 Publish time (UTC) | 🔗 Post URL and ID |
| 👤 Author and display name | ✅ Verified badge | ❤️ Likes |
| 💬 Replies | 🔁 Reposts | 🗨️ Quotes |
| 📤 Shares | 🖼️ Image and video URLs | #️⃣ Hashtags, @ mentions and links |

### How to search Threads posts

1. [Create a free Apify account](https://console.apify.com/sign-up) (no credit card needed).
2. Open **Threads Search Scraper**.
3. Add keywords such as `coffee`, `#marketing` or `electric cars` to **Search keywords**. A Threads search link works too.
4. Set **Max posts per keyword** (20 is a good default), then click **Start**. Each keyword takes a few seconds.
5. When the run finishes, download the data as Excel, CSV, JSON, HTML or XML.

### How much does it cost to scrape Threads search results?

You pay only for the posts you get: each post is one row. The price per 1,000 posts depends on your Apify plan:

| Apify plan | Price per 1,000 posts |
|---|---|
| Free | **$2.45** |
| Starter (Bronze) | **$2.29** |
| Scale (Silver) | **$2.09** |
| Business (Gold) and higher | **$1.90** |

Each run also has a start fee of $0.001 at the default settings ($0.00075 on Business and higher). Platform usage is included in these prices, so you pay nothing extra for it.

Example: 20 keywords with 20 posts each are 400 posts, about $0.98 on the Free plan and $0.76 on Business.

### ⬇️ Input

| Setting | What it does |
|---|---|
| **Search keywords** | Keywords, hashtags or phrases, each searched separately. Pasted Threads search links are read for their keywords |
| **Max posts per keyword** | Most posts to return for each keyword, 1 to 100 (default 20) |

```json
{
  "searchQueries": ["coffee", "#marketing"],
  "maxPosts": 20
}
```

### ⬆️ Output

Each post is one row:

```json
{
  "url": "https://www.threads.com/@zuck/post/DdZ7sQvkTFn",
  "id": "DdZ7sQvkTFn",
  "author": "zuck",
  "fullName": "Mark Zuckerberg",
  "isVerified": true,
  "postedAt": "2026-09-17T22:27:44Z",
  "text": "Muse for Mac is out today! ...",
  "hashtags": [],
  "mentions": [],
  "urls": ["http://ai.meta.com/muse/download"],
  "likes": 1776,
  "replies": 306,
  "reposts": 147,
  "quotes": 32,
  "shares": 88,
  "isReply": false,
  "isPinned": false,
  "mediaUrls": [],
  "source": "search:muse",
  "platform": "threads",
  "type": "post"
}
```

`source` names the keyword that found the post, so one run with many keywords stays easy to split. A post found by two keywords is saved (and charged) once. Each run also saves a short report naming any keyword that returned no posts.

### How many posts can you get per keyword?

Threads Search Scraper never logs in, so it gets what Threads shows to visitors without an account: about 25 Top posts per keyword, of which those containing every word of the keyword are kept (usually 10 to 20). Threads shows its Recent tab only to logged-in users. For more coverage, add related keywords and hashtags, or run the search on a schedule and keep the new posts each time.

### How can I use Threads search data?

- **Brand monitoring:** search your brand or product name on a schedule and collect the posts that mention it
- **Social listening and sentiment analysis:** feed post text into a spreadsheet or BI tool
- **Trend and topic research:** see which posts on a topic get the most likes, replies and reposts
- **Creator discovery:** find active accounts that post about your niche

### More Threads scrapers

| Actor | What it gets |
|---|---|
| [Threads Scraper - Posts, Profiles, Search & Replies](https://apify.com/automly/threads-public-posts-scraper) | Profiles, keyword search, single posts and replies in one run |

### ❓FAQ

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

No. Threads Search Scraper reads the public posts anyone can see without logging in.

#### Can I monitor Threads for keywords or brand mentions?

Yes. Run it on an Apify schedule with your keywords. Each run returns the posts currently shown for each search; compare runs by post `id` to find new ones.

#### Why did a keyword return no posts?

Threads had no public Top posts containing it. The run still succeeds and its status names the keyword.

#### Is it legal to scrape Threads?

This scraper collects only public posts. They can contain personal data, which may be protected by laws such as the GDPR, so only collect it for a legitimate reason and ask a lawyer if you are unsure. You can read more in [Is web scraping legal?](https://blog.apify.com/is-web-scraping-legal/)

Threads Search Scraper is an independent tool. It is not affiliated with, endorsed by or sponsored by Threads or Meta Platforms. Threads is a trademark of Meta Platforms, Inc.

### ⭐ Your feedback

Have an idea or found a problem? Open the **Issues** tab and tell us; we usually reply within a day. If Threads Search Scraper saved you time, a short review on the **Reviews** tab helps other people find it.

# Actor input Schema

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

Keywords, hashtags or phrases to search, e.g. coffee or #marketing. Each keyword is searched separately. A Threads search link works too.

## `maxPosts` (type: `integer`):

Most posts to return for each keyword, e.g. 20. Threads shows visitors about 25 Top posts per keyword, and only posts whose text contains every word of the keyword are kept.

## Actor input object example

```json
{
  "searchQueries": [
    "coffee"
  ],
  "maxPosts": 10
}
```

# Actor output Schema

## `posts` (type: `string`):

Posts found for each keyword.

# 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"
    ],
    "maxPosts": 10
};

// Run the Actor and wait for it to finish
const run = await client.actor("automly/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"],
    "maxPosts": 10,
}

# Run the Actor and wait for it to finish
run = client.actor("automly/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"
  ],
  "maxPosts": 10
}' |
apify call automly/threads-search-scraper --silent --output-dataset

```

## MCP server setup

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