# Threads Posts Scraper (`icoe-man/threads-posts-scraper`) Actor

A threads posts scraper for public posts by URL or by profile: collect the latest posts of a username, or read a single post, with dates, text and counts. Export JSON, CSV or Excel.

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

## Pricing

Pay per event

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

Get a table of public Threads posts you can export to other tools. For an account's latest posts, choose Profile posts and enter the username. The default limit is 30 posts per profile, though you may get fewer depending on what Threads shows. For details on specific posts, choose Single post and paste their links.

### What you get

Under **What to collect**, choose the type of results you want. Fill in the fields for that choice, then start the run. Each run returns one kind of result. The Actor ignores fields from other modes. Use full web addresses. If you have a short link, open it and copy the full address from your browser's address bar. Choose **Live** under **Data freshness** to collect fresh data on every run.

### Collection modes

#### Profile posts

Get the latest public posts from a Threads account, newest first. In `profile-posts` mode, fill in **Usernames** (up to 100 entries). You get up to 30 posts per entry with **Result limit per target** at its default setting, which is also the highest setting. Each post appears in its own row and counts as one **Profile post result** charge.

Example result for one post:

```json
{
  "status": "ok",
  "type": "post",
  "platform": "threads",
  "id": "DfaRKFSlI4A",
  "url": "https://www.threads.com/@nasa/post/DfaRKFSlI4A",
  "author": {
    "id": "28829152388",
    "username": "nasa",
    "verified": true
  },
  "text": "A short example sentence for a space agency update, shown for illustration.",
  "createdAt": "2026-11-10T15:20:11Z",
  "metrics": {
    "likes": 5120,
    "comments": 140,
    "shares": 310
  },
  "hashtags": [],
  "mentions": [],
  "media": [],
  "details": {
    "threads": {
      "replies": 140,
      "reposts": 310,
      "isReply": false,
      "quoteCount": 12,
      "isPaidPartnership": false,
      "isPinned": false,
      "isEdited": false,
      "links": [
        "https://www.example.com/mission"
      ]
    }
  },
  "collectedAt": "2026-11-15T12:00:00Z",
  "input": {
    "username": "nasa",
    "maxItems": 10
  }
}
```

#### Single post

Get details for each public Threads post you link to, along with the author's follow-ups in the same thread and, if you turn on Include replies, the replies. In `post-get` mode, fill in **Post links** (up to 100 entries), and **Include replies** (optional). You get one post per entry. Each post appears in its own row and counts as one **Single post result** charge.

Example result for one post:

```json
{
  "status": "ok",
  "type": "post",
  "platform": "threads",
  "id": "DfaRKFSlI4A",
  "url": "https://www.threads.com/@nasa/post/DfaRKFSlI4A",
  "author": {
    "id": "28829152388",
    "username": "nasa",
    "displayName": "NASA",
    "verified": true
  },
  "text": "A short example sentence for a space agency update, shown for illustration.",
  "language": "en",
  "createdAt": "2026-11-10T15:20:11Z",
  "metrics": {
    "likes": 5120,
    "comments": 140,
    "shares": 310,
    "views": 90210
  },
  "hashtags": [],
  "mentions": [],
  "media": [],
  "details": {
    "threads": {
      "replies": 140,
      "reposts": 310,
      "isReply": false,
      "quoteCount": 12,
      "isPaidPartnership": false,
      "isPinned": false,
      "isEdited": false,
      "links": [
        "https://www.example.com/mission"
      ],
      "threadPosts": [
        {
          "url": "https://www.threads.com/@nasa/post/DfaRKFSlI4B",
          "text": "An example follow-up sentence by the same account, shown for illustration.",
          "createdAt": "2026-11-10T15:21:02Z",
          "likes": 820,
          "replies": 14,
          "reposts": 9
        }
      ],
      "replyPosts": [
        {
          "username": "example_user",
          "text": "An example reply, shown for illustration.",
          "createdAt": "2026-11-10T16:02:40Z",
          "likes": 3,
          "replies": 0
        }
      ]
    }
  },
  "collectedAt": "2026-11-15T12:00:00Z",
  "input": {
    "url": "https://www.threads.com/@nasa/post/DfaRKFSlI4A",
    "maxItems": 1,
    "includeReplies": true
  }
}
```

### Ways to use the data

- Brand research: See what a company or organization posts publicly on Threads.
- Reporting: Save a post with the number of likes, replies, and reposts it had when you collected it.
- Content research: Keep a dated record of an account's public posts.

### What to enter

| Field key | Name on the form | What to enter |
| --- | --- | --- |
| `mode` | What to collect | Choose one type of result per run, then fill in the fields for that choice. |
| `usernames` | Usernames | Enter Threads usernames (nasa or @nasa, for example) or paste links to profiles. |
| `postUrls` | Post links | Paste the full link to each Threads post, for example: https://www.threads.com/@nasa/post/DfaRKFSlI4A |
| `includeReplies` | Include replies | Turn this on to add the replies Threads shows to the post's row at no extra charge. Each reply includes the username as it appears on Threads, the text, when it was posted, and its like and reply counts. The list is empty if there are no replies. This option is off by default. |
| `maxItems` | Result limit per target | Set the most results to collect from each target, up to the mode's maximum. Leave this blank to use the mode's default limit. The limit you set doesn't apply to these modes, which return one result per target: Single post. |
| `freshness` | Data freshness | Standard can return results faster when recently collected data is available. Choose Live to collect fresh data on every run. |

