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

Scrape public Threads posts, profiles, replies, reposts and keyword or hashtag search without login. Profile posts load page by page up to 10,000. Likes, replies, reposts, quotes, shares, views, media, followers and bio.

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

## Pricing

from $2.50 / 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, Profiles, Search & Replies (No Login)

Threads Scraper collects public data from Threads (threads.com) without a login, cookies or an API key. It reads the same pages a logged-out visitor sees.

Give it profiles, post links or search words. It returns one row per profile, post or reply, ready to download as JSON, CSV or Excel.

### What you get

- **Profiles**: name, bio, follower count, verified badge, private flag, profile picture and bio links.
- **Profile posts**: the account's posts, loaded page by page up to your limit (`maxPosts`, up to 10,000).
- **Replies and reposts tabs**: the replies an account wrote (with the post they answer) and the posts it reposted.
- **Post links**: the post with its **view count**, the author's own follow-up posts and the public replies.
- **Search**: posts for a keyword, or for a topic tag when you write `#tag`.

Each post row has text, time, likes, replies, reposts, quotes, shares, media links (every image and video of a carousel), hashtags, mentions, outside links, topic tag and flags for pinned, edited, quote, reply and paid partnership posts.

### Who it is for

- **Brand and social media teams** that track their own accounts and competitors.
- **Researchers and journalists** who need a dataset of public posts on a topic.
- **Marketers** who look for creators by topic or measure campaign posts.
- **Developers** who feed Threads data into dashboards, spreadsheets or AI tools.

### Input

You need at least one of `url`, `postUrls` or `searchQueries`.

| Field | Default | What it does |
|---|---|---|
| `url` | | Profiles: `https://www.threads.com/@nasa`, `@nasa` or `nasa`. threads.net links work too. |
| `profileTabs` | `threads` | Tabs to read: `threads` (own posts), `replies`, `reposts`. |
| `maxPosts` | 10 | Limit per profile tab and per search, from 1 to 10,000. |
| `includeProfile` | on | Adds one profile row per account. |
| `searchQueries` | | Keywords, or `#tag` for a topic tag. |
| `postUrls` | | Post links: `https://www.threads.com/@user/post/CODE`. |
| `maxReplies` | 20 | Replies per post link, from 0 to 100. |
| `postedAfter` | | Keep posts from this date on: `2026-11-01` or `7 days`. |
| `postedBefore` | | Keep posts up to this date: `2026-11-15`. |

Example:

```json
{
  "url": ["https://www.threads.com/@nasa", "natgeo"],
  "profileTabs": ["threads", "replies"],
  "maxPosts": 200,
  "searchQueries": ["coffee", "#AI"],
  "postUrls": ["https://www.threads.com/@threads/post/DfzyOugJVxm"],
  "maxReplies": 10,
  "postedAfter": "30 days"
}
```

### Output

Every row has `type` (`profile`, `post` or `reply`), `source` (where it came from: `profile`, `threads`, `replies`, `reposts`, `post`, `post_thread`, `post_replies` or `search`), `input` (the input value that produced it) and `scraped_at`. Profile and post rows share the same names for the author: `user_id`, `username`, `full_name`, `is_verified`, `profile_url`.

The dataset has three ready views: **Posts**, **Replies** and **Profiles**.

Example rows from a test run on 20 November 2026 (public account, long URLs and some fields cut):

```json
[
  {
    "type": "profile",
    "source": "profile",
    "input": "https://www.threads.com/@nasa",
    "profile_url": "https://www.threads.com/@nasa",
    "user_id": "28829152388",
    "username": "nasa",
    "full_name": "NASA",
    "biography": "Making the seemingly impossible, possible. ✨",
    "follower_count": 12802141,
    "is_verified": true,
    "is_private": false,
    "profile_pic_url": "https://scontent-ord5-1.cdninstagram.com/v/t51.82787-19/...jpg",
    "bio_links": [],
    "scraped_at": "2026-11-20T07:30:28.172Z"
  },
  {
    "type": "post",
    "source": "threads",
    "input": "https://www.threads.com/@nasa",
    "profile_url": "https://www.threads.com/@nasa",
    "post_url": "https://www.threads.com/@nasa/post/Dfc_lfaAgnE",
    "post_id": "4025371820235557316",
    "shortcode": "Dfc_lfaAgnE",
    "user_id": "28829152388",
    "username": "nasa",
    "full_name": "NASA",
    "is_verified": true,
    "text": "Do you want to be an astronaut?\n\nApplications are now open to join NASA's astronaut corps. ...",
    "timestamp": "2026-11-07T20:03:13.000Z",
    "like_count": 2333,
    "reply_count": 167,
    "repost_count": 209,
    "quote_count": 47,
    "share_count": 181,
    "view_count": null,
    "media_type_name": "video",
    "media": [{ "type": "video", "url": "https://scontent-ord5-1.cdninstagram.com/o1/v/...mp4", "width": 1920, "height": 1080 }],
    "has_audio": true,
    "hashtags": [],
    "topic_tag": "Space Threads",
    "is_reply": false,
    "is_quote": false,
    "is_repost": false,
    "is_pinned": true,
    "is_edited": false,
    "language": "en",
    "scraped_at": "2026-11-20T07:30:28.172Z"
  }
]
```

Main fields:

