# Threads Scraper \[$0.50/1K 💰] | Posts & Profiles (`ahmed_jasarevic/threads-scraper`) Actor

Scrape public Threads profiles, posts, replies, search results and hashtags: text, authors, engagement, media, links, hashtags and mentions. $0.50 per 1,000 posts.

- **URL**: https://apify.com/ahmed_jasarevic/threads-scraper.md
- **Developed by:** [Ahmed Jasarevic](https://apify.com/ahmed_jasarevic) (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

from $0.40 / 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.
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 Scraper – Posts, Profiles, Replies & Search

Scrape public **Threads.com** profiles, posts, replies, search results and hashtags. Get text, authors, engagement, media, links, hashtags, mentions, quoted posts and reposts. **$0.50 per 1,000 posts** and **$0.50 per 1,000 profiles.**

### Public Threads Data

Threads is Meta’s public conversations platform. This Actor turns public posts and profiles into structured social data for social-listening teams, influencer researchers, brand analysts, content strategists, journalists and AI dataset builders.

- **Social listening** — track keywords, brands and conversations.
- **Influencer research** — collect public profile and engagement data.
- **Content analysis** — study hooks, hashtags, links and media.
- **Community research** — follow replies and discussion threads.
- **AI datasets** — build public post and profile corpora.

### How It Works

![How the Threads Scraper works: public profiles, posts, replies, searches and hashtags to structured social data with engagement and media.](https://api.apify.com/v2/key-value-stores/oeuA0kLOyhbRM4fzt/records/how-it-works-threads-scraper.webp)

Add usernames, profile or post URLs, search queries or hashtags. The Actor collects public posts, optionally adds replies and profile rows, and writes one row per post, reply or profile.

- Posts, replies and profiles in one dataset.
- Profiles, post URLs, keywords and hashtags supported.
- Optional replies and profile rows.
- Incremental runs with `onlyNew`.
- Free users get a 10-post preview.

### Profiles, Posts, Replies And Discovery

- **Profiles** — username, full name, bio, followers, verification, picture and bio links.
- **Posts** — text, author, time, language and engagement.
- **Replies** — paginated replies for any post URL.
- **Search** — keyword discovery across public search views.
- **Hashtags** — tag pages with and without `#`.
- **Media** — images, videos, carousels, dimensions and thumbnails.

### Post And Profile Fields

Post rows can include the record type, post ID, short code, canonical URL, text, creation time, author details, engagement stats, media type, media URLs and dimensions, link preview, quoted post, reposted post, hashtags, mentions, external URLs, reply hierarchy, source and scrape time.

Profile rows use `recordType: "profile"` and include username, full name, biography, follower count, verification, profile picture, bio links, URL and source.

### Input – Configure A Threads Run

| Field | Type | Default | Notes |
|---|---|---|---|
| `usernames` | array | `[]` | Public Threads usernames, with or without `@` |
| `startUrls` | array | `[]` | Profile or post URLs |
| `searchQueries` | array | `[]` | Keywords to search |
| `hashtags` | array | `[]` | Hashtags, with or without `#` |
| `maxPostsPerTarget` | integer | `50` | Maximum posts per profile, query or hashtag, up to 5,000 |
| `includeReplies` | boolean | `false` | Add replies for post URLs |
| `maxRepliesPerPost` | integer | `50` | Maximum replies per post |
| `includeProfileRows` | boolean | `false` | Save one profile row per profile target |
| `onlyNew` | boolean | `false` | Skip posts already saved by earlier runs |
| `concurrency` | integer | `4` | Targets processed in parallel |
| `requestTimeoutSecs` | integer | `25` | Per-page timeout |
| `maxRunSeconds` | integer | `900` | Stop starting new pages after this time |
| `proxyConfiguration` | object | Off | Optional connection settings for large batches |

At least one target is required.

### Output – Post And Profile Fields

- **Identity** — `recordType`, `id`, `code`, `url`
- **Content** — `text`, `createdAt`, `language`
- **Author** — `author`
- **Engagement** — `stats`
- **Media** — `mediaType`, `media`
- **References** — `linkPreview`, `quotedPost`, `repostedPost`
- **Signals** — `hashtags`, `mentions`, `externalUrls`
- **Thread** — `isReply`, `parentPostId`, `rootPostId`
- **Profile** — `username`, `fullName`, `biography`, `followerCount`, `isVerified`, `profilePicUrl`, `bioLinks`
- **Provenance** — `source`, `scrapedAt`

### Example Input – Profiles, A Post, Search And Hashtags

```json
{
  "usernames": ["zuck", "openai"],
  "startUrls": ["https://www.threads.com/@zuck/post/DfNR0zhEdWv"],
  "searchQueries": ["vibe coding", "AI agents"],
  "hashtags": ["AI", "buildinpublic"],
  "maxPostsPerTarget": 50,
  "includeReplies": true,
  "maxRepliesPerPost": 50,
  "includeProfileRows": false,
  "onlyNew": false,
  "concurrency": 4,
  "maxRunSeconds": 900
}
```

### Example Output – One Threads Post

```json
{
  "recordType": "post",
  "id": "3894512345678901234",
  "code": "DfNR0zhEdWv",
  "url": "https://www.threads.com/@openai/post/DfNR0zhEdWv",
  "text": "Introducing a new way to build with AI agents.",
  "createdAt": "2026-11-03T18:42:00.000Z",
  "language": "en",
  "author": {
    "id": "123456789",
    "username": "openai",
    "fullName": "OpenAI",
    "isVerified": true,
    "profilePicUrl": "https://scontent.example.com/profile.jpg"
  },
  "stats": {
    "likes": 18420,
    "replies": 612,
    "reposts": 1450,
    "quotes": 238,
    "shares": 96,
    "views": 912000
  },
  "mediaType": "image",
  "media": [{ "type": "image", "url": "https://scontent.example.com/post.jpg", "width": 1080, "height": 1350 }],
  "hashtags": ["AI", "agents"],
  "mentions": [],
  "externalUrls": ["https://openai.com/"],
  "isReply": false,
  "parentPostId": null,
  "rootPostId": null,
  "source": "profile:openai",
  "scrapedAt": "2026-11-04T12:00:00.000Z"
}
```

### Export Posts And Schedule Updates

Download JSON, CSV, Excel or HTML from Apify Console, or send results to Google Sheets, Airtable, BigQuery, Make, Zapier, n8n or a webhook. Schedule recurring runs with `onlyNew` to collect fresh posts.

### Related Actors

- [Facebook Pages Profiles Scraper](https://apify.com/ahmed_jasarevic/facebook-pages-profiles-scraper) — add public page data
- [TikTok Audience Demographics](https://apify.com/ahmed_jasarevic/tiktok-audience-demographics) — add short-video audience data
- [X Quotes Reposts Scraper](https://apify.com/ahmed_jasarevic/x-quotes-reposts-scraper) — add public social posts
- [Reddit Scraper Pro](https://apify.com/ahmed_jasarevic/reddit-scraper-pro) — add community discussions

### FAQ

#### What can I scrape?

Public profiles, posts, replies, search results and hashtags. Private or login-only content is not supported.

#### Do I need a Threads account?

No. The Actor reads only public content and does not log in.

#### How many posts can one target return?

`maxPostsPerTarget` accepts up to 5,000. Profiles can paginate deeply; search and hashtag coverage depends on what Threads exposes publicly.

#### Why are search results sometimes fewer than requested?

Logged-out search views expose a limited number of posts. The Actor merges several public discovery views, but narrow or older queries may still return fewer results.

#### What does `includeProfileRows` do?

It saves one profile record per profile target. Profile rows are billed separately from posts.

#### How does `onlyNew` work?

It stores seen post IDs and skips them on later runs, so scheduled runs can focus on fresh content.

#### Can I collect replies?

Yes. Add a post URL and enable `includeReplies`, then set `maxRepliesPerPost`.

#### How much does it cost?

Posts and replies cost **$0.0005 each** on FREE/BRONZE ($0.50 per 1,000), $0.00045 on SILVER and $0.0004 on GOLD+. Profile rows cost $0.0005 on FREE/BRONZE/SILVER and $0.00045 on GOLD+. A small Actor Start event applies.

### For AI Agents & LLM Apps

Returns one row per post, reply or profile, with public content, engagement and media fields.

Minimal working input:

```json
{ "usernames": ["openai"], "maxPostsPerTarget": 20, "includeProfileRows": true }
```

Output fields: `recordType, id, code, url, text, createdAt, language, author, stats, mediaType, media, linkPreview, quotedPost, repostedPost, hashtags, mentions, externalUrls, isReply, parentPostId, rootPostId, source, scrapedAt`. Profile rows add `username, fullName, biography, followerCount, isVerified, profilePicUrl, bioLinks`.

Behaviors an agent should know:

- `recordType` is `post`, `reply` or `profile`.
- Private, deleted or login-only targets are skipped and reported in the run summary.
- Search coverage is limited by what public Threads views expose.
- `onlyNew` skips previously saved posts.
- Free users get a 10-post preview.

Billing: **$0.0005 per post or reply** on FREE/BRONZE ($0.50 per 1,000), $0.00045 on SILVER and $0.0004 on GOLD+. Profiles cost $0.0005 on FREE/BRONZE/SILVER and $0.00045 on GOLD+, plus a small Actor Start event.

### Legal & Compliance Disclaimer

This Actor is an independent tool. It is not affiliated with, endorsed by or sponsored by Threads or Meta.

It collects publicly available content only. Users are responsible for complying with Threads’ terms, copyright law and applicable privacy rules. Do not use the data for harassment, surveillance or any purpose that violates platform policies or local law.

### SEO Keywords

threads scraper, threads posts data, threads profiles, threads search data, social media scraper, instagram threads data, thread replies data, social analytics data, influencer research data, social listening data, public posts data, hashtag data, social media api, engagement data, creator data, threads hashtag scraper, social dataset, threads data extraction

# Actor input Schema

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

Public Threads usernames, with or without @. Example: zuck, natgeo, openai. Aliases are case-insensitive.

## `startUrls` (type: `array`):

Threads profile URLs (https://www.threads.com/@zuck), post URLs (https://www.threads.com/@zuck/post/CODE), search URLs or tag URLs.

## `searchQueries` (type: `array`):

Search Threads for keywords. The actor merges public search surfaces (top, tags and recent) and, above 50 requested posts, partitions older results by date to fill maxPostsPerTarget. Above 500 it uses weekly partitions. Popular queries can return thousands; narrow queries may return fewer.

## `hashtags` (type: `array`):

Threads hashtags, with or without #. Example: AI, buildinpublic, marketing.

## `maxPostsPerTarget` (type: `integer`):

Maximum posts saved per profile, search query or hashtag. Profiles paginate through Threads GraphQL until this limit is reached; one page often contains 15 threads and 20-35 individual posts. Search and hashtags merge public surfaces and, above 50, date partitions until this limit or the available results are exhausted. Above 500 it switches to weekly partitions and can return thousands for popular tags.

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

When a post URL is provided, also scrape its replies. Replies are paginated through the post page GraphQL query.

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

Maximum replies saved for each post URL when Include post replies is on. Set 0 to save only the root post.

## `includeProfileRows` (type: `boolean`):

Also save one profile record per profile target (username, bio, follower count, verification, profile picture, bio links). Profile rows are charged separately.

## `onlyNew` (type: `boolean`):

Skip posts already saved by previous runs of this actor. Uses the actor key-value store. Off by default.

## `concurrency` (type: `integer`):

Number of targets processed in parallel. Higher is faster but increases the chance of temporary rate limits. 4 is a good default.

## `requestTimeoutSecs` (type: `integer`):

Timeout for each HTTP request.

## `maxRunSeconds` (type: `integer`):

Stop starting new pages and targets after this many seconds. Already saved rows remain in the dataset. Keep at least 900 for limits above 1000, or up to 1800 for maximum coverage.

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

Optional Apify proxy or custom proxy URLs. Use a proxy if you see temporary HTTP 403 responses from your region.

## Actor input object example

```json
{
  "usernames": [
    "zuck",
    "natgeo"
  ],
  "startUrls": [
    "https://www.threads.com/@zuck/post/DfNR0zhEdWv"
  ],
  "searchQueries": [
    "AI agents",
    "vibe coding",
    "build in public"
  ],
  "hashtags": [
    "AI",
    "buildinpublic",
    "marketing"
  ],
  "maxPostsPerTarget": 50,
  "includeReplies": false,
  "maxRepliesPerPost": 50,
  "includeProfileRows": false,
  "onlyNew": false,
  "concurrency": 4,
  "requestTimeoutSecs": 25,
  "maxRunSeconds": 900,
  "proxyConfiguration": {
    "useApifyProxy": false
  }
}
```

# Actor output Schema

## `dataset` (type: `string`):

One row per Threads post, reply or profile with text, author, engagement, media, links, hashtags and mentions.

## `summary` (type: `string`):

Run status, saved and skipped counts, target errors and storage links. Read it from the key-value store using key OUTPUT.

# 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",
        "openai"
    ],
    "searchQueries": [
        "vibe coding"
    ],
    "hashtags": [
        "AI"
    ]
};

// Run the Actor and wait for it to finish
const run = await client.actor("ahmed_jasarevic/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",
        "openai",
    ],
    "searchQueries": ["vibe coding"],
    "hashtags": ["AI"],
}

# Run the Actor and wait for it to finish
run = client.actor("ahmed_jasarevic/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",
    "openai"
  ],
  "searchQueries": [
    "vibe coding"
  ],
  "hashtags": [
    "AI"
  ]
}' |
apify call ahmed_jasarevic/threads-scraper --silent --output-dataset

```

## MCP server setup

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