Example input:

```json
{
  "mode": "profile-posts",
  "usernames": [
    "nasa"
  ],
  "maxItems": 10,
  "freshness": "standard"
}
```

### Your results

Each mode has its own view of the results table. See **Collection modes** for what each mode returns.

Every row has a `status` field. For each entry that fails, the Actor returns one row with `status: "error"`. The `error` field has a `code` and a `message`. If a required field for your mode is blank, the run returns one error row and collects no data.

### Pricing

You pay per result. Prices for each Apify plan are in USD per 1,000 results.

| What you pay for | Free | Bronze | Silver | Gold | Platinum | Diamond |
| --- | --- | --- | --- | --- | --- | --- |
| Single post result | $3.015 | $2.717 | $2.717 | $2.717 | $2.717 | $2.717 |
| Profile post result | $2.085 | $1.879 | $1.780 | $1.681 | $1.681 | $1.681 |

You don't pay for errors or empty results. The run stops when it reaches your spending limit.

On the free plan, you can collect up to 10 results per run and make up to 20 runs per day.

### Common questions

#### How many recent posts can I get from one profile?

You can get up to about 30 posts per profile, newest first. The number depends on how many recent posts Threads shows.

#### What do I get with Profile posts and Single post?

Profile posts collects an account's latest public posts. Single post collects the post you link to and any follow-ups the author wrote in the same thread. Turn on Include replies to add the replies Threads shows to the same row at no extra charge. For each reply, you get the username as it appears on Threads, the text, when it was posted, and how many likes and replies it got. Both modes give you the post text and date, any links in the post, and counts such as likes and quotes. They also show whether a post is a reply, has a paid partnership label, is pinned, or has been edited.

#### Do I need to sign in to Threads or give access to my account?

No. The tool only collects public information, so you don't need to sign in to Threads or share browser cookies.

#### How do I limit my results, and what do I pay for?

Set Result limit per target to cap how many results you get from each profile or post link. You only pay for results you get. Errors and empty results don't count, and the run stops when it reaches your spending limit.

#### Is this tool affiliated with Threads?

No. This tool is independent and has no affiliation with, endorsement from, or sponsorship from Threads. It only collects information anyone can see on Threads.

### Disclaimer

This Actor is not affiliated with, endorsed by, or sponsored by Threads. All trademarks belong to their owners.

# Actor input Schema

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

Choose one type of result per run, then fill in the fields for that choice.

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

Enter Threads usernames (nasa or @nasa, for example) or paste links to profiles.

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

Paste the full link to each Threads post, for example: https://www.threads.com/@nasa/post/DfaRKFSlI4A

## `includeReplies` (type: `string`):

Turn this on to add the replies Threads shows to the post's row at no extra charge. Each reply includes the username as it appears on Threads, the text, when it was posted, and its like and reply counts. The list is empty if there are no replies. This option is off by default.

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

Set the most results to collect from each target, up to the mode's maximum. Leave this blank to use the mode's default limit. The limit you set doesn't apply to these modes, which return one result per target: Single post.

## `freshness` (type: `string`):

Standard can return results faster when recently collected data is available. Choose Live to collect fresh data on every run.

## Actor input object example

```json
{
  "mode": "profile-posts",
  "usernames": [
    "nasa"
  ],
  "postUrls": [
    "https://www.threads.com/@nasa/post/DfaRKFSlI4A"
  ],
  "includeReplies": "false",
  "maxItems": 10,
  "freshness": "standard"
}
```

# Actor output Schema

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

See everything this run collected in one table.

# 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": "profile-posts",
    "usernames": [
        "nasa"
    ],
    "postUrls": [
        "https://www.threads.com/@nasa/post/DfaRKFSlI4A"
    ],
    "maxItems": 10
};

// Run the Actor and wait for it to finish
const run = await client.actor("icoe-man/threads-posts-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": "profile-posts",
    "usernames": ["nasa"],
    "postUrls": ["https://www.threads.com/@nasa/post/DfaRKFSlI4A"],
    "maxItems": 10,
}

# Run the Actor and wait for it to finish
run = client.actor("icoe-man/threads-posts-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": "profile-posts",
  "usernames": [
    "nasa"
  ],
  "postUrls": [
    "https://www.threads.com/@nasa/post/DfaRKFSlI4A"
  ],
  "maxItems": 10
}' |
apify call icoe-man/threads-posts-scraper --silent --output-dataset

```

## MCP server setup

```json
{
    "mcpServers": {
        "apify": {
            "type": "http",
            "url": "https://mcp.apify.com/?tools=fetch-actor-details,icoe-man/threads-posts-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/IZG4Is3nmFzIDf9SJ/builds/SWyzGtDMjCSSho7UY/openapi.json
