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

Scrape public Threads data: posts with likes, replies, reposts, views and media, user reposts and replies, keyword and hashtag search, profiles with followers and bio links, and full threads from post links.

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

## Pricing

from $1.20 / 1,000 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?

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

Threads Scraper extracts public data from **Threads** (threads.com): posts with likes, replies, reposts, quotes, shares and **view counts**, photos and videos, hashtags, mentions and links, plus the author's **profile** with followers, bio, bio links and profile tags.

Scrape a user's posts, reposts or replies, search posts by keyword or hashtag, find profiles for a topic, or save any post with its thread. No Threads account needed.

### What can Threads Scraper do?

- 👤 **User posts:** the public posts of any account, with full engagement and media.
- 🔁 **User reposts:** what an account reposted, with the original post and author.
- 💬 **User replies:** an account's replies together with the post they answered.
- 🔎 **Search:** combine public keyword, tag, and related searches. Choose top or newest first among the collected results, set a preferred language and date range, or require a keyword match.
- 👥 **Find profiles:** discover accounts using public search suggestions and matching posts. The actor looks up the public profile of each selected account.
- 👤 **Profile by username:** collect public profile information for a known account.
- 🔗 **Post by link:** a post and the author's posts in its thread.
- 💬 **Post and public replies:** a post, the author’s thread, and public replies, including replies on linked branches when available, with their parent posts.
- 👁️ **View counts** for posts, plus likes, replies, reposts, quotes and shares.
- 🏷️ **Keyword tagging:** add keywords in user modes and every matching post is tagged.
- 📅 **Date filters:** keep only posts between two dates (`2026-11-01` or `7 days`).

### What data does it extract?

| Field | Description |
|---|---|
| `post_url`, `post_code`, `text_content` | Link, code and text of the post |
| `created_at`, `created_at_display`, `created_at_timestamp` | When it was posted (UTC) |
| `like_count`, `reply_count`, `repost_count`, `quote_count`, `share_count`, `view_count` | Engagement |
| `media_type`, `media_url`, `media_urls`, `media_width`, `media_height`, `has_audio` | Photos, videos and carousels |
| `hashtags`, `mentions`, `mentioned_accounts`, `urls`, `link_title`, `topic_tag` | Hashtags, mentions, links and topic |
| `is_reply`, `replied_to_*`, `is_quote_post`, `quoted_post_url`, `is_repost`, `reposted_*` | Replies, quotes and reposts with context |
| `is_pinned`, `is_edited`, `is_paid_partnership`, `is_ai_generated`, `is_spoiler`, `language` | Post flags |
| `music_*`, `poll_*`, `sticker_*`, `is_gif` | Music, polls, stickers and GIFs |
| `username`, `display_name`, `user_id`, `is_verified`, `followers_count` | Author |
| `bio`, `bio_links`, `external_links`, `emails`, `phones`, `profile_tags` | Author's profile and contacts |
| `profile_pic_url`, `profile_pic_hd_url`, `podcast_*`, `fediverse_enabled` | More profile details |
| `search_keyword`, `search_keywords`, `keyword_match`, `search_filter`, `requested_username` | What the row was found for |

### How do I scrape Threads?

1. Choose **What to scrape**, e.g. 👤 User posts or 🔎 Search.
2. Enter **Usernames**, **Keywords** or **Post links**.
3. Set **Max results** and, for search, the sort order, language and dates.
4. Set **Look up public views**, language and engagement filters as needed.
5. Click **Start** and export the results as JSON, CSV or Excel, or connect them to Google Sheets, Make, Zapier or your own app.

The eight mode values are `user`, `user_reposts`, `user_replies`, `search`, `profiles`, `profile`, `post_link`, and `thread`. The API also accepts `posts`, `reposts`, `replies`, and `users` as mode aliases, and `maxPosts` and `postUrls` as input aliases. When both spellings are supplied, `max_posts` and `post_links` take precedence.

