# Threads Scraper: Profiles, Posts, Replies & User Search (`apisamurai/threads-scraper`) Actor

Threads scraper for public profiles, latest posts, single posts with their replies, and user search. By username or link. No login, exact limits, real date and likes filters, and you pay only for real, unique rows.

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

## Pricing

from $1.50 / 1,000 post from a profiles

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

This Threads scraper gets the latest public posts of any Threads profile, full details of posts you link to (with views and the replies under them), profile details, and accounts found by name. Every post comes with text, likes, replies, reposts, quotes, shares, photos and videos, hashtags, mentions, links, topic tag and author. You pay only for real, unique rows, and IDs are always text, so long Threads IDs never get rounded.

### What you can use it for

- **Scrape Threads profiles** to track what creators, brands and competitors post and how it performs.
- **Scrape Threads replies** under a post to read audience reactions for sentiment analysis and community management.
- **Fetch single Threads posts** from links to get views, likes and reposts for posts you already track.
- **Get Threads profile data** (name, bio, bio links, followers, verified) for influencer lists.
- **Find Threads accounts** by name or username, then scrape the ones you want.
- **Build AI and NLP datasets** of posts and replies with dates and engagement numbers.

### Fair billing

- Only real posts, replies, profiles and users are charged. No demo, mock or placeholder rows, ever. If the data source sends one, it is dropped and counted in the run summary.
- No start fee, no per-run fee, no per-query fee, no minimum charge.
- Same price on every Apify plan, free plan included.
- Free Apify plan: one data request per run (the latest posts of 1 profile, 1 post fetched by link with its replies, 1 profile row or 1 user search), so you can try it. Paid plans have no limit.
- Date and likes filters and limits are enforced by the Actor itself. Posts outside your dates or filters are skipped and not charged.
- `Max posts per profile` and `Max replies per post` are exact: you never get, or pay for, more than you asked.
- Duplicates are never charged. A post found in a profile feed and again by link is saved once.
- Private or missing profiles and posts, and searches with no results, cost nothing.
- When you hit your spending limit, the run stops cleanly.

### How to use

