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

A threads search scraper for public posts and profiles matching a keyword: find posts about a topic, or accounts whose name matches a brand or topic. Export JSON, CSV or Excel.

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

## Pricing

Pay per event

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

Get public Threads search results in a table you can save and use in other tools. Enter your search terms in Keywords. Choose Search posts for public posts about a topic or Search profiles for public accounts whose names match a brand or topic. Search posts returns a single page with up to 10 posts per keyword.

### What you get

Under **What to collect**, choose the type of results you want. Fill in the fields for that choice, then start the run. Each run returns one kind of result. The Actor ignores fields from other modes. Choose **Live** under **Data freshness** to collect fresh data on every run.

### Collection modes

#### Search posts

Find public Threads posts by keyword or narrow the search by date, and get each post's text, date, author name, and counts such as likes and comments. In `search-posts` mode, fill in **Keywords** (up to 100 entries), and **Posts from** (optional), **Posts before** (optional). You get up to 10 posts per entry with **Result limit per target** at its default setting, which is also the highest setting. Each post appears in its own row and counts as one **Search posts** charge.

Example result for one post:

```json
{
  "status": "ok",
  "type": "post",
  "platform": "threads",
  "id": "DfaRKFSlI4A",
  "url": "https://www.threads.com/@nasa/post/DfaRKFSlI4A",
  "author": {
    "id": "28829152388",
    "username": "nasa",
    "displayName": "NASA",
    "verified": true
  },
  "text": "A short example sentence about a space mission, shown for illustration.",
  "language": "en",
  "createdAt": "2026-11-10T15:20:11Z",
  "metrics": {
    "likes": 5120,
    "comments": 140,
    "shares": 310
  },
  "hashtags": [],
  "mentions": [],
  "media": [],
  "details": {
    "threads": {
      "replies": 140,
      "reposts": 310,
      "isReply": false,
      "quoteCount": 12,
      "isPaidPartnership": false,
      "isPinned": false,
      "isEdited": false,
      "links": []
    }
  },
  "collectedAt": "2026-11-15T12:00:00Z",
  "input": {
    "keyword": "nasa artemis",
    "maxItems": 10
  }
}
```

#### Search profiles

Enter a brand or topic to find public Threads accounts with matching names. In `search-profiles` mode, fill in **Keywords** (up to 100 entries). You get up to 10 profiles per entry with **Result limit per target** at its default setting, which is also the highest setting. Each profile appears in its own row and counts as one **Search profiles** charge.

Example result for one profile:

```json
{
  "status": "ok",
  "type": "profile",
  "platform": "threads",
  "id": "28829152388",
  "url": "https://www.threads.com/@nasa",
  "username": "nasa",
  "displayName": "NASA",
  "avatarUrl": null,
  "verified": true,
  "details": null,
  "collectedAt": "2026-11-15T12:00:00Z",
  "input": {
    "keyword": "nasa artemis",
    "maxItems": 10
  }
}
```

### Ways to use the data

- See what people say in public posts about a product, an event or a topic you're researching.
- Check which public Threads accounts use a brand or topic name.
- Collect sample posts on a topic and compare how many likes and comments they get.

### What to enter

| Field key | Name on the form | What to enter |
| --- | --- | --- |
| `mode` | What to collect | Choose one type of result per run, then fill in the fields for that choice. |
| `keywords` | Keywords | Enter words or phrases like "nasa artemis". Search posts returns up to 10 posts per keyword. Add more keywords to find more posts. |
| `postedAfter` | Posts from | Enter a date like 2026-11-01 (UTC) to include posts from that day onward. Leave blank for no start date. |
| `postedBefore` | Posts before | Enter a date like 2026-11-15 (UTC) to include only posts before that day. Leave blank for no end date. |
| `maxItems` | Result limit per target | Set the most results to collect from each target, up to the mode's maximum. Leave this blank to use the mode's default limit. |
| `freshness` | Data freshness | Standard can return results faster when recently collected data is available. Choose Live to collect fresh data on every run. |