| Field | Rows | Notes |
|---|---|---|
| `post_url`, `post_id`, `shortcode` | post, reply | |
| `text`, `timestamp` | post, reply | time in UTC, ISO format |
| `like_count`, `reply_count`, `repost_count`, `quote_count`, `share_count` | post, reply | `null` when the author hides counts |
| `view_count` | post | only on rows from `postUrls`, since Threads shows views only on the post page |
| `media_type_name`, `media_url`, `media` | post, reply | `media` lists every image and video |
| `hashtags`, `topic_tag`, `mentions`, `links` | post, reply | Threads redirect links are unwrapped to the real address |
| `reply_to_username`, `parent_post_url` | reply | the post the reply answers |
| `quoted_post_url` | post, reply | when the post quotes another post |
| `reposted_by`, `reposted_at` | post | rows from the Reposts tab |
| `search_query` | post | rows from search |
| `biography`, `follower_count`, `is_private`, `profile_pic_url`, `bio_links` | profile | |

### Limits

These come from what Threads shows to logged-out visitors. Numbers are from our tests in November 2026.

- **Threads tab**: the first page holds 4 to 7 posts. The actor then loads older posts in pages of up to 11 until it reaches `maxPosts` or the end of the profile, with a 0.5 second pause between pages. A profile with 1,000 posts needs about 90 to 100 page loads, so it takes longer than a small run.
- **Replies and Reposts tabs**: only the first page, usually 3 to 10 rows. Threads does not load more of these tabs for logged-out visitors.
- **Search**: 20 to 30 posts per keyword, in Threads' default order. Logged-out Threads has no "Recent" order.
- **Post links**: 8 to 15 replies per post. Replies to replies are not expanded.
- **View counts**: only on rows from post links.
- **Private, missing or banned accounts**: Threads sends logged-out visitors to its login page. The actor tries twice, then skips that account's other tabs and names it in the status message. It writes no empty row.
- **Date filter**: `postedAfter` also stops loading older pages once the posts are older than the date, so it saves time on large profiles.

### How the run reports problems

- Each input either returns rows or appears in the run's status message with the reason, for example `@name threads (Threads redirected to login: the account does not exist, is private, or the request was blocked)`.
- When loading older posts fails after retries, you keep the posts already found and the status message says `Partial: @name stopped at N posts`.
- The run fails (red status) when every input fails, or when Threads returned no data at all. It succeeds when at least one input worked.

### Tips

- Start with `maxPosts` 10 to check your inputs, then raise it.
- For new posts on a topic, combine `searchQueries` with `postedAfter: "7 days"`.
- To get view counts, pass the post links from a profile run into `postUrls`.
- Usernames and links can be mixed in one list. Duplicates in the same tab are removed.
- Export as CSV or Excel from the dataset tab, or read the dataset through the Apify API.

### Is it legal?

The actor reads only public pages that anyone can open without an account. It does not log in and does not collect private accounts. Public posts can still contain personal data, so check that your use follows the GDPR or other rules that apply to you, and the Threads terms.

# Actor input Schema

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

Threads usernames or profile URLs, one per line. Examples: nasa, @nasa, https://www.threads.com/@nasa. threads.net links work too. Old input name: url.

## `profileTabs` (type: `array`):

Which profile tabs to read. Threads: the account's own posts, loaded page by page up to Max posts. Replies: the account's replies, with the post they answer. Reposts: posts the account reposted. Replies and Reposts return only the first page Threads shows to logged-out visitors (usually 3 to 10 rows). Example: \["threads", "replies"].

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

Adds one row per username with name, bio, follower count, verified badge, profile picture and bio links.

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

Keywords or hashtags, one per line. Examples: coffee, artificial intelligence, #AI. A single #word searches that topic tag. Results come in Threads' default (top) order: logged-out Threads has no Recent order. Old input name: searchQueries.

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

Threads post links, one per line. Example: https://www.threads.com/@threads/post/DfzyOugJVxm. Returns the post with its view count, the author's thread continuation and the public replies.

## `maxReplies` (type: `integer`):

Limit on replies per post URL. Example: 20. Logged-out Threads shows about 10 to 15 replies per post. 0 returns only the post.

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

Upper limit per profile tab and per keyword. Example: 20 for a quick test, 1000 for a full profile. The Threads tab loads older posts page by page (about 10 per page) up to 10,000. Replies, Reposts and search return only their first page: about 3 to 10 rows per tab and 20 to 30 per keyword.

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

Keep only posts from this date on. Use a date like 2026-11-01 or a relative value like "7 days". On the Threads tab, loading stops once the pages reach older posts.

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

Keep only posts up to this date. Example: 2026-11-15 or "1 day".

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

Optional. Leave off to use the actor's built-in residential proxy. Turn on Apify Proxy (for example the RESIDENTIAL group) or give your own proxy URLs to route requests through them instead.

## Actor input object example

```json
{
  "usernames": [
    "instagram"
  ],
  "profileTabs": [
    "threads"
  ],
  "includeProfile": true,
  "maxReplies": 20,
  "maxPosts": 20
}
```

# Actor output Schema

## `overview` (type: `string`):

No description

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

No description

## `profiles` (type: `string`):

No description

## `allFields` (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": [
        "instagram"
    ]
};

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

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

```

## MCP server setup

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