Each run writes a `SUMMARY` with rows saved, view counts, request and traffic totals, and one result per processed input. `reason: "limit"` means the requested number was saved. `"exhausted"` means the public results checked were used up. `"sign_in"`, `"access_denied"`, `"rate_limited"`, and `"stalled"` identify partial results when Threads stops serving more pages.

#### Input examples

```json
{ "mode": "user", "usernames": ["nasa", "@zuck"], "max_posts": 50 }
```

```json
{ "mode": "search", "keywords": ["coffee", "#AI"], "max_posts": 40, "search_filter": "recent", "start_date": "30 days" }
```

```json
{ "mode": "post_link", "post_links": ["https://www.threads.com/@zuck/post/DgA_nk4kiBd"] }
```

#### Output example

Real result (image links shortened):

```json
{
    "record_type": "post",
    "post_url": "https://www.threads.com/@nasa/post/Df-IxZ8AgOO",
    "post_code": "Df-IxZ8AgOO",
    "text_content": "Did you know you can listen to the universe?",
    "created_at": "2026-11-20T16:59:39+00:00",
    "like_count": 14670,
    "reply_count": 368,
    "repost_count": 2101,
    "quote_count": 231,
    "share_count": 767,
    "view_count": 223184,
    "view_count_status": "available",
    "has_media": true,
    "media_type": "video",
    "media_url": "https://scontent-sea5-2.cdninstagram.com/o1/v/t16/f2/m84/AQM…",
    "media_width": 1280,
    "media_height": 720,
    "has_audio": true,
    "accessibility_caption": "A video of the Carina Nebula’s “Cosmic Cliffs,” a star-forming region shown in infrared light…",
    "reply_control": "everyone",
    "language": "en",
    "source_tab": "posts",
    "username": "nasa",
    "user_id": "28829152388",
    "display_name": "NASA",
    "profile_url": "https://www.threads.com/@nasa",
    "is_verified": true,
    "followers_count": 12805508,
    "bio": "Making the seemingly impossible, possible. ✨",
    "profile_tags": ["NASA", "Space Threads", "Science Threads"],
    "requested_username": "nasa"
}
```

Post rows have the same fields in every mode, so exports line up. Use the dataset views **Posts**, **Engagement**, **Profiles**, **Contacts** and **Post by link** to see the columns you need.

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

You pay per result. Error rows are free.

| Plan | Post, per 1,000 | Profile (Find profiles), per 1,000 |
|---|---|---|
| Free | $1.80 | $2.50 |
| Bronze | $1.50 | $2.20 |
| Silver | $1.35 | $2.00 |
| Gold, Platinum, Diamond | $1.20 | $1.80 |

Plus a small start fee per run ($0.001 per GB of memory).

### How do I use it from code?

**Python**

```python
from apify_client import ApifyClient

client = ApifyClient("<YOUR_API_TOKEN>")
run = client.actor("api_creators/threads-scraper").call(run_input={
    "mode": "search",
    "keywords": ["latte art"],
    "max_posts": 50,
})
for post in client.dataset(run["defaultDatasetId"]).iterate_items():
    print(post["username"], post["like_count"], post["text_content"][:80])
```

**JavaScript**

```javascript
import { ApifyClient } from 'apify-client';

const client = new ApifyClient({ token: '<YOUR_API_TOKEN>' });
const run = await client.actor('api_creators/threads-scraper').call({
    mode: 'user',
    usernames: ['nasa'],
});
const { items } = await client.dataset(run.defaultDatasetId).listItems();
console.log(items.map((p) => [p.post_url, p.view_count]));
```

### What can I use it for?

- **Social listening and brand monitoring:** track what people post about your brand, product or topic.
- **Influencer research:** find creators for a topic and compare followers and engagement.
- **Competitor analysis:** follow competitors' posts, reposts and replies.
- **Trend and content research:** see which posts and formats get the most views and reposts.
- **Lead generation:** collect public profile links, bio links and contacts for a niche.
- **Academic and AI research:** build datasets of public posts with full metadata.

### FAQ

**Do I need a Threads or Instagram account?**
No. The scraper reads public Threads data without logging in.