1. Open the [Threads Scraper](https://apify.com/apisamurai/threads-scraper) page and click **Try for free** (you sign in to your Apify account).
2. Fill in at least one source: profiles, post links, or names under **Search users**.
3. Set **Max posts per profile**, and optionally replies, dates and min likes.
4. Click **Start**. Rows appear in the **Output** tab while the run works.
5. Export the dataset as JSON, CSV or Excel, or check the `SUMMARY` record in the key-value store.

### Input

| Field | What it does |
|---|---|
| Profiles | Usernames or links: `zuck`, `@zuck`, `https://www.threads.com/@zuck`. |
| Add a profile row per username | Off by default. Adds one row with the profile's details. |
| Max posts per profile | Default 15, which is also the most: Threads shows the latest 15 posts of a profile publicly. `0` gives profile rows only. |
| Post links | Full details of these posts, views included. |
| Get replies of post links / Max replies per post | On by default, up to 20 replies per post link (Threads usually shows 3 to 10). |
| Search users | Accounts matching each name or username, one row per account. |
| Max rows for the whole run | Optional hard cap on all rows. |
| Posted on or after / on or before | Inclusive, UTC. Relative dates like `7 days` work. Posts only. |
| Min likes | Skip posts below this number. Posts only. |

```json
{
  "profiles": ["zuck", "mosseri"],
  "includeProfile": true,
  "maxPostsPerProfile": 10,
  "postUrls": ["https://www.threads.com/@zuck/post/DNQtqzGRWA7"],
  "maxRepliesPerPost": 50,
  "postedAfter": "30 days"
}
```

### Output

One row per post, reply, profile or user; `type` tells them apart. Field names never change between runs. Example (shortened):

```json
{
  "type": "post",
  "id": "4027076960991456798",
  "code": "DfjDSjfDi4e",
  "url": "https://www.threads.com/@nytimes/post/DfjDSjfDi4e",
  "text": "In @nytopinion\n\n\"Americans are not rejecting A.I. They are rejecting the way Silicon Valley is defining it for them,\" Jaron Lanier writes.",
  "author": { "id": "63626552478", "username": "nytimes", "verified": true, "profilePicUrl": "https://scontent-lga3-2.cdninstagram.com/v/...jpg" },
  "postedAt": "2026-11-10T04:30:11.000Z",
  "likes": 109,
  "repliesCount": 0,
  "reposts": 8,
  "quotes": 1,
  "shares": 1,
  "views": null,
  "mediaType": "text",
  "media": [],
  "hashtags": [],
  "mentions": ["nytopinion"],
  "links": ["https://trib.al/kIZY3pL"],
  "linkPreview": { "url": "https://trib.al/kIZY3pL", "title": "Opinion | I Am a Silicon Valley Veteran. We Are Sabotaging Ourselves.", "domain": "nytimes.com", "imageUrl": "https://external-lga3-2.xx.fbcdn.net/emg1/..." },
  "topic": null,
  "isPinned": false,
  "isReply": false,
  "replyToUsername": null,
  "isRepost": false,
  "repostOf": null,
  "quotedPost": null,
  "isEdited": false,
  "isPaidPartnership": false,
  "source": "posts",
  "input": "nytimes",
  "scrapedAt": "2026-11-10T14:01:57.021Z"
}
```

Reply rows have the same fields as posts plus `postId`, `postCode` and `postUrl` of the post they belong to. Profile rows have `type: "profile"`, `id`, `username`, `url`, `fullName`, `bio`, `bioLinks`, `followers`, `verified`, `isPrivate`, `profilePicUrl`. User rows have `type: "user"`, `id`, `username`, `url`, `fullName`, `verified`, `profilePicUrl`, `isOnThreads`, `rank` and `query`. Missing values are `null`, never a fake 0. `views` is filled only for posts fetched by link (profile feeds do not show views). Threads uses topic tags instead of hashtags, so `topic` is usually filled and `hashtags` usually empty. Links are the real target pages, not Threads redirect links.

Each run also writes a `SUMMARY` record to the key-value store. For every input item it lists posts and replies delivered, rows skipped by dates or filters, duplicates, placeholder rows dropped, and why it stopped (`limit reached`, `no more results`, `private or not found`, `temporary error`, `spending limit`, `free plan limit` or `data source unavailable`).

### Pricing

$1.50 per 1,000 posts from profiles; $6.50 per 1,000 posts fetched by link; $1 per 1,000 replies; $6.50 per 1,000 profiles; $1 per 1,000 users from user search

### Integrations

- **Apify API:** start a run and get the rows in one call with `POST https://api.apify.com/v2/acts/apisamurai~threads-scraper/run-sync-get-dataset-items?token=<YOUR_APIFY_TOKEN>` and the input as JSON in the body.
- **Python and JavaScript clients** (`apify-client`): `client.actor("apisamurai/threads-scraper").call(run_input={...})`.
- **Zapier, Make and n8n** to send new posts to Google Sheets, Slack, a CRM or a database.
- **MCP for AI agents:** connect the Apify MCP server to Claude, ChatGPT or another MCP client and the agent can run this Actor as a tool.
- **Schedules and webhooks** in Apify Console for daily or hourly runs.

### FAQ

**Do I need a Threads or Instagram account?**
No. You only need an Apify account. You never enter credentials, cookies or a session.

**Can I search Threads posts by keyword?**
No. This Actor does not offer keyword or hashtag search of posts. Use **Search users** to find accounts by name, then add them under **Profiles**. Keywords, hashtags and search links are skipped with a log line and cost nothing.

**Which input formats work?**
Usernames, @handles and links from threads.com or threads.net, one per line or comma separated. Links pasted with quotes, backticks or as markdown are cleaned, and a link in the wrong field still works (a post link under Profiles is fetched as a post). Inputs written for other Threads scrapers also work: `usernames`, `post_links`, `startUrls`, `max_posts`, `max_replies`, `start_date`, `end_date` and `maxItems`, including relative dates like `7 days`.

**How many posts can I get per profile?**
The latest 15. That is what Threads shows publicly for a profile, so older posts are not available. Add the links of older posts under **Post links** to fetch them one by one.

**How many replies does a post return?**
The top replies Threads shows publicly under the post, usually 3 to 10 even when a post has hundreds. Replies to replies are not followed.

**Why did I get fewer results than I asked for?**
Open the `SUMMARY` record. It says for each input why it stopped: no more results, posts skipped by your dates or filters, duplicates, a private or missing account, the spending limit or the free plan limit.

**Can it scrape private accounts?**
No. Only public data is collected. A private or missing profile or post is reported as `private or not found` and costs nothing.

**Is it legal to scrape Threads?**
The Actor collects only public data. You are responsible for how you use it: follow the Threads terms and the laws where you live, and take care with personal data (for example under GDPR). This is not legal advice.

# Actor input Schema

## `profiles` (type: `array`):

Get the latest public posts of these accounts. Usernames or profile links: zuck, @zuck or https://www.threads.com/@zuck. One per line.

## `includeProfile` (type: `boolean`):

On: also save one row with each profile's details (name, bio, bio links, followers, verified).

## `maxPostsPerProfile` (type: `integer`):

Maximum posts saved for each profile. Threads shows the latest 15 posts of a profile publicly, so that is the most a profile can return. Set 0 to get profile rows only.

## `postUrls` (type: `array`):

Fetch full details of these posts, including views, e.g. https://www.threads.com/@zuck/post/DNQtqzGRWA7. One per line.

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

On: also save the replies shown under each post link (one row per reply). Applies to post links only.

## `maxRepliesPerPost` (type: `integer`):

Maximum replies saved for each post link. Enforced exactly. Threads shows only the top replies publicly (usually 3 to 10), so a post can return fewer.

## `searchUsers` (type: `array`):

Find Threads accounts by name or username, one search per line (one row per account found). Keyword search of posts is not offered: search users here, then add the accounts you want under Profiles.

## `maxTotalItems` (type: `integer`):

Optional hard cap on all rows (posts, replies, profiles and users) across the run. Leave empty for no total cap.

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

Only posts published on or after this day (UTC). Also accepts relative dates such as 7 days. Posts outside the range are skipped and not charged. Applies to posts, not replies.

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

Only posts published on or before this day (UTC, the whole day is included).

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

Skip posts with fewer likes. Posts with hidden like counts are skipped when this is set. Applies to posts, not replies.

## Actor input object example

```json
{
  "profiles": [
    "zuck"
  ],
  "includeProfile": false,
  "maxPostsPerProfile": 5,
  "postUrls": [
    "https://www.threads.com/@trendspider/post/DIU8naHS6q_"
  ],
  "includeReplies": true,
  "maxRepliesPerPost": 4
}
```

# Actor output Schema

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

No description

## `summary` (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 = {
    "profiles": [
        "zuck"
    ],
    "maxPostsPerProfile": 5,
    "postUrls": [
        "https://www.threads.com/@trendspider/post/DIU8naHS6q_"
    ],
    "maxRepliesPerPost": 4
};

// Run the Actor and wait for it to finish
const run = await client.actor("apisamurai/threads-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 = {
    "profiles": ["zuck"],
    "maxPostsPerProfile": 5,
    "postUrls": ["https://www.threads.com/@trendspider/post/DIU8naHS6q_"],
    "maxRepliesPerPost": 4,
}

# Run the Actor and wait for it to finish
run = client.actor("apisamurai/threads-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 '{
  "profiles": [
    "zuck"
  ],
  "maxPostsPerProfile": 5,
  "postUrls": [
    "https://www.threads.com/@trendspider/post/DIU8naHS6q_"
  ],
  "maxRepliesPerPost": 4
}' |
apify call apisamurai/threads-scraper --silent --output-dataset

```

## MCP server setup

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