Example input:

```json
{
  "mode": "search-posts",
  "keywords": [
    "nasa artemis"
  ],
  "maxItems": 10,
  "freshness": "standard"
}
```

### Your results

Each mode has its own view of the results table. See **Collection modes** for what each mode returns.

Every row has a `status` field. For each entry that fails, the Actor returns one row with `status: "error"`. The `error` field has a `code` and a `message`. If a required field for your mode is blank, the run returns one error row and collects no data.

### Pricing

You pay per result. Prices for each Apify plan are in USD per 1,000 results.

| What you pay for | Free | Bronze | Silver | Gold | Platinum | Diamond |
| --- | --- | --- | --- | --- | --- | --- |
| Search posts | $2.085 | $1.879 | $1.710 | $1.536 | $1.536 | $1.536 |
| Search profiles | $2.085 | $1.879 | $1.710 | $1.536 | $1.536 | $1.536 |

You don't pay for errors or empty results. The run stops when it reaches your spending limit.

On the free plan, you can collect up to 92 results per run and make up to 20 runs per day.

### Common questions

#### How many results do I get per keyword?

Search posts returns up to 10 posts per keyword. Search profiles returns about 10 profiles per keyword. There are no more pages for the same keyword, so try a few different terms to cover a topic.

#### What do I get with Search posts and Search profiles?

Search posts finds public posts that match your keyword. For each post, you get the text, date, any links in the post, and counts for likes, comments and quotes. You also get the author's username and display name and can see if the post is pinned, edited or marked as a paid partnership. You can narrow the search by date. Search profiles finds public accounts whose names match your keyword. You get each profile's link, username and display name. Both modes keep the order Threads returns, and neither has a language filter.

#### Do I need a Threads account to use this tool?

No. The tool collects only public data. You don't need to log in or share account details or browser cookies.

#### How do I cap my results, and what do I pay for?

Use Result limit per target to set the maximum number of results per keyword. You pay only for the results you receive, and the run stops at your spending limit. There's no charge for errors or for searches that return nothing.

#### Is this tool affiliated with Threads?

No. This independent tool has no affiliation with Threads, and Threads does not endorse or sponsor it. It collects only information that's public on Threads.

### Disclaimer

This Actor is not affiliated with, endorsed by, or sponsored by Threads. All trademarks belong to their owners.

# Actor input Schema

## `mode` (type: `string`):

Choose one type of result per run, then fill in the fields for that choice.

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

Enter words or phrases like "nasa artemis". Search posts returns up to 10 posts per keyword. Add more keywords to find more posts.

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

Enter a date like 2026-11-01 (UTC) to include posts from that day onward. Leave blank for no start date.

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

Enter a date like 2026-11-15 (UTC) to include only posts before that day. Leave blank for no end date.

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

Set the most results to collect from each target, up to the mode's maximum. Leave this blank to use the mode's default limit.

## `freshness` (type: `string`):

Standard can return results faster when recently collected data is available. Choose Live to collect fresh data on every run.

## Actor input object example

```json
{
  "mode": "search-posts",
  "keywords": [
    "nasa artemis"
  ],
  "maxItems": 10,
  "freshness": "standard"
}
```

# Actor output Schema

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

See everything this run collected in one table.

# 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 = {
    "mode": "search-posts",
    "keywords": [
        "nasa artemis"
    ],
    "maxItems": 10
};

// Run the Actor and wait for it to finish
const run = await client.actor("icoe-man/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 = {
    "mode": "search-posts",
    "keywords": ["nasa artemis"],
    "maxItems": 10,
}

# Run the Actor and wait for it to finish
run = client.actor("icoe-man/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 '{
  "mode": "search-posts",
  "keywords": [
    "nasa artemis"
  ],
  "maxItems": 10
}' |
apify call icoe-man/threads-search-scraper --silent --output-dataset

```

## MCP server setup

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