**How far back can it collect posts and replies?**
The result limit is a ceiling. The actor collects the posts and replies that Threads serves during the run. A public profile may load more pages as the browser scrolls. Threads can stop pagination early or show a sign-in prompt. Check the input's `reason` in the run summary. For search, date bounds filter the public results collected in the run. `recent` sorts that collected set by timestamp.

**Can I schedule it?**
Yes. Save your input as a task and schedule it daily or hourly in Apify to monitor accounts or topics.

**How do I get media files?**
`media_url` and `media_urls` link to the photos and videos. Download the ones you need soon after the run; Threads refreshes these links regularly.

**Is it legal to scrape Threads?**
The scraper collects publicly available data. Make sure your use of personal data complies with GDPR and other laws that apply to you.

Need a feature or found a problem? Open an issue on the **Issues** tab.

# Actor input Schema

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

Choose a mode. Supply usernames for the account modes, keywords for Search or Find profiles, or post links for the two post-link modes.

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

Threads accounts for the user modes: `zuck`, `@zuck` or a profile link like `https://www.threads.com/@zuck`.

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

Words or hashtags for search and find-profiles modes, e.g. `coffee`, `#AI` or `latte art`. In the user modes, posts that mention a keyword are tagged with it.

## `post_links` (type: `array`):

Threads post and share links for Post by link or Post and public replies. Standard links on threads.com and threads.net are accepted.

## `max_posts` (type: `integer`):

Results per username, keyword, or post link. Find profiles and both post-link modes return up to 100 per input. Profile by username returns one per account.

## `search_filter` (type: `string`):

Top prioritizes the keyword and the order returned by Threads. Recent sorts collected matching public results by newest first.

## `search_language` (type: `string`):

Preferred interface language for public search. Use Detected post languages to filter post rows by language.

## `start_date` (type: `string`):

Only posts from this date onward: `YYYY-MM-DD` or relative like `7 days` or `1 month` (UTC).

## `end_date` (type: `string`):

Only posts up to this date (inclusive): `YYYY-MM-DD` or relative like `1 day` (UTC).

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

Leave on "No proxy" to use the built-in proxies. Choose your own proxy URLs to use those instead.

## `include_views` (type: `boolean`):

Fetch each selected post page for its public view count. Turn off for faster collection.

## `strict_keyword_match` (type: `boolean`):

In Search mode, keep posts matching the original keyword in the text, topic tag, or link preview title.

## `languages` (type: `array`):

Optional list of detected language codes to keep, such as en or ja. Posts with no detected language are omitted when this is set.

## `min_likes` (type: `integer`):

Keep posts with at least this many likes. Zero keeps all posts.

## `min_replies` (type: `integer`):

Keep posts with at least this many replies. Zero keeps all posts.

## Actor input object example

```json
{
  "mode": "user",
  "usernames": [
    "zuck"
  ],
  "max_posts": 50,
  "search_filter": "top",
  "search_language": "english",
  "proxyConfiguration": {
    "useApifyProxy": false
  },
  "include_views": true,
  "strict_keyword_match": false,
  "min_likes": 0,
  "min_replies": 0
}
```

# Actor output Schema

## `posts` (type: `string`):

No description

## `summary` (type: `string`):

No description

## `profiles` (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 = {
    "mode": "user",
    "usernames": [
        "zuck"
    ],
    "max_posts": 50,
    "proxyConfiguration": {
        "useApifyProxy": false
    }
};

// Run the Actor and wait for it to finish
const run = await client.actor("api_creators/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 = {
    "mode": "user",
    "usernames": ["zuck"],
    "max_posts": 50,
    "proxyConfiguration": { "useApifyProxy": False },
}

# Run the Actor and wait for it to finish
run = client.actor("api_creators/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 '{
  "mode": "user",
  "usernames": [
    "zuck"
  ],
  "max_posts": 50,
  "proxyConfiguration": {
    "useApifyProxy": false
  }
}' |
apify call api_creators/threads-scraper --silent --output-dataset

```

## MCP server setup

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