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

Threads Search Scraper: search Threads posts by keyword or hashtag without an account. Get post text, likes, replies, reposts, quotes, images, videos, link previews, date and author for top and recent results. A Threads search API for brand monitoring, trends and social listening.

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

## Pricing

from $2.00 / 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.

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

The **Threads Search Scraper** searches Threads by keyword or hashtag and returns the matching posts: text, likes, replies, reposts, quotes, images, videos, link previews, posting date and author. It reads both the Top and the Recent search tabs, works without a Threads account and exports to JSON, CSV or Excel. Use it as a Threads search API for brand monitoring, trends and social listening.

### 🎯 Use Cases

- **Threads search without an account**: see what people post about a keyword or hashtag on Threads without logging in.
- **Brand monitoring on Threads**: run your brand and product names every day and catch new mentions with their engagement.
- **Threads trends and topic research**: compare what gets likes and reposts for a topic, and who posts it.
- **Find creators by topic**: every post comes with the author's username, name and verified badge.
- **Social listening and sentiment datasets**: collect post text with dates for sentiment analysis or AI training.
- **Campaign and hashtag tracking**: follow a hashtag through a launch or an event.

### ✨ Features

- **Post data**: post ID, link, full text, posting date, images, videos and link previews (with the real target URL).
- **Engagement**: likes, replies, reposts, quotes and reshares per post.
- **Author**: username, full name, user ID, verified flag and profile picture.
- **Top and recent**: read the Top tab, the Recent tab, or both merged with duplicates removed.
- **Context**: reply flag with the post it answers, and quoted or reposted posts.
- **Many keywords per run**: each row carries its `query` and `searchTab`, and a post found by two keywords is saved once.
- **Honest limits**: when Threads has no more results for a keyword, the status message says so.

### 🛠️ How It Works

1. **Enter keywords or hashtags**, one per line.
2. **Pick the tabs**: Top and recent (default), Top only, or Recent only.
3. **Run and export**: each post is one row; download JSON, CSV or Excel, or read the dataset through the Apify API.

### ⚙️ Input

| Field                   | What it does                                                                                   |
| ----------------------- | ---------------------------------------------------------------------------------------------- |
| **Search keywords**     | Keywords, hashtags or phrases, one per line.                                                    |
| **Results**             | `all` = Top and recent merged (about 40 posts per keyword), `top` or `recent` (about 20 each).  |
| **Max posts per query** | Stop each keyword after this many posts. Default 50.                                            |

```json
{
    "queries": ["ai agents", "#worldcup", "your brand"],
    "searchType": "all",
    "maxItems": 50
}
```

### 💰 Pricing

You pay only for the posts you get. There is no monthly rental.

| Event           | Price                           | What you get                                                        |
| --------------- | ------------------------------- | ------------------------------------------------------------------- |
| **Post**        | $0.002 per post ($2 per 1,000)  | One Threads post with text, engagement counts, media and author      |
| **Actor start** | $0.00005 per run                | Charged once when the run starts.                                   |

Examples: one keyword with about 40 posts ≈ $0.08 · 25 keywords (about 1,000 posts) ≈ $2.00 · daily monitoring of 5 keywords ≈ $0.40 per day.

### 📊 Sample Output Data

```json
{
    "id": "3945022915053695974",
    "code": "Da_iXCKjTPm",
    "url": "https://www.threads.com/@fn_515/post/Da_iXCKjTPm",
    "text": "Must suck to have the whole world think you cheated your way thru the World Cup only to lose it. …",
    "createdAt": "2026-07-19T23:23:20.000Z",
    "authorUsername": "fn_515",
    "authorFullName": "Jake Prior-Miller",
    "authorId": "70669309239",
    "authorVerified": false,
    "authorProfilePicUrl": "https://scontent-lga3-1.cdninstagram.com/v/t51.2885-19/467754124_…",
    "likes": 23814,
    "replies": 739,
    "reposts": 1021,
    "quotes": 53,
    "reshares": 355,
    "images": ["https://scontent-lga3-3.cdninstagram.com/v/t51.82787-15/752475060_…"],
    "videos": [],
    "linkPreview": null,
    "isReply": false,
    "replyTo": null,
    "quotedPost": null,
    "repostedPost": null,
    "isPaidPartnership": false,
    "query": "world cup",
    "searchTab": "top",
    "scrapedAt": "2026-10-22T09:09:36.356Z"
}
```

