# Threads Scraper - Posts, Profiles & Search (`botflowtech/threads-meta-scraper`) Actor

Scrape Meta Threads profiles, posts, and search results without login. Extract text, likes, replies, reposts, media URLs, and engagement data. No API key needed.

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

## Pricing

from $3.00 / 1,000 post scrapeds

This Actor is paid per event and usage. You are charged both the fixed price for specific events and for Apify platform usage.

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 - Meta Threads Posts, Profiles & Search (No Login Required)

Scrape **Meta Threads** profiles, posts, and search results without login or API key. Extract post text, likes, replies, reposts, quotes, media URLs, follower counts, and full engagement analytics from any public Threads account.

### Key Features

- **Profile Scraping** — Extract follower/following counts, bio, verification status, profile pictures
- **Post Extraction** — Get full post text, timestamps, engagement metrics (likes, replies, reposts, quotes)
- **Search Support** — Search Threads for posts matching keywords or topics
- **Direct Thread URLs** — Scrape specific post threads by URL
- **Media Extraction** — Capture image URLs, video URLs, carousel media
- **Reply Detection** — Identify reply posts and reply-to authors
- **Scroll Pagination** — Automatically scroll to load more posts beyond the initial page
- **Batch Processing** — Process multiple usernames, URLs, or queries in one run
- **Anti-Bot Bypass** — Uses Playwright with browser fingerprinting for reliable access
- **PPE Pricing** — Pay only per result extracted, not per compute time

### How It Works

1. **Playwright Rendering** — Loads Threads pages in a real Chromium browser to bypass JavaScript rendering requirements
2. **Hidden JSON Extraction** — Parses `<script type="application/json" data-sjs>` elements containing structured data
3. **Deep JSON Parsing** — Recursively searches nested JSON structures for `thread_items`, user profiles, and engagement data
4. **Smart Pagination** — Scrolls the page to trigger lazy-loading of additional posts
5. **DOM Fallback** — Falls back to DOM extraction when JSON data is unavailable

### Input Parameters

| Parameter | Type | Default | Description |
|-----------|------|---------|-------------|
| `usernames` | array | `["zuck"]` | Threads usernames to scrape (without @) |
| `threadUrls` | array | `[]` | Direct URLs to specific thread posts |
| `searchQueries` | array | `[]` | Keywords to search for |
| `maxPosts` | integer | `50` | Max posts per profile/query (1-1000) |
| `includeReplies` | boolean | `false` | Include reply posts in output |
| `proxyConfiguration` | object | — | Proxy settings for rate limit bypass |

#### Input Example

```json
{
    "usernames": ["zuck", "instagram", "natgeo"],
    "searchQueries": ["artificial intelligence"],
    "maxPosts": 25,
    "includeReplies": false,
    "proxyConfiguration": {
        "useApifyProxy": true
    }
}
```

### Output Format

#### Profile Data

```json
{
    "type": "profile",
    "username": "zuck",
    "fullName": "Mark Zuckerberg",
    "bio": "Building the future of social connection.",
    "bioLinks": ["https://about.meta.com"],
    "followerCount": 12500000,
    "followingCount": 520,
    "isVerified": true,
    "isPrivate": false,
    "profilePicUrl": "https://...",
    "url": "https://www.threads.net/@zuck",
    "scrapedAt": "2026-03-16T10:30:00.000Z"
}
```

#### Post Data

```json
{
    "type": "post",
    "id": "3312456789012345678",
    "code": "CxAbCdEfGh",
    "text": "Excited to share what we have been working on...",
    "username": "zuck",
    "userVerified": true,
    "likeCount": 45230,
    "replyCount": 1205,
    "repostCount": 3420,
    "quoteCount": 890,
    "postedAt": "2026-03-15T14:30:00.000Z",
    "images": ["https://..."],
    "videos": [],
    "hasAudio": false,
    "isReply": false,
    "url": "https://www.threads.net/@zuck/post/CxAbCdEfGh",
    "scrapedAt": "2026-03-16T10:30:00.000Z"
}
```

### Use Cases

- **Brand Monitoring** — Track mentions and sentiment about your brand on Threads
- **Influencer Research** — Analyze engagement rates and content patterns of influencers
- **Competitor Analysis** — Monitor competitor posts, engagement, and content strategy
- **Social Listening** — Search for trending topics and industry discussions
- **Content Research** — Discover high-performing content formats and topics
- **Trend Analysis** — Track hashtag and topic trends over time
- **Audience Insights** — Analyze follower growth and engagement patterns
- **Reputation Management** — Monitor public conversations about your organization

### Pricing

This actor uses **Pay-Per-Event (PPE)** pricing:

- **profile-scraped** — Charged per profile extracted
- **post-scraped** — Charged per post extracted

You only pay for results, not for compute time. Set your spending limit and the actor stops automatically when reached.

### Integrations

Export data to **Google Sheets**, **Slack**, **Zapier**, **Make**, **Webhooks**, and more using Apify integrations.

#### REST API

```bash
curl "https://api.apify.com/v2/acts/BOTFLOWTECH~threads-meta-scraper/run-sync-get-dataset-items?token=YOUR_TOKEN" \
    -X POST \
    -H "Content-Type: application/json" \
    -d '{"usernames": ["zuck"], "maxPosts": 10}'
```

### FAQ

**Does this require a Threads login?**
No. The scraper accesses publicly available data without any login credentials.

**Can I scrape private accounts?**
No. Only public profiles and posts are accessible.

**How many posts can I scrape?**
Up to 1,000 posts per profile per run. Use `maxPosts` to control the limit.

**Does it handle rate limiting?**
Yes. Configure proxy settings to distribute requests and avoid rate limits.

**What data format is returned?**
JSON with structured fields for profiles, posts, and engagement metrics.

**Can I search for specific topics?**
Yes. Use the `searchQueries` input to find posts matching keywords.

### Tags

threads scraper, meta threads, threads API alternative, threads data extractor, threads engagement, instagram threads, threads posts, threads profiles, threads analytics, threads monitoring, social media scraper, threads search, threads crawler

# Actor input Schema

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

Threads usernames to scrape (without @). Example: zuck, instagram, natgeo

## `threadUrls` (type: `array`):

Direct URLs to specific Threads posts

## `searchQueries` (type: `array`):

Search for posts containing these keywords

## `maxPosts` (type: `integer`):

Maximum number of posts to scrape per profile or search query

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

Include reply posts in results

## `proxyConfiguration` (type: `object`):

Proxy settings for bypassing rate limits

## Actor input object example

```json
{
  "usernames": [
    "zuck"
  ],
  "threadUrls": [],
  "searchQueries": [],
  "maxPosts": 50,
  "includeReplies": false
}
```

# 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 = {};

// Run the Actor and wait for it to finish
const run = await client.actor("botflowtech/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 = {}

# Run the Actor and wait for it to finish
run = client.actor("botflowtech/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 '{}' |
apify call botflowtech/threads-meta-scraper --silent --output-dataset

```

## MCP server setup

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