# Threads Scraper - Posts, Profiles, Replies & Search API (`sian.agency/threads-meta-scraper`) Actor

Extract Threads data at scale: user posts, replies, reposts, profiles, post details, comments and search (profiles, recent, top). Bulk timelines with full engagement counts, permalinks and pagination, exported to clean structured JSON or CSV. No login required.

- **URL**: https://apify.com/sian.agency/threads-meta-scraper.md
- **Developed by:** [SIÁN OÜ](https://apify.com/sian.agency) (community)
- **Categories:** Social media, Marketing, Lead generation
- **Stats:** 2 total users, 1 monthly users, 100.0% runs succeeded, 1 bookmarks
- **User rating**: No ratings yet

## Pricing

from $1.50 / 1,000 extracted posts

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?

Actors are web data automations that power AI and operations. They run on the Apify platform to scrape websites, process data, connect APIs, and automate workflows.
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.
Actors are written with capital "A".

## 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.
The best way to integrate Actors is as follows.

- **AI agents and MCP clients** — the [Apify MCP server](https://docs.apify.com/integrations/mcp.md) at `https://mcp.apify.com` (remote, streamable HTTP, OAuth on first use).
- **Agentic workflows and local Actor development** — [Agent Skills](https://apify.com/.well-known/agent-skills/index.json) with the [Apify CLI](https://docs.apify.com/cli/docs.md): `npm install -g apify-cli`, then `apify login`.
- **JavaScript/TypeScript projects** — the official [JS/TS client](https://docs.apify.com/api/client/js/docs.md): `npm install apify-client`.
- **Python projects** — the official [Python client](https://docs.apify.com/api/client/python/docs.md): `pip install apify-client`.
- **Any other language** — the [REST API](https://docs.apify.com/api/v2.md).

For usage examples, see the [API](#api) section below.

For more details, see Apify documentation as [Markdown index](https://docs.apify.com/llms.txt) and [Markdown full-text](https://docs.apify.com/llms-full.txt).

# README

## Threads Scraper - Posts, Profiles, Replies & Search API 🧵

[![SIÁN Agency Store](https://img.shields.io/badge/Store-SI%C3%81N%20Agency-1AE392)](https://apify.com/sian.agency?fpr=sian) [![Xiaohongshu Scraper](https://img.shields.io/badge/Store-Xiaohongshu%20RedNote-FF2442)](https://apify.com/sian.agency/xiaohongshu-rednote-scraper?fpr=sian) [![Douyin Scraper](https://img.shields.io/badge/Store-Douyin%20Scraper-161823)](https://apify.com/sian.agency/douyin-scraper?fpr=sian) [![Weibo Scraper](https://img.shields.io/badge/Store-Weibo%20Scraper-E6162D)](https://apify.com/sian.agency/weibo-scraper?fpr=sian)

#### 🎉 Nine Threads operations in one actor

##### Pull user posts, replies, reposts, profiles, post details, comments and search results into clean JSON — built for social listening, influencer research and engagement analytics.

***

### 📋 Overview

**One actor for everything Threads.** Extract public Threads data at scale — a creator's full posting history, their replies and reposts, post engagement, comment threads, profile stats, and keyword search — all into one clean, structured dataset.

**What you get:**

- ✅ **9 operations, one tool**: user posts · replies · reposts · profiles · post details · comments · search (profiles / recent / top) — replaces three or four single-purpose scrapers.
- ⚡ **Bulk timelines with real pagination**: page through a full post or comment history rather than stopping at page one.
- 🎯 **Full engagement data**: like, reply, repost, quote and reshare counts on every post, with permalinks and timestamps.
- 💰 **Pay only for what you pull**: priced per post or profile returned — no per-page or subscription lock-in.
- 💎 **Reply & repost timelines**: see a creator's conversational and amplification footprint — data most scrapers skip entirely.
- ✨ **No login or cookies**: public data only, no account or API key required from you.

***

### ✨ Features

- 🧵 **User Posts**: pull a profile's published posts with text, media, engagement counts and permalinks.
- 💬 **User Replies**: collect a user's replies to other posts — perfect for conversation and sentiment analysis.
- 🔁 **User Reposts**: see exactly what a creator amplifies to their audience.
- 👤 **User Profile**: bio, follower count, verification status and avatar for any handle.
- 🔍 **Post Details**: the full data for a single post by ID or URL.
- 🗨️ **Post Comments**: paginated comments on any post for audience-reaction mining.
- 🔎 **Search Profiles**: discover accounts by keyword.
- 🆕 **Search Recent / 🔥 Search Top**: newest or most-engaged posts for any keyword, brand or topic.
- 📊 **Clean structured output**: one flat row per post or profile, ready for JSON, CSV or Excel.
- 🔗 **Permalinks included**: every post row carries a ready-to-open `threads.net` link.

***

### 🎬 Quick Start

Pick an operation, give it a username, post ID or search query, and run. Each run produces one clean dataset for the chosen mode.

```bash
curl -X POST "https://api.apify.com/v2/acts/sian.agency~threads-meta-scraper/runs?token=YOUR_TOKEN" \
-H 'Content-Type: application/json' \
-d '{"operation": "userPosts", "usernames": ["zuck"], "maxResults": 50}'
```

***

### 🚀 Getting Started (3 Simple Steps)

#### Step 1: Choose an operation

Select what you want — User Posts, User Profile, Post Comments, Search, and so on.

#### Step 2: Provide the input

Add usernames (for user operations), post IDs or URLs (for post operations), or a search query (for search operations).

#### Step 3: Run and export

Start the run and download your results as JSON, CSV or Excel from the dataset.

**That's it! In under a minute, you'll have:**

- A clean dataset of Threads posts or profiles
- Full engagement counts and permalinks
- Data ready for analysis, dashboards or LLM pipelines

***

### 📥 Input Configuration

| Field | Type | Required | Description |
|-------|------|----------|-------------|
| operation | string | Yes | One of: `userInfo`, `userPosts`, `userReplies`, `userReposts`, `postDetail`, `postComments`, `searchProfiles`, `searchRecent`, `searchTop` |
| usernames | array | For user ops | One or more handles or profile URLs (`zuck`, `@zuck`, `https://www.threads.net/@zuck`) |
| postIds | array | For post ops | One or more post IDs or post URLs |
| query | string | For search ops | Keyword or phrase to search Threads for |
| maxResults | integer | No | Max posts/comments per input (default 50). FREE runs are always capped at 50 rows. |

**Example — a user's posts:**

```json
{ "operation": "userPosts", "usernames": ["zuck", "mosseri"], "maxResults": 100 }
```

**Example — search top posts for a keyword:**

```json
{ "operation": "searchTop", "query": "ai agents" }
```

**Example — comments on a post:**

```json
{ "operation": "postComments", "postIds": ["3390920896561588969"], "maxResults": 200 }
```

***

### 📤 Output

Results are saved to the Apify dataset — one flat row per post or profile.

| Field | Type | Description |
|-------|------|-------------|
| \_operation | string | Operation that produced the row |
| \_rowType | string | `post` or `profile` |
| postId | string | Threads post ID |
| postUrl | string | Canonical permalink on threads.net |
| text | string | Post caption / body text |
| takenAt | string | Publish time (ISO 8601) |
| mediaType | string | text, image, video or carousel |
| likeCount / replyCount / repostCount / quoteCount / reshareCount | number | Engagement counts |
| username / fullName / userId | string | Author or profile identity |
| isVerified | boolean | Verified badge |
| followerCount | number | Follower count (profile rows) |
| biography | string | Profile bio (profile rows) |

**Example post row:**

```json
{
  "_operation": "userPosts",
  "_rowType": "post",
  "postId": "3920731152608519405",
  "postUrl": "https://www.threads.net/@zuck/post/DZ1VE55nfRn",
  "text": "Mostly superintelligence and MMA takes",
  "takenAt": "2026-06-20T18:23:28.000Z",
  "mediaType": "image",
  "likeCount": 12840,
  "replyCount": 530,
  "repostCount": 91,
  "quoteCount": 44,
  "username": "zuck",
  "isVerified": true
}
```

***

### 💼 Use Cases & Examples

#### 1. Social Listening & Brand Monitoring

**Marketers tracking brand mentions and sentiment on Threads.**

**Input:** `searchRecent` / `searchTop` with a brand or topic keyword
**Output:** Newest and top posts with engagement counts and authors
**Use:** Monitor conversations, spot trends, and catch issues early.

#### 2. Influencer & Creator Discovery

**Agencies vetting creators before a partnership.**

**Input:** `searchProfiles` then `userInfo` + `userPosts` for shortlisted handles
**Output:** Follower counts, bios, and full posting history with engagement
**Use:** Measure real reach and engagement, not vanity follower numbers.

#### 3. Engagement & Performance Analytics

**Analysts benchmarking accounts and campaigns.**

**Input:** `userPosts` across competitor or owned accounts
**Output:** Per-post like/reply/repost/quote counts with timestamps
**Use:** Build dashboards, measure campaign lift, and track posting cadence.

#### 4. Lead Generation & Audience Research

**Sales and research teams building prospect lists.**

**Input:** `searchTop` + `postComments` on relevant posts
**Output:** Profiles and engaged authors around a topic or competitor
**Use:** Find and qualify audiences that engage with your space.

#### 5. Comment & Conversation Mining

**Researchers and LLM builders sourcing conversational data.**

**Input:** `postComments` with a high `maxResults`
**Output:** Paginated reply threads on any post
**Use:** Analyse reactions, surface FAQs, and feed research or AI pipelines.

***

### 🔗 Integration Examples

#### JavaScript/Node.js

```javascript
import { ApifyClient } from 'apify-client';
const client = new ApifyClient({ token: 'YOUR_TOKEN' });

const run = await client.actor('sian.agency/threads-meta-scraper').call({
  operation: 'userPosts',
  usernames: ['zuck'],
  maxResults: 50,
});

const { items } = await client.dataset(run.defaultDatasetId).listItems();
console.log(items[0]);
```

#### Python

```python
from apify_client import ApifyClient
client = ApifyClient('YOUR_TOKEN')

run = client.actor('sian.agency/threads-meta-scraper').call(
    run_input={'operation': 'searchTop', 'query': 'ai agents'}
)

for item in client.dataset(run['defaultDatasetId']).iterate_items():
    print(item)
```

#### cURL

```bash
curl -X POST 'https://api.apify.com/v2/acts/sian.agency~threads-meta-scraper/runs?token=YOUR_TOKEN' \
-H 'Content-Type: application/json' \
-d '{"operation": "userInfo", "usernames": ["zuck"]}'
```

#### Automation Workflows (N8N / Zapier / Make)

1. **Trigger**: Schedule or webhook
2. **HTTP Request**: Call the actor API with your operation and input
3. **Process**: Handle the JSON dataset
4. **Action**: Save, notify, or transform downstream

***

### 📊 Performance & Pricing

#### FREE Tier (Try It Now)

- **Up to 50 rows** per run — full feature access, every operation
- No credit card required
- Perfect for testing and small projects

#### PAID Tier (Production Ready)

- **Unlimited** posts and profiles per run
- Deep timeline and comment pagination
- Pay-per-result: charged per post or profile returned

💰 **Transparent pay-per-event pricing** — only pay for the data you actually pull.

🔗 [View current pricing](https://apify.com/sian.agency/threads-meta-scraper?fpr=sian)

***

### ❓ Frequently Asked Questions

**Q: How many posts or profiles can I pull?**
A: FREE tier: up to 50 rows per run. PAID tier: unlimited, with deep pagination.

**Q: Can I pass a profile or post URL instead of an ID?**
A: Yes — usernames accept `@handle` or a `threads.net` profile URL, and post inputs accept a numeric ID or a post URL.

**Q: Does it work with private profiles?**
A: No — only publicly accessible content is supported.

**Q: What output formats are available?**
A: JSON, CSV and Excel — export directly from the Apify dataset.

**Q: Do I need a Threads account or API key?**
A: No. The actor handles data access for you; you only provide your inputs.

**Q: Which operation should I start with?**
A: Run **User Profile** to confirm a handle, then **User Posts** for the timeline, or **Search Top** to explore a topic.

***

### 🐛 Troubleshooting

**No rows returned for a username**

- Confirm the handle exists and is public (run **User Profile** first).
- Use the exact handle without spaces; `@` and profile URLs are both accepted.

**Fewer rows than `maxResults`**

- The timeline may simply be shorter, or the account may have limited public history.

**A post ID returns nothing**

- The post may be deleted or private. Try the full post URL so the code can be resolved.

***

### ⚠️ Trademark Disclaimer

This is an independent tool and is **not affiliated with, endorsed by, or sponsored by Meta Platforms, Inc.** "Threads" is a trademark of Meta Platforms, Inc. This actor accesses only publicly available data and is intended for lawful data collection, research and analytics. All product names, logos and brands are property of their respective owners.

***

### ⚖️ Is it legal to scrape data?

Our actors are ethical and do not extract any private user data, such as email addresses, gender, or location. They only extract what the user has chosen to share publicly. We therefore believe that our actors, when used for ethical purposes by Apify users, are safe.

However, you should be aware that your results could contain personal data. Personal data is protected by the **GDPR** in the European Union and by other regulations around the world. You should not scrape personal data unless you have a legitimate reason to do so. If you're unsure whether your reason is legitimate, consult your lawyers.

You can also read Apify's blog post on the [legality of web scraping](https://blog.apify.com/is-web-scraping-legal/).

***

### 🤝 Support

[![Telegram Support](https://img.shields.io/badge/Telegram-Support%20Group-0088cc?logo=telegram)](https://t.me/+vyh1sRE08sAxMGRi)

**Join our active support community**

- For issues or questions, open an issue in the actor's Issues tab
- Check [SIÁN Agency Store](https://apify.com/sian.agency?fpr=sian) for more automation tools
- 📧 <apify@sian-agency.online>

***

**Built by [SIÁN Agency](https://www.sian-agency.online)** | **[More Tools](https://apify.com/sian.agency?fpr=sian)**

# Actor input Schema

## `operation` (type: `string`):

🎯 **PICK ONE OPERATION PER RUN.** Each run produces one clean dataset matching the chosen mode.

- **Profiles & timelines** (User Profile · Posts · Replies · Reposts) — need a username or user ID
- **Posts** (Post Details · Post Comments) — need a post ID
- **Search** (Profiles · Recent · Top) — need a query

💡 **TIP:** Run **User Profile** first to resolve a handle, then **User Posts** for that account.

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

👤 **For User Profile / Posts / Replies / Reposts.** Add one or more Threads handles or profile URLs — each is processed in one run.

✅ **Accepted:** `zuck` · `@zuck` · `https://www.threads.net/@zuck`

💡 **TIP:** Click **Bulk edit** to paste many handles (one per line). The actor resolves each handle to its user ID automatically.

🆓 **FREE users:** up to 5 handles per run. **PAID:** unlimited.

## `postIds` (type: `array`):

🔢 **For Post Details / Post Comments.** Add one or more Threads post IDs or post URLs.

✅ **Accepted:** a numeric post ID (e.g. `3390920896561588969`) or a post URL `https://www.threads.net/@user/post/Cxyz...`

💡 **TIP:** Click **Bulk edit** to paste many IDs (one per line).

🆓 **FREE users:** up to 5 posts per run. **PAID:** unlimited.

## `query` (type: `string`):

🔎 **For Search Profiles / Search Recent / Search Top.** The keyword or phrase to search Threads for (e.g. `ai`, `nba finals`, a brand or hashtag without the `#`).

## `maxResults` (type: `integer`):

🔢 **Cap on the number of posts / comments collected per username or post.** The actor paginates until this many rows are gathered or the timeline ends. Profile and search operations return what the source provides in one page. Leave default for a quick run; raise it to collect deep timelines.

🆓 **FREE users are always capped at 50 rows** regardless of this value.

## Actor input object example

```json
{
  "operation": "userPosts",
  "usernames": [
    "zuck"
  ],
  "postIds": [
    "3390920896561588969"
  ],
  "query": "ai",
  "maxResults": 50
}
```

# Actor output Schema

## `output` (type: `string`):

Threads posts and profiles — one flat row per post (id, text, permalink, like/reply/repost/quote counts, author) or per profile (username, full name, followers, verified, bio), with curated camelCase fields.

## `report` (type: `string`):

HTML report with run status, success/error row counts, success rate, upstream calls, duration, and the inputs used — written even on fatal crash.

# 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"
    ],
    "postIds": [
        "3390920896561588969"
    ],
    "query": "ai",
    "maxResults": 50
};

// Run the Actor and wait for it to finish
const run = await client.actor("sian.agency/threads-meta-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"],
    "postIds": ["3390920896561588969"],
    "query": "ai",
    "maxResults": 50,
}

# Run the Actor and wait for it to finish
run = client.actor("sian.agency/threads-meta-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"
  ],
  "postIds": [
    "3390920896561588969"
  ],
  "query": "ai",
  "maxResults": 50
}' |
apify call sian.agency/threads-meta-scraper --silent --output-dataset

```

## MCP server setup

```json
{
    "mcpServers": {
        "apify": {
            "type": "http",
            "url": "https://mcp.apify.com/?tools=fetch-actor-details,sian.agency/threads-meta-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/OIZPtNal7DX8J6Xxl/builds/3NGErMFxLeYxWwHCe/openapi.json