`searchTab` tells you whether the post came from the Top or the Recent tab. Top results can be months old; Recent results are the newest posts. When a result is a reply, `isReply` is true and `replyTo` holds the post it answers (that post is saved as its own row too). Image and video links are signed and expire after a few days, so download media soon after the run.

### 📅 Schedule and Integrate

For brand monitoring, save your keywords as a Task with **Results** set to Recent and run it daily (or every few hours for a launch) with Apify **Schedules**. Each run adds new posts with `scrapedAt`; dedupe across runs by `id`. Send the rows to Google Sheets, Zapier, Make, n8n or Slack through webhooks and the Apify API.

### 🤖 Use with AI Agents (MCP)

The Threads Search Scraper works as a tool in Claude, ChatGPT, Cursor and other MCP clients through the Apify MCP server (`https://mcp.apify.com`). An agent can call it with:

```json
{ "queries": ["ai agents"], "searchType": "recent", "maxItems": 20 }
```

### ❓ FAQ

**Does Threads have an official search API?** Meta's Threads API offers keyword search only to apps that pass Meta's review, and every request runs under a connected Threads account with rate limits. This actor searches public Threads posts with no app, no key and no account.

**Can I search Threads without an account?** Yes. That is what this actor does: you get the posts Threads shows to visitors who aren't logged in.

**How many posts do I get per keyword?** Threads shows visitors about 20 Top and about 20 Recent posts per keyword, so a keyword gives about 40 posts with both tabs (often 20 to 45, fewer for rare words). The status message says when a keyword ran out. For more, add related keywords and hashtags, or run Recent on a schedule to collect new posts over time.

**Does it search hashtags?** Yes. Enter the hashtag with or without `#`; Threads matches tags and words the same way.

**Why is a field empty?** `images`, `videos` and `linkPreview` are empty for text-only posts. `replyTo`, `quotedPost` and `repostedPost` are null unless the post is a reply, a quote or a repost.

**How do I get the authors' follower counts?** Paste the `authorUsername` values into the [Threads Profile Scraper](https://apify.com/piotrv1001/threads-profile-scraper).

**How do I get all posts of one account?** Use the [Threads Posts Scraper](https://apify.com/piotrv1001/threads-posts-scraper).

### 🔗 Related Scrapers

- [Threads Profile Scraper](https://apify.com/piotrv1001/threads-profile-scraper): followers, bio, links and verified badge for the authors you find.
- [Threads Posts Scraper](https://apify.com/piotrv1001/threads-posts-scraper): every post and reply of a Threads profile, plus post reply threads.
- [Facebook Posts Scraper](https://apify.com/piotrv1001/facebook-posts-scraper): posts from Facebook pages for the same brand monitoring.
- [Bluesky Profile Posts Scraper](https://apify.com/piotrv1001/bluesky-profile-posts-scraper): posts and profiles from Bluesky.

# Actor input Schema

## `queries` (type: `array`):

Keywords, hashtags or phrases to search on Threads, one per line. Each keyword returns up to about 40 posts.

## `searchType` (type: `string`):

Which Threads search tabs to read. "Top and recent" merges both and skips duplicates.

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

Stop each keyword after this many posts.

## Actor input object example

```json
{
  "queries": [
    "ai agents",
    "world cup"
  ],
  "searchType": "all",
  "maxItems": 50
}
```

# Actor output Schema

## `results` (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 = {
    "queries": [
        "ai agents"
    ],
    "maxItems": 50
};

// Run the Actor and wait for it to finish
const run = await client.actor("piotrv1001/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 = {
    "queries": ["ai agents"],
    "maxItems": 50,
}

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

```

## MCP server setup

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