# 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:** [Fetch Cat](https://apify.com/fetch_cat) (community)
- **Categories:** Social media, Marketing
- **Features:** Limited permissions
- **Stats:** 25 total users, 11 monthly users, 95.6% runs succeeded, 1 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?

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

Export public Threads posts and visible replies from specific post URLs into structured JSON, CSV or Excel. **Threads Post Scraper** returns text, authors, engagement, media, timestamps and conversation links for social listening, campaign reporting and public-source research without a Threads login. Only publicly available content is collected, and not every reply or metric is exposed.

### Quick start

Paste one or more public Threads post URLs into **Public Threads post URLs**, choose a small row limit and click **Start**. When the run finishes, open its dataset to inspect the records. For API users, this bounded input collects up to ten combined post and reply rows:

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

Prefer a video guide? This short Apify walkthrough shows you how to set up and run an Actor. It uses a different Actor, but the setup steps are the same.

https://youtu.be/1OW8gOqlZbY?t=25

### Ready-to-run examples

Choose a public example to inspect and reuse its existing input:

- [Export a Public Threads Post](https://apify.com/fetch_cat/threads-post-scraper/examples/export-public-threads-post) — Save one root post without replies.
- [Analyze a Threads Post and Visible Replies](https://apify.com/fetch_cat/threads-post-scraper/examples/analyze-threads-post-replies) — Save a root post and up to nine visible replies within a ten-row limit.
- [Monitor Multiple Public Threads Posts](https://apify.com/fetch_cat/threads-post-scraper/examples/monitor-public-threads-post-data) — Collect root posts from two URLs without replies. Comparing successive collections is a separate workflow step.

### What you get

- Root posts and available public replies as separate rows.
- Post text, author identity, timestamps and canonical source URLs.
- Available likes, reply counts, reposts, quotes, shares and public view counts.
- Image, video and carousel links with accessibility captions when exposed.
- Hashtags, mentions, external links and conversation relationships.
- Optional public root-author biography and follower count when available.

### Who is it for?

- **Social listening teams:** review specific posts and their visible conversation context.
- **Brand marketers:** export campaign-post engagement and media evidence.
- **PR teams:** retain source URLs, timestamps and public metrics for reporting.
- **Public-source researchers:** organize records using root and parent identifiers.

### Input settings

| Setting / API key | Type | Default | Description |
|---|---|---:|---|
| Post URLs (`postUrls`) | array | required | Public `threads.com/@username/post/code` URLs or Threads share links. |
| Row limit (`maxItems`) | integer | `10` | Maximum combined root-post and reply rows to save. |
| Visible replies (`includeReplies`) | boolean | `true` | Save visible public replies as linked rows. |
| Reply limit (`maxRepliesPerPost`) | integer | `20` | Maximum visible replies saved for each root post. |
| Author enrichment (`includeAuthorProfile`) | boolean | `false` | Request bounded public author-profile enrichment when available. |
| Legacy option (`failOnBlocked`) | boolean | `false` | Accepted but ignored. Unavailable targets produce empty/partial results. Systemic failures still fail. |

The row limit combines root posts and replies across the whole batch. Public Threads share links are also accepted. For a post-only input, set `includeReplies` to `false` and `maxItems` to `1`.

`failOnBlocked` remains accepted for existing inputs but has no effect. No connection or proxy setting is supported.

### Output data

Each dataset row represents a post or a visible reply. Unavailable optional values remain `null` rather than being estimated. This deliberately synthetic, abbreviated shape example is not an observed post:

```json
{
  "itemType": "post",
  "postUrl": "https://www.threads.com/@example/post/EXAMPLE",
  "postId": "example-id",
  "text": "Example public post text",
  "username": "example",
  "likeCount": null,
  "viewCount": null,
  "isReply": false,
  "rootPostId": "example-id",
  "collectionStatus": "complete",
  "warning": null
}
```

| 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` |

The key-value store's `RUN_SUMMARY` contains per-input outcomes and reasons, warnings and saved-row totals. Those summary entries are not dataset records. If the time reserve is reached, `PENDING_WORK` identifies unfinished URLs.

#### Download your results

Open your run's dataset, choose **Export** and select JSON, CSV or Excel. JSON keeps nested fields together. CSV and Excel are useful when you want to review the records in a spreadsheet.

See [Apify's download and export guide](https://docs.apify.com/storage/dataset#apify-console) for the available formats and field options.

### Pricing

This Actor uses pay-per-event pricing. The `start` event is charged once, after the first row is saved. A run with no saved records does not incur this event.

The `result` event is charged for each saved root-post or reply row. Skipped targets and summary entries are not charged result rows. `maxItems` limits saved rows, not the number of input URLs.

See the [live Pricing tab](https://apify.com/fetch_cat/threads-post-scraper/pricing) for current rates and discounts.

### Tips for best results

- **Start with a small batch.** Inspect a few records before increasing your row limit.
- **Use canonical post URLs.** Old author links also work when Threads explicitly identifies the renamed author in the canonical URL for the same post.
- **Choose replies deliberately.** Reply rows share the total `maxItems` budget with root posts.
- **Check the summary.** `RUN_SUMMARY.outcomes` explains skipped, empty or unfinished inputs.
- **Enable author enrichment only when useful.** Public biographies and follower counts may still be unavailable.

### Limits and caveats

The Actor processes specific public post URLs. It does not search Threads, enumerate whole profiles or guarantee every reply. It does not accept login cookies or retrieve private accounts, direct messages or private profile data.

Unavailable targets and completed extraction with no usable records can succeed with an empty dataset. An explicit Threads audience-restriction page produces the `unavailable_audience` summary reason. When Threads explicitly returns its invalid-post feed route, the reason is `unavailable_invalid_post`. Neither reason claims the post is private or deleted; a generic unbound page still retains actionable diagnostics. Inaccessibility alone does not establish privacy or deletion. Mixed batches retain useful rows and report target-specific outcomes.

Malformed entries are skipped when valid targets remain. At least one valid post URL is required. Systemic rate limits, upstream server errors and execution failures still fail the run. Saved records may remain available after a later failure.

Views, shares, author enrichment and other optional fields may be absent. Root-author enrichment is best effort and does not enrich every reply author. There is no built-in change detection or alerting.

### Automation and integrations

#### Save your settings for next time

Once you have an input that works for you, [save it as an Apify task](https://docs.apify.com/actors/running/tasks). This keeps your settings together so you can use them again without filling in the form from scratch.

#### Run on a schedule

Need fresh results regularly? You can [schedule the Actor or a saved task](https://docs.apify.com/actors/running/schedules) to run at a time that suits you.

Each scheduled run collects the data again. If you want to compare results or highlight changes, add that step in your own workflow.

#### Send results to your other tools

Use **n8n, Make or Zapier** to connect this scraper to the rest of your workflow. For example, you could pass its results to an AI assistant or add records to a spreadsheet. Follow the [Apify integration guides](https://docs.apify.com/integrations) for your chosen tool.

For a custom connection, an [Apify webhook](https://docs.apify.com/integrations/webhooks) can notify your app when a run finishes or fails. Your app can then fetch the results or handle the failure.

### API usage

Want to collect this data from your own app or automation? The examples below send input to the scraper and show how to collect its results.

The Node.js and Python examples wait for the run to finish before reading its results. The cURL example starts the run and returns its details. Wait for that run to finish, then use its `defaultDatasetId` to fetch the results.

For setup instructions, see Apify's [JavaScript client guide](https://docs.apify.com/api/client/js), [Python client guide](https://docs.apify.com/api/client/python) and [Actor runs API reference](https://docs.apify.com/api/v2/acts-runs-post).

#### cURL

```bash
curl -X POST "https://api.apify.com/v2/acts/fetch_cat~threads-post-scraper/runs" \
  -H "Authorization: Bearer $APIFY_TOKEN" \
  -H "Content-Type: application/json" \
  -d '{"postUrls":[{"url":"https://www.threads.com/@openai/post/DW7RXR7EnRC"}],"maxItems":10}'
## After completion, read the returned defaultDatasetId:
## curl -H "Authorization: Bearer $APIFY_TOKEN" \
##   "https://api.apify.com/v2/datasets/DATASET_ID/items?format=json"
```

#### Node.js

```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();
console.log(items);
```

#### Python

```python
import os
from apify_client import ApifyClient
client = ApifyClient(token=os.environ['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
print(items)
```

### MCP and AI agents

You can ask your AI assistant to collect data with **Threads Post Scraper** and help you work with the results. The scraper returns the data, and your assistant can then summarize it, compare records or prepare notes.

Connect your assistant through the [Apify MCP server](https://mcp.apify.com/). MCP gives your assistant a way to find this scraper, run it and read the results. Follow the [official setup and sign-in guide](https://docs.apify.com/mcp) for your app.

#### Easier setup with an Apify plugin

If you use a supported coding assistant, the [official Apify plugin](https://docs.apify.com/agents/plugins) can set up the connection for you. It connects your assistant to Apify and includes instructions for common tasks. Follow the guide for your particular app.

#### Use Apify AI in Console

Prefer to keep everything in Apify? Open [Apify AI in Console](https://docs.apify.com/account/apify-ai) and ask it to find Fetch Cat's **Threads Post Scraper**. You can describe the data you want and ask questions about the results.

Apify AI is currently in beta. It asks for confirmation before starting an Actor, and normal run charges apply.

#### Choose your assistant

- **Claude and Claude Code (Anthropic):** [Apify setup guide](https://docs.apify.com/integrations/claude).
- **ChatGPT and Codex (OpenAI):** [Apify setup guides](https://docs.apify.com/integrations/openai).
- **Grok Bot (xAI):** [Apify plugin guide](https://docs.apify.com/integrations/grok-bot).
- **Gemini CLI (Google):** [MCP server setup guide](https://geminicli.com/docs/tools/mcp-server/). Use the server URL below with the HTTP configuration supported by Gemini CLI.

#### Connect just this scraper

To keep your setup focused on this scraper, add this server configuration to a compatible MCP client:

```json
{
  "mcpServers": {
    "apify": {
      "url": "https://mcp.apify.com?tools=fetch_cat/threads-post-scraper"
    }
  }
}
```

Sign in to Apify when your client asks. If your client uses a Bearer token instead, follow its setup guide and keep the token in its secure configuration. Configuration formats vary by app, so use the linked guide if your client needs a different format.

#### Use Apify's general server

Already connected to the general Apify MCP server at `https://mcp.apify.com`? You can use it to find this scraper without adding another server. Ask your assistant to use **Threads Post Scraper** by Fetch Cat, or give it the identifier `fetch_cat/threads-post-scraper`.

Your assistant can check the available settings and retrieve the results from the returned run. If the run is still working, it should follow that run rather than start it again. Both connection options use Apify's hosted service.

#### Example requests

- “Collect this public Threads post and its visible replies, up to ten records, then summarize the discussion.”
- “Export the root posts from these two public Threads links and compare their available engagement counts.”
- “Get this public Threads post with available author biography and follower count, then prepare a short research note with the source link.”

Normal Apify charges apply. Check the [live Pricing tab](https://apify.com/fetch_cat/threads-post-scraper/pricing) before asking your assistant to run a larger batch.

### Pay with x402

If your AI agent has a funded wallet, it can pay for Apify usage through [x402](https://docs.apify.com/integrations/x402). This experimental option lets an agent use Apify without a conventional account.

[Apify AGI](https://agi.apify.com/) provides a prepaid API token with a spending cap after payment. Your agent can use that token to run this scraper through the Apify API or an authenticated MCP connection.

Some MCP setups also support paying for each request directly. That is a different payment option, so check the official guide for its availability.

Follow the official guide for wallet setup, supported payment options and current terms. Apify handles the payments. Keep wallet keys and payment tokens in your agent's secure configuration.

#### Other ways for agents to pay

Apify also supports **MPP** for prepaid access through AGI and **Skyfire** for eligible Actors. If your agent already uses one of these, see the [agentic payment guide](https://docs.apify.com/agents/payments) to choose the right setup.

### FAQ

#### Can I export Threads posts without a login?

Yes. Supply public post URLs without cookies or a Threads account. Private and unavailable content is not retrieved.

#### Can I use this as a Threads post API?

Yes. Use the Apify API or supported MCP connection with specific public post URLs. This is not an official Threads API and does not support publishing posts.

#### Can I export CSV or Excel?

Yes. Export the run's dataset in Console. Use JSON when you need to retain nested media and mention fields.

#### Does it collect every reply?

No. Only replies exposed by the public post representation can be returned. The total row limit and per-post reply limit also apply.

#### Why did a run succeed without records?

A target can be unavailable or expose no usable post record. Check `RUN_SUMMARY` for truthful reasons. This does not establish privacy or deletion. Systemic execution failures still fail.

#### What does failOnBlocked do?

Nothing. It is an accepted legacy field and does not change outcomes.

#### Can I compare posts over time?

You can collect successive datasets through your own automation. Comparison and alerting must be implemented separately.

#### What is charged?

One `start` event after the first saved row and one `result` event per saved post or reply. See the live Pricing tab for current rates.

### Related Actors

#### More Threads scrapers

- [Threads Replies Scraper](https://apify.com/fetch_cat/threads-replies-scraper) — Export public replies, authors, engagement and conversation-tree provenance.
- [Threads Profile & Posts Scraper](https://apify.com/fetch_cat/threads-profile-posts-scraper) — Collect public profile details, recent posts, engagement metrics and media.

* [Website Contact Finder](https://apify.com/fetch_cat/website-contact-finder) — Find public emails, phone numbers and social links on websites, with source URLs.
* [Bing Search Results Scraper](https://apify.com/fetch_cat/bing-search-results-scraper) — Export organic search positions, titles, URLs and snippets by market and language.
* [Google Maps Lead Finder](https://apify.com/fetch_cat/google-maps-lead-finder) — Find businesses by keyword and location, with available phones, websites and ratings.
* [2GIS Places Scraper](https://apify.com/fetch_cat/2gis-places-scraper) — Export public place names, addresses, categories and available ratings from searches or 2GIS URLs.

### Support and feedback

For custom additions or integrations, email <hello@fetchcat.dev>.

Found an error or have a feature request? [Open an issue](https://apify.com/fetch_cat/threads-post-scraper/issues) with the run URL, a non-sensitive input example and what you expected.

Need help sharing it? See [Apify’s guide to sharing a run when reporting an issue](https://docs.apify.com/account/collaboration/general-resource-access#automatically-sharing-runs-via-actor-issues). Sharing a run can give the developer access to its input, logs and results, so use a run that contains no sensitive data. Please leave out API tokens, passwords, cookies, private documents and personal data. Use a public sample URL or a redacted example instead.

Tried this scraper? We'd love to hear how it worked for you. [Leave a review](https://apify.com/fetch_cat/threads-post-scraper/reviews) to help others choose the right tool and help us improve it. Your feedback means a lot to us.

Made with care for curious people, AI agents and the possibilities in data. ♥

# Changelog

This Actor's version history is a separate document: https://apify.com/fetch_cat/threads-post-scraper/changelog.md

# Actor input Schema

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

One public canonical Threads post URL or Threads share link per line. Invalid entries are skipped without discarding valid posts.

## `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`):

Retained for saved-input compatibility; no longer changes outcomes. Unavailable targets succeed with truthful empty/partial summaries. Systemic rate limits and execution failures still fail.

## 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/lCv1YbXjeQdMiF28z/openapi.json
