# Threads Post Scraper (`fetch_cat/threads-post-scraper`) Actor

Export public Threads post details and visible replies from post URLs for monitoring and analysis.

- **URL**: https://apify.com/fetch\_cat/threads-post-scraper.md
- **Developed by:** [Hanna Nosova](https://apify.com/fetch_cat) (community)
- **Categories:** Social media, Marketing
- **Stats:** 2 total users, 1 monthly users, 100.0% runs succeeded, 0 bookmarks
- **User rating**: No ratings yet

## Pricing

from $1.47 / 1,000 public result extracteds

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 Post Scraper

Export public Threads posts and visible replies from post URLs into structured, analysis-ready data. This Threads posts scraper captures text, authors, engagement, media, timestamps, and conversation links for social listening, campaign reporting, PR evidence, and OSINT workflows—without a login. Use it whenever you need to scrape a Threads post into a repeatable dataset.

### What you can export

- Root posts and visible public replies as separate rows
- Post IDs, canonical URLs, text, timestamps, and author details
- Likes, replies, reposts, quotes, shares, and public view counts when available
- Image, video, and carousel URLs plus accessibility captions
- Hashtags, mentions, external links, and link-preview titles
- Reply-to, parent-post, and root-post IDs for conversation analysis
- Collection status and warnings for auditable partial results

### Example input

```json
{
  "postUrls": [
    { "url": "https://www.threads.com/@openai/post/DW7RXR7EnRC" }
  ],
  "maxItems": 10,
  "includeReplies": true,
  "maxRepliesPerPost": 20,
  "includeAuthorProfile": false,
  "failOnBlocked": false
}
```

### Example output

```json
{
  "itemType": "post",
  "postUrl": "https://www.threads.com/@openai/post/DW7RXR7EnRC",
  "postId": "example-public-post-id",
  "shortcode": "DW7RXR7EnRC",
  "text": "Public post text",
  "timestamp": "2026-08-20T12:00:00.000Z",
  "username": "openai",
  "userId": "example-public-user-id",
  "displayName": "OpenAI",
  "profileUrl": "https://www.threads.com/@openai",
  "avatarUrl": "https://example.cdn/image.jpg",
  "isVerified": true,
  "bio": null,
  "followerCount": null,
  "likeCount": 1200,
  "replyCount": 84,
  "repostCount": 95,
  "quoteCount": 12,
  "shareCount": null,
  "viewCount": 31735,
  "viewCountStatus": "available",
  "mediaType": "image",
  "mediaUrls": ["https://example.cdn/media.jpg"],
  "mediaWidth": 1080,
  "mediaHeight": 1350,
  "accessibilityCaption": null,
  "hashtags": [],
  "mentions": [],
  "mentionedUsers": [],
  "externalUrls": [],
  "linkPreviewTitle": null,
  "language": null,
  "isReply": false,
  "isRepost": false,
  "isQuotePost": false,
  "replyToUsername": null,
  "replyToPostId": null,
  "replyControl": null,
  "parentPostId": null,
  "rootPostId": "example-public-post-id",
  "sourceUrl": "https://www.threads.com/@openai/post/DW7RXR7EnRC",
  "scrapedAt": "2026-08-25T12:00:00.000Z",
  "collectionStatus": "complete",
  "warning": null
}
```

### Input settings

| Field | Type | Default | Description |
|---|---|---:|---|
| `postUrls` | array | required | Public `threads.com/@username/post/code` URLs. |
| `maxItems` | integer | `10` | Maximum combined root-post and reply rows to save. |
| `includeReplies` | boolean | `true` | Save visible public replies as linked rows. |
| `maxRepliesPerPost` | integer | `20` | Maximum visible replies saved for each root post. |
| `includeAuthorProfile` | boolean | `false` | Request bounded public author-profile enrichment when available. |
| `failOnBlocked` | boolean | `false` | Fail the run on a source block instead of preserving completed rows with warnings. |

### Input recipes

**Export one post only**

```json
{"postUrls":[{"url":"https://www.threads.com/@openai/post/DW7RXR7EnRC"}],"maxItems":1,"includeReplies":false}
```

**Export a visible conversation**

```json
{"postUrls":[{"url":"https://www.threads.com/@openai/post/DW7RXR7EnRC"}],"maxItems":25,"includeReplies":true,"maxRepliesPerPost":24}
```

**Process a small monitoring batch**

```json
{"postUrls":[{"url":"https://www.threads.com/@openai/post/DW7RXR7EnRC"},{"url":"https://www.threads.com/@natgeo/post/DcWL2E0DZqC"}],"maxItems":50,"includeReplies":true}
```

### Output fields

| Group | Fields |
|---|---|
| Identity | `itemType`, `postUrl`, `postId`, `shortcode`, `sourceUrl`, `scrapedAt` |
| Content | `text`, `timestamp`, `language`, `hashtags`, `mentions`, `mentionedUsers`, `externalUrls`, `linkPreviewTitle` |
| Author | `username`, `userId`, `displayName`, `profileUrl`, `avatarUrl`, `isVerified`, `bio`, `followerCount` |
| Engagement | `likeCount`, `replyCount`, `repostCount`, `quoteCount`, `shareCount`, `viewCount`, `viewCountStatus` |
| Media | `mediaType`, `mediaUrls`, `mediaWidth`, `mediaHeight`, `accessibilityCaption` |
| Conversation | `isReply`, `isRepost`, `isQuotePost`, `replyToUsername`, `replyToPostId`, `replyControl`, `parentPostId`, `rootPostId` |
| Reliability | `collectionStatus`, `warning` |

### Who is this for?

Social listening teams, brand marketers, PR teams, and OSINT researchers who need structured evidence from specific public Threads post URLs.

### Common use cases

- **Social listening:** archive specific public posts and their visible conversation context.
- **Campaign reporting:** export engagement and media evidence for campaign posts.
- **PR monitoring:** preserve source URLs, timestamps, author details, and public metrics.
- **OSINT research:** build auditable post-level datasets with parent/root relationships.
- **Content analysis:** analyze hashtags, mentions, links, media types, and public reactions.

### Pricing

This Actor uses pay-per-event pricing. A small start event is charged once per run, and a result event is charged only after a post or visible reply row is saved. See [current rates and subscription-tier discounts](https://apify.com/fetch_cat/threads-post-scraper/pricing).

### Tips and limits

- Use canonical public Threads post URLs for the most reliable target matching.
- Start with a low `maxItems` value, inspect the dataset, then scale the batch.
- Threads may expose only a bounded set of visible replies; the Actor does not claim to return hidden or private replies.
- Deleted, private, unavailable, or rate-limited posts can produce warnings or no row.
- Some public fields, including views, shares, biography, follower count, and language, may not be available for every post.
- `collectionStatus` and `warning` distinguish complete rows from partial source responses.
- The Actor does not accept login cookies and does not access private accounts, direct messages, or private profile data.

### Threads post API

Run the scraper programmatically as a Threads post API using the Apify REST endpoint below.

```bash
curl -X POST \
  "https://api.apify.com/v2/acts/fetch_cat~threads-post-scraper/runs?token=$APIFY_TOKEN" \
  -H "Content-Type: application/json" \
  -d '{"postUrls":[{"url":"https://www.threads.com/@openai/post/DW7RXR7EnRC"}],"maxItems":10,"includeReplies":true}'
```

Use the returned run ID to monitor completion and download the default dataset as JSON, CSV, Excel, or another supported format.

#### JavaScript

```js
import { ApifyClient } from 'apify-client';
const client = new ApifyClient({ token: process.env.APIFY_TOKEN });
const run = await client.actor('fetch_cat/threads-post-scraper').call({
  postUrls: [{ url: 'https://www.threads.com/@openai/post/DW7RXR7EnRC' }],
  maxItems: 10,
});
const { items } = await client.dataset(run.defaultDatasetId).listItems();
```

#### Python

```python
from apify_client import ApifyClient
client = ApifyClient(token='APIFY_TOKEN')
run = client.actor('fetch_cat/threads-post-scraper').call(run_input={
    'postUrls': [{'url': 'https://www.threads.com/@openai/post/DW7RXR7EnRC'}],
    'maxItems': 10,
})
items = client.dataset(run['defaultDatasetId']).list_items().items
```

### Use with MCP and AI agents

Connect an MCP-compatible client to:

```text
https://mcp.apify.com/?tools=fetch_cat/threads-post-scraper
```

The Actor can also be called from the Apify JavaScript or Python client, n8n, Make, Zapier, webhooks, and scheduled Apify Tasks.

### FAQ

#### What data can I export with Threads Post Scraper?

You can export post and visible-reply text, author details, engagement, media, timestamps, links, and conversation relationships.

#### Can I run Threads Post Scraper through an API, schedule, or MCP client?

Yes. Use the REST API, save an Apify Task on a schedule, or connect an MCP-compatible AI client.

#### How much does it cost to use Threads Post Scraper?

It charges a small start event and a result event only after a row is saved. See the Actor's Pricing tab for current rates and tier discounts.

#### Does it require a Threads account?

No. It processes public post URLs without login credentials.

#### Can it scrape private posts or all replies?

No. It exports only data and replies visible on the public post surface.

#### Why are some metrics null?

Threads does not publicly expose every metric for every post. The Actor returns truthful nulls rather than inferred values.

#### How are replies represented?

Each visible reply is a separate dataset row. `parentPostId` and `rootPostId` link it to the requested root post.

#### Can I automate recurring monitoring?

Yes. Save the input as an Apify Task and schedule it, trigger it via API, or integrate it into an automation workflow.

#### What happens when one URL fails?

By default, completed rows are preserved and the failed URL is recorded in run warnings. Enable `failOnBlocked` when a source block should fail the entire run.

### Related Actors

- [Threads Profile & Posts Scraper](https://apify.com/fetch_cat/threads-profile-posts-scraper)
- [Threads Replies Scraper](https://apify.com/fetch_cat/threads-replies-scraper)
- [Website Contact Finder](https://apify.com/fetch_cat/website-contact-finder)
- [Bing Search Results Scraper](https://apify.com/fetch_cat/bing-search-results-scraper)
- [Google Maps Scraper](https://apify.com/fetch_cat/google-maps-scraper)
- [Google Maps Lead Finder](https://apify.com/fetch_cat/google-maps-lead-finder)
- [2GIS Places Scraper](https://apify.com/fetch_cat/2gis-places-scraper)

### Support

For questions, feature requests, or a reproducible problem, open an issue from the Actor's Apify Store page. Include a public example URL, the run ID, and the expected behavior; do not include credentials or private data.

# Actor input Schema

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

One canonical Threads post URL per line.

## `maxItems` (type: `integer`):

Total root-post and reply rows to save.

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

Save visible public replies as separate rows linked to the root post.

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

Per-root reply ceiling when replies are included.

## `includeAuthorProfile` (type: `boolean`):

Fetch each root author's public profile once to enrich bio and follower count when available.

## `failOnBlocked` (type: `boolean`):

When disabled, completed public rows are preserved and blocked URLs are listed in the run summary.

## Actor input object example

```json
{
  "postUrls": [
    {
      "url": "https://www.threads.com/@openai/post/DW7RXR7EnRC"
    }
  ],
  "maxItems": 10,
  "includeReplies": true,
  "maxRepliesPerPost": 20,
  "includeAuthorProfile": false,
  "failOnBlocked": false
}
```

# Actor output Schema

## `overview` (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 = {
    "postUrls": [
        {
            "url": "https://www.threads.com/@openai/post/DW7RXR7EnRC"
        }
    ],
    "maxItems": 10,
    "includeReplies": true,
    "maxRepliesPerPost": 20,
    "includeAuthorProfile": false,
    "failOnBlocked": false
};

// Run the Actor and wait for it to finish
const run = await client.actor("fetch_cat/threads-post-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 = {
    "postUrls": [{ "url": "https://www.threads.com/@openai/post/DW7RXR7EnRC" }],
    "maxItems": 10,
    "includeReplies": True,
    "maxRepliesPerPost": 20,
    "includeAuthorProfile": False,
    "failOnBlocked": False,
}

# Run the Actor and wait for it to finish
run = client.actor("fetch_cat/threads-post-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 '{
  "postUrls": [
    {
      "url": "https://www.threads.com/@openai/post/DW7RXR7EnRC"
    }
  ],
  "maxItems": 10,
  "includeReplies": true,
  "maxRepliesPerPost": 20,
  "includeAuthorProfile": false,
  "failOnBlocked": false
}' |
apify call fetch_cat/threads-post-scraper --silent --output-dataset

```

## MCP server setup

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