# Threads Scraper: Posts, Replies, Profiles, Search (`ech0blaz3/threads-replies-scraper`) Actor

Scrape Threads posts with replies, profiles with latest posts, and keyword search. No login, no cookies. Pay $2.20 per 1,000 results.

- **URL**: https://apify.com/ech0blaz3/threads-replies-scraper.md
- **Developed by:** [ech0blaz3](https://apify.com/ech0blaz3) (community)
- **Features:** Limited permissions
- **Stats:** 2 total users, 1 monthly users, 100.0% runs succeeded, 1 bookmarks
- **User rating**: No ratings yet

## Pricing

$2.20 / 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.

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 Scraper: Posts, Replies, Profiles & Search

**Threads Scraper** extracts public data from [Threads](https://www.threads.com) without a login: posts with
their replies, profiles with their latest posts, and keyword search results. Paste post links, usernames or
keywords, press Start, and download the results as JSON, CSV, Excel or via the API.

No Threads account, no cookies, no browser: the Actor reads exactly what Threads shows to a logged-out
visitor, through residential proxies.

### What can this Threads scraper do?

| Input            | What you get                                                                                         |
| ---------------- | ---------------------------------------------------------------------------------------------------- |
| **Post URLs**    | The post (text, likes, replies, reposts, quotes, **views**, time, media) and its **visible replies**, including replies to replies and the author's own thread continuation |
| **Usernames**    | The **profile** (name, bio, followers, verified badge, bio links, picture) and its **latest posts**  |
| **Search keywords** | The **top posts** Threads shows for each keyword                                                  |

You can combine all three in one run. Typical uses:

- **Threads replies scraper**: collect the conversation under a post for sentiment, feedback or comment analysis.
- **Threads profile scraper**: track followers and recent posts of creators, brands or competitors.
- **Threads search scraper**: see what is trending for a keyword, brand or product.

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

**$2.20 per 1,000 results.** One result is one row in the dataset: a post, a reply, a profile, a profile
post or a search post. You pay only for saved results; there is no extra charge for the run itself.

Set a maximum cost per run in the run options: the Actor saves exactly as many results as fit and then
stops, so you never pay more than your limit.

| Example run                                  | Results (approx.) | Cost (approx.) |
| -------------------------------------------- | ----------------- | -------------- |
| 10 posts with their replies                   | 60 to 120         | $0.13 to $0.26 |
| 10 profiles with their latest posts           | 50 to 100         | $0.11 to $0.22 |
| 10 search keywords                            | about 200         | about $0.44    |

### Input

Fill in at least one list. Accepted formats: `https://www.threads.com/@user/post/CODE` (threads.net works
too), `zuck`, `@zuck` or `https://www.threads.com/@zuck`, and plain keywords. Duplicates are scraped once.

```json
{
    "post_urls": ["https://www.threads.com/@zuck/post/DTa3-B1EbTp"],
    "usernames": ["zuck", "@mosseri"],
    "search_queries": ["artificial intelligence"],
    "proxy_configuration": { "useApifyProxy": true, "apifyProxyGroups": ["RESIDENTIAL"] }
}
```

Keep the default residential proxy: Threads quickly blocks repeated requests from a single IP.

### Output

Every row has `source_type` (`post`, `reply`, `profile`, `profile_post`, `search_post`) and `source_input`
(the link, username or keyword it came from), so one dataset can hold results from all inputs.

A post (abridged):

```json
{
    "source_type": "post",
    "source_input": "https://www.threads.com/@zuck/post/DTa3-B1EbTp",
    "id": "3808602590024938729",
    "code": "DTa3-B1EbTp",
    "url": "https://www.threads.com/@zuck/post/DTa3-B1EbTp",
    "author": { "username": "zuck", "full_name": "Mark Zuckerberg", "is_verified": true },
    "text": "Today we're establishing a new top-level initiative called Meta Compute. ...",
    "like_count": 2943,
    "reply_count": 956,
    "repost_count": 146,
    "quote_count": 39,
    "view_count": 520091,
    "taken_at": "2026-01-12T18:00:30Z",
    "media": [],
    "has_more_replies": true
}
```

A reply to a reply (abridged; author anonymized):

```json
{
    "source_type": "reply",
    "source_input": "https://www.threads.com/@zuck/post/DTa3-B1EbTp",
    "post_code": "DTa3-B1EbTp",
    "code": "DTa4IwekSaY",
    "url": "https://www.threads.com/@example_user/post/DTa4IwekSaY",
    "author": { "username": "example_user", "full_name": "Example User", "is_verified": false },
    "text": "Might I add…",
    "like_count": 0,
    "taken_at": "2026-01-12T18:01:58Z",
    "reply_to_username": "example_user",
    "parent_code": "DTa4HRrkapA",
    "depth": 2,
    "is_author_thread": false,
    "media": []
}
```

A profile (abridged):

```json
{
    "source_type": "profile",
    "source_input": "zuck",
    "username": "zuck",
    "full_name": "Mark Zuckerberg",
    "url": "https://www.threads.com/@zuck",
    "is_verified": true,
    "is_private": false,
    "biography": "Mostly superintelligence and MMA takes",
    "follower_count": 5758836,
    "bio_links": [],
    "has_more_posts": true
}
```

Media items look like `{"type": "image", "url": "...", "width": 2279, "height": 2849}`; types are `image`,
`video` (with `thumbnail_url`), `gif` and `link` (link previews, with the real target URL).

#### Run report

The `OUTPUT` record in the run's key-value store lists every input with its status (`ok`, `error`,
`skipped`), the number of results and, for failures, a readable reason:

| Code             | Meaning                                                                         |
| ---------------- | ------------------------------------------------------------------------------- |
| `login_required` | Threads asked for a login: the profile or post is missing, private or login-only |
| `rate_limited`   | Threads kept answering "too many requests", even after retries from new IPs    |
| `no_results`     | The search returned nothing                                                     |
| `not_found`      | The post or profile does not exist                                             |
| `invalid_input`  | The entry is not a Threads link, username or keyword                           |
| `network_error`, `http_error` | The connection kept failing after retries                         |

One failing input never stops the others, and failed inputs produce no results, so they cost nothing.

### Limitations: what Threads shows without a login

The Actor works logged out on purpose: no account to get banned, no cookies to manage. The trade-off is that
it only gets what Threads shows to logged-out visitors:

- **Replies**: only the **first batch** of replies, typically **4 to 13 per post**, even if the post has
  thousands. `reply_count` on the post row tells you the real total, `has_more_replies` that more exist.
- **Profiles**: only the **latest posts** (usually the last few threads), not the full history.
  `has_more_posts` tells you whether there are older ones.
- **Search**: only the **top results**, about **19 threads** per keyword; no "Recent" tab, no further pages.
- **View counts** are available for posts from `post_urls` only.
- Private profiles and login-only content are reported as `login_required` and are not charged.

If you need every reply or a profile's full history, you need a logged-in scraper; this one deliberately is not.

### FAQ

**Do I need a Threads or Instagram account?**
No. The Actor never logs in and uses no cookies.

**Why do I get only some of the replies?**
Without a login Threads embeds only the first batch of replies in the page and asks you to log in for more.
The Actor does not bypass that. Use `reply_count` to see the full number.

**Why should I keep the residential proxy?**
Threads starts blocking one IP after a few dozen requests. With the residential proxy every request comes
from a new IP, and blocked requests are retried up to 3 times from other IPs. Without a proxy the run stops
at the first block so that it does not make it worse.

**How fast is it?**
The Actor makes at most one request every 2 seconds to stay gentle. Each post, profile or keyword is one
page, so 100 inputs take a little over 3 minutes.

**What if a link or username is wrong?**
It is listed in the `OUTPUT` report with a clear reason, and the other inputs keep going. You are not
charged for it.

**Can I use it through the API or with integrations?**
Yes. Start runs and download datasets via the Apify API, the Python or JavaScript clients, or integrations
such as Make, Zapier, Google Sheets and webhooks.

**Is it legal to scrape Threads?**
The Actor only collects publicly visible data. Results can still contain personal data (usernames, names,
texts), which is protected by laws such as the GDPR. Scrape only for legitimate purposes and consult a lawyer
if you are unsure.

### Keywords

Threads scraper, Threads replies scraper, Threads comments scraper, Threads profile scraper, Threads search
scraper, Threads posts, Threads API alternative, Meta Threads data, Threads followers, scrape Threads without
login.

# Actor input Schema

## `post_urls` (type: `array`):

Links to Threads posts, one per line, for example https://www.threads.com/@zuck/post/DTa3-B1EbTp (threads.net links work too).<br><br>For each post you get the post itself (text, likes, reposts, quotes, views, time, media) and the replies Threads shows without a login: typically 4 to 13 replies per post, including replies to replies.

## `usernames` (type: `array`):

Threads usernames or profile links, one per line: zuck, @zuck or https://www.threads.com/@zuck.<br><br>For each profile you get its public data (name, bio, followers, verified badge, bio links, picture) and its latest posts as Threads shows them without a login (usually the last few threads).

## `search_queries` (type: `array`):

Keywords or phrases to search on Threads, one per line (max 100 characters each).<br><br>For each keyword you get the top posts Threads shows without a login, about 20 per keyword.

## `proxy_configuration` (type: `object`):

Residential proxies are strongly recommended: Threads quickly blocks repeated requests from one IP. Every request uses a new IP, and a blocked request (HTTP 429 or a redirect to the login page) is retried up to 3 times with another IP.<br><br>Without a proxy, the run stops at the first HTTP 429 to avoid making the block longer.

## Actor input object example

```json
{
  "post_urls": [],
  "usernames": [
    "zuck"
  ],
  "search_queries": [
    "apple"
  ],
  "proxy_configuration": {
    "useApifyProxy": true,
    "apifyProxyGroups": [
      "RESIDENTIAL"
    ]
  }
}
```

# Actor output Schema

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

No description

## `report` (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 = {
    "usernames": [
        "zuck"
    ],
    "search_queries": [
        "apple"
    ],
    "proxy_configuration": {
        "useApifyProxy": true,
        "apifyProxyGroups": [
            "RESIDENTIAL"
        ]
    }
};

// Run the Actor and wait for it to finish
const run = await client.actor("ech0blaz3/threads-replies-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 = {
    "usernames": ["zuck"],
    "search_queries": ["apple"],
    "proxy_configuration": {
        "useApifyProxy": True,
        "apifyProxyGroups": ["RESIDENTIAL"],
    },
}

# Run the Actor and wait for it to finish
run = client.actor("ech0blaz3/threads-replies-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 '{
  "usernames": [
    "zuck"
  ],
  "search_queries": [
    "apple"
  ],
  "proxy_configuration": {
    "useApifyProxy": true,
    "apifyProxyGroups": [
      "RESIDENTIAL"
    ]
  }
}' |
apify call ech0blaz3/threads-replies-scraper --silent --output-dataset

```

## MCP server setup

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