# Threads Scraper - Profile Posts, Replies & Search, No Login (`renzomacar/threads-scraper`) Actor

Scrape public Threads data without login: full post history of any profile, hundreds of replies under any post, and keyword search. Text, likes, replies, reposts, quotes, views, media and dates as clean rows.

- **URL**: https://apify.com/renzomacar/threads-scraper.md
- **Developed by:** [Renzo Madueno](https://apify.com/renzomacar) (community)
- **Categories:** Social media, AI
- **Features:** Limited permissions
- **Stats:** 3 total users, 2 monthly users, 80.0% runs succeeded, 0 bookmarks
- **User rating**: No ratings yet

## Pricing

$1.00 / 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.

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 - Profile Posts, Replies & Search, No Login

Get public Threads data as clean rows: the full post history of any profile, the replies under any post, and keyword search results. Every row has the text, likes, replies, reposts, quotes, shares, media links, author and date. No Threads account, no cookies, no API key.

### What you can do with it

- **Download a profile's posts**: newest first, as many as you ask for. Many accounts can be read all the way back to their first post.
- **Read the conversation under a post**: paste a post link and get the post plus the replies below it, including answers to those replies. Hundreds per post, not just the first screen.
- **Search by keyword or topic**: top results, recent results and topic results for each term, with duplicates removed.
- **Brand and competitor monitoring**: schedule a run with a date window and collect what was posted since the last run.
- **Audience and sentiment research**: replies come with their own like and reply counts, so you can rank what people said.
- **Feed AI agents and LLM pipelines**: flat JSON, one row per post, ready for a prompt or a vector store.

### Input

| Field | What it does |
| --- | --- |
| **Profiles** | Usernames or profile links, one per line: `natgeo`, `@natgeo` or `https://www.threads.com/@natgeo`. |
| **Posts per profile** | 1 to 10,000, newest first. |
| **Search terms** | Keywords or topics, one per line. Each term is searched separately. |
| **Post links** | Links to single posts, to get each post and the replies under it. |
| **Replies per post** | 0 to 10,000. Top replies first, then recent ones. 0 returns only the post. |
| **Only posts after / before** | A date window. For profiles the run stops paging once it is past the window. |
| **Add view counts** | Opens every post to read its number of views. Off by default; the run takes longer. |
| **Proxy** | The default Apify datacenter proxy works. |

You can fill in any mix of profiles, search terms and post links in the same run.

```json
{
    "usernames": ["natgeo", "mosseri"],
    "maxPostsPerProfile": 200,
    "queries": ["air fryer"],
    "postUrls": ["https://www.threads.com/@zuck/post/DfaNgswkQPG"],
    "maxRepliesPerPost": 300,
    "postedAfter": "2026-10-01"
}
```

### Output

One row per post. This is a real row from a profile, with view counts on:

```json
{
    "source": "profile",
    "query": null,
    "postId": "4025189502230276871",
    "code": "DfcWIaiESsH",
    "url": "https://www.threads.com/@natgeo/post/DfcWIaiESsH",
    "username": "natgeo",
    "fullName": "National Geographic",
    "isVerified": true,
    "userId": "63269174602",
    "text": "Just a bison enjoying the snow for National Bison Day 🦬",
    "postedAt": "2026-11-07T14:00:22.000Z",
    "likes": 10355,
    "replies": 90,
    "reposts": 283,
    "quotes": 31,
    "shares": 35,
    "mediaType": "image",
    "images": ["https://scontent-arn2-1.cdninstagram.com/v/t51.82787-15/8924..."],
    "videos": [],
    "linkUrl": null,
    "linkTitle": null,
    "topic": null,
    "language": "en",
    "isReply": false,
    "replyToUsername": null,
    "quotedPostUrl": null,
    "threadLength": 1,
    "views": 281000,
    "rootPostUrl": null,
    "authorFollowers": 18459836,
    "authorBio": "Step into wonder and find your inner explorer with National Geographic 🌎",
    "scrapedAt": "2026-11-17T07:50:49.420Z"
}
```

`source` tells you where a row came from:

| `source` | Meaning |
| --- | --- |
| `profile` | A post from one of your profiles. `authorFollowers` and `authorBio` are filled. |
| `search-top`, `search-recent`, `search-topic` | A search result; `query` holds your term. |
| `post` | A post you gave by link. `views` is always filled. |
| `reply` | A reply under one of your post links. `rootPostUrl` is the post it belongs to and `replyToUsername` says who it answers. |

A summary of the run (posts per profile, per term and per post link, and where each one stopped) is saved in the run's key-value store under `SUMMARY`.

### What Threads shows without login, measured

This Actor reads only what any visitor sees without signing in. That sets some limits, and it is better to know them before you run:

- **Profiles**: some accounts can be read to their first post (in tests, 1,642 posts of one account back to July 2023). For other accounts Threads stops showing older posts to visitors after roughly 100 to 160 posts. The summary says `stoppedAt: end` when Threads had nothing more to show.
- **Replies**: Threads does not show every reply to a visitor. In tests a post with 556 replies returned 387.
- **Search**: Threads shows a visitor about 10 posts per view. With the three views together a term returns about 20 to 40 posts. To cover a subject, add several terms.
- **Views**: shown by Threads as a rounded figure (for example 281K), returned as a number.
- Private profiles and posts are not returned.

### Tips

- For daily monitoring, schedule the run with **Only posts after** set to the last days: paging stops early and runs stay short.
- A post link can be copied from the Threads app or site (the "Copy link" option of any post). Both `threads.com` and `threads.net` links work.
- To rank replies by reach, sort the `reply` rows by `likes`.
- The images and videos are direct links to Threads' servers and expire after some time; download the files soon after the run if you need them.

### FAQ

**Do I need a Threads or Instagram account?** No. The Actor never signs in and never asks for cookies.

**Are rows repeated?** No. Posts are de-duplicated within each profile, each search term and each post link.

**A profile returned fewer posts than I asked for.** Check `stoppedAt` in the summary: `end` means Threads shows no more to visitors, `date` means the date window was reached, `limit` means your own limit.

**Something does not work?** Open an issue in the Issues tab with the run link and it will be looked at.

# Actor input Schema

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

Threads usernames or profile links, one per line. Example: zuck or https://www.threads.com/@zuck

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

How many posts to return for each profile, newest first. A profile's whole history can be read.

## `queries` (type: `array`):

Keywords or topics, one per line. Without login Threads shows about 20 to 40 posts per term (top, recent and topic results together), so use several terms to cover a subject.

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

Links to single posts, one per line, to get the post and the replies under it. Example: https://www.threads.com/@zuck/post/DfaNgswkQPG

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

How many replies to return for each post link (top replies first, then recent ones). Use 0 to get only the post itself.

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

Keep only posts published on or after this date, for example 2026-01-31. Leave empty for no limit.

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

Keep only posts published on or before this date, for example 2026-03-31. With "Only posts after" it gives a date window.

## `includeViews` (type: `boolean`):

Threads shows the number of views only on each post's own page. Turn this on to open every post and read it; runs take longer. Posts given as post links always come with views.

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

Threads does not answer without a proxy. The default (Apify datacenter proxy) works.

## Actor input object example

```json
{
  "usernames": [
    "zuck"
  ],
  "maxPostsPerProfile": 25,
  "maxRepliesPerPost": 100,
  "includeViews": false,
  "proxyConfiguration": {
    "useApifyProxy": true
  }
}
```

# Actor output Schema

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

One row per post: profile posts newest first, search results, and each linked post followed by its replies.

# 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"
    ],
    "maxPostsPerProfile": 25,
    "proxyConfiguration": {
        "useApifyProxy": true
    }
};

// Run the Actor and wait for it to finish
const run = await client.actor("renzomacar/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": ["zuck"],
    "maxPostsPerProfile": 25,
    "proxyConfiguration": { "useApifyProxy": True },
}

# Run the Actor and wait for it to finish
run = client.actor("renzomacar/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": [
    "zuck"
  ],
  "maxPostsPerProfile": 25,
  "proxyConfiguration": {
    "useApifyProxy": true
  }
}' |
apify call renzomacar/threads-scraper --silent --output-dataset

```

## MCP server setup

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