# Threads Scraper - Creators, Profiles, Posts & Comments (`vulnv/threads-scraper`) Actor

Scrape Threads (by Meta): find creators by keyword, get full profiles, a creator's posts, single post details, and post replies. Export text, likes, replies, reposts, media and creator data to JSON/CSV/Excel. No login or cookies needed.

- **URL**: https://apify.com/vulnv/threads-scraper.md
- **Developed by:** [VulnV](https://apify.com/vulnv) (community)
- **Categories:** Social media, Lead generation
- **Stats:** 2 total users, 1 monthly users, 100.0% runs succeeded, 0 bookmarks
- **User rating**: No ratings yet

## Pricing

from $3.00 / 1,000 creators

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/platform/actors/running/actors-in-store#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.

In JavaScript/TypeScript projects, use official [JavaScript/TypeScript client](https://docs.apify.com/api/client/js/docs.md):

```bash
npm install apify-client
```

In Python projects, use official [Python client library](https://docs.apify.com/api/client/python/docs.md):

```bash
pip install apify-client
```

In shell scripts, use [Apify CLI](https://docs.apify.com/cli/docs.md):

````bash
# MacOS / Linux
curl -fsSL https://apify.com/install-cli.sh | bash
# Windows
irm https://apify.com/install-cli.ps1 | iex
```bash

In AI frameworks, you might use the [Apify MCP server](https://docs.apify.com/integrations/mcp.md).

If your project is in a different language, use 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 Scraper - Creators, Profiles, Posts & Comments

**Scrape Threads (by Meta) and export creators, profiles, posts and replies to JSON, CSV or Excel.** Find creators by keyword, pull a creator's full profile, list a creator's posts, get a single post's details, or collect a post's replies - all from one Actor. Each result is one clean, flat row with text, likes, replies, reposts, media URLs and creator data.

No login, no cookies and no proxy to configure - data is fetched through a fast, managed pipeline. Just pick an operation, add your input and press **Start**.

> **Unofficial notice:** This is an independent tool and is **not** affiliated with, endorsed by, or connected to Threads, Instagram or Meta Platforms, Inc. "Threads" and "Meta" are trademarks of their respective owners, used here only to describe what the Actor scrapes.

### What is Threads?

Threads is Meta's text-based social app, connected to Instagram, with hundreds of millions of users sharing short posts, replies and reposts. This scraper gives you programmatic access to Threads creators, profiles, posts and replies so you can discover creators, track engagement and analyze conversations at scale without a Threads account.

### Operations

Pick one **Operation** and fill in the matching field:

| Operation | Input field | What you get |
|-----------|-------------|--------------|
| **Find creators by keyword** | `keywords` | Threads creators matching each keyword (username, name, verified, id). |
| **Creator profile** | `usernames` | A creator's full profile: followers, bio, verification, avatar. |
| **Creator's posts** | `usernames` | Posts a creator has published, paginated. |
| **Post details** | `postUrls` | The full detail of each post (text, likes, replies, reposts, media). |
| **Post comments** | `postUrls` | Replies to each post, with author and engagement data. |

`usernames` accept usernames, `@handles` or profile URLs. `postUrls` accept full Threads post URLs, shortcodes or numeric post IDs - one per line.

### How to use it (step by step)

1. Choose an **Operation**.
2. Fill in the matching input:
   - Find creators -> add one or more **Creator search keywords**.
   - Creator profile / Creator's posts -> paste **Usernames**.
   - Post details / Post comments -> paste **Post URLs**.
3. Set **Maximum results per input** (default 100, or 0 for all available) for the paginated operations.
4. Press **Start**. Export the dataset as JSON, CSV, Excel, XML or via the API.

### Input

| Field | Type | Description |
|-------|------|-------------|
| `operation` | string | **Required.** `search_creators`, `user_profile`, `user_posts`, `post_detail`, or `post_comments`. |
| `keywords` | array | Creator search keywords (for `search_creators`). |
| `usernames` | array | Usernames, @handles or profile URLs (for `user_profile`, `user_posts`). |
| `postUrls` | array | Post URLs, shortcodes or IDs (for `post_detail`, `post_comments`). |
| `maxItems` | integer | Max results per keyword / creator / post. `0` = all available. Default `100`. |

### Output

Every row carries a `record_type` of `post` or `user`. Common post fields:

| Field | Description |
|-------|-------------|
| `post_id`, `post_code`, `post_url` | Post identity and canonical URL. |
| `text`, `create_time`, `is_reply` | Post text, publish time (ISO-8601 UTC), and whether it's a reply. |
| `like_count`, `reply_count`, `repost_count`, `quote_count` | Engagement metrics. |
| `author_id`, `author_username`, `author_full_name`, `author_verified` | Author data. |
| `media_type`, `image_url`, `video_url`, `is_carousel` | Attached media. |

Creator (`user`) rows carry `user_id`, `username`, `full_name`, `biography`, `follower_count`, `verified`, `profile_url` and `avatar_url`.

### Common use cases

- **Creator / influencer discovery** - find Threads creators for any niche, then pull their profile and posts.
- **Brand and competitor monitoring** - track a brand's posts, engagement and reply sentiment.
- **Social listening** - collect replies to a viral post for conversation and sentiment analysis.
- **Lead generation** - build lists of creators and their public profile data by keyword.

### Notes on reliability

- Media URLs are served by Meta's CDN and are time-limited; fetch them promptly.
- Like, reply and repost counts reflect what Threads returns at scrape time.
- If a post or creator is private, deleted or unavailable, that input is skipped and the run continues.

### FAQ

**Do I need a Threads or Instagram account?** No. Just add your input and press Start.

**Can I paste a Threads post URL directly?** Yes - `postUrls` accepts full URLs, shortcodes and numeric IDs.

**Can I run several keywords or usernames at once?** Yes - add multiple lines. Duplicate results are removed automatically.

# Actor input Schema

## `operation` (type: `string`):

What to scrape. Each operation uses a different input field below:

• Find creators → Keywords
• Creator profile → Usernames
• Creator's posts → Usernames
• Post details → Post URLs
• Post comments → Post URLs
## `keywords` (type: `array`):

For the "Find creators" operation. Add one or more keywords, names or brands to find matching Threads creators.
## `usernames` (type: `array`):

For the "Creator profile" and "Creator's posts" operations. Paste Threads usernames, @handles or profile URLs - one per line.
## `postUrls` (type: `array`):

For the "Post details" and "Post comments" operations. Paste full Threads post URLs (e.g. https://www.threads.net/@user/post/ABC123) or post IDs - one per line.
## `maxItems` (type: `integer`):

Upper bound on results per keyword / creator / post (for the paginated operations: creator's posts and comments). Cost scales linearly. Set 0 to fetch all available.

## Actor input object example

```json
{
  "operation": "search_creators",
  "keywords": [
    "nike",
    "marketing"
  ],
  "maxItems": 100
}
````

# Actor output Schema

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

All scraped Threads results in the default dataset.

## `overview` (type: `string`):

Overview table of the scraped results.

# 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 = {
    "keywords": [
        "nike",
        "marketing"
    ]
};

// Run the Actor and wait for it to finish
const run = await client.actor("vulnv/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 = { "keywords": [
        "nike",
        "marketing",
    ] }

# Run the Actor and wait for it to finish
run = client.actor("vulnv/threads-scraper").call(run_input=run_input)

# Fetch and print Actor results from the run's dataset (if there are any)
print("💾 Check your data here: https://console.apify.com/storage/datasets/" + run["defaultDatasetId"])
for item in client.dataset(run["defaultDatasetId"]).iterate_items():
    print(item)

# 📚 Want to learn more 📖? Go to → https://docs.apify.com/api/client/python/docs/quick-start

```

## CLI example

```bash
echo '{
  "keywords": [
    "nike",
    "marketing"
  ]
}' |
apify call vulnv/threads-scraper --silent --output-dataset

```

## MCP server setup

```json
{
    "mcpServers": {
        "apify": {
            "command": "npx",
            "args": [
                "mcp-remote",
                "https://mcp.apify.com/?tools=vulnv/threads-scraper",
                "--header",
                "Authorization: Bearer <YOUR_API_TOKEN>"
            ]
        }
    }
}

```

## OpenAPI specification

```json
{
    "openapi": "3.0.1",
    "info": {
        "title": "Threads Scraper - Creators, Profiles, Posts & Comments",
        "description": "Scrape Threads (by Meta): find creators by keyword, get full profiles, a creator's posts, single post details, and post replies. Export text, likes, replies, reposts, media and creator data to JSON/CSV/Excel. No login or cookies needed.",
        "version": "1.0",
        "x-build-id": "htG76WEt3p1e9pdl4"
    },
    "servers": [
        {
            "url": "https://api.apify.com/v2"
        }
    ],
    "paths": {
        "/acts/vulnv~threads-scraper/run-sync-get-dataset-items": {
            "post": {
                "operationId": "run-sync-get-dataset-items-vulnv-threads-scraper",
                "x-openai-isConsequential": false,
                "summary": "Executes an Actor, waits for its completion, and returns Actor's dataset items in response.",
                "tags": [
                    "Run Actor"
                ],
                "requestBody": {
                    "required": true,
                    "content": {
                        "application/json": {
                            "schema": {
                                "$ref": "#/components/schemas/inputSchema"
                            }
                        }
                    }
                },
                "parameters": [
                    {
                        "name": "token",
                        "in": "query",
                        "required": true,
                        "schema": {
                            "type": "string"
                        },
                        "description": "Enter your Apify token here"
                    }
                ],
                "responses": {
                    "200": {
                        "description": "OK"
                    }
                }
            }
        },
        "/acts/vulnv~threads-scraper/runs": {
            "post": {
                "operationId": "runs-sync-vulnv-threads-scraper",
                "x-openai-isConsequential": false,
                "summary": "Executes an Actor and returns information about the initiated run in response.",
                "tags": [
                    "Run Actor"
                ],
                "requestBody": {
                    "required": true,
                    "content": {
                        "application/json": {
                            "schema": {
                                "$ref": "#/components/schemas/inputSchema"
                            }
                        }
                    }
                },
                "parameters": [
                    {
                        "name": "token",
                        "in": "query",
                        "required": true,
                        "schema": {
                            "type": "string"
                        },
                        "description": "Enter your Apify token here"
                    }
                ],
                "responses": {
                    "200": {
                        "description": "OK",
                        "content": {
                            "application/json": {
                                "schema": {
                                    "$ref": "#/components/schemas/runsResponseSchema"
                                }
                            }
                        }
                    }
                }
            }
        },
        "/acts/vulnv~threads-scraper/run-sync": {
            "post": {
                "operationId": "run-sync-vulnv-threads-scraper",
                "x-openai-isConsequential": false,
                "summary": "Executes an Actor, waits for completion, and returns the OUTPUT from Key-value store in response.",
                "tags": [
                    "Run Actor"
                ],
                "requestBody": {
                    "required": true,
                    "content": {
                        "application/json": {
                            "schema": {
                                "$ref": "#/components/schemas/inputSchema"
                            }
                        }
                    }
                },
                "parameters": [
                    {
                        "name": "token",
                        "in": "query",
                        "required": true,
                        "schema": {
                            "type": "string"
                        },
                        "description": "Enter your Apify token here"
                    }
                ],
                "responses": {
                    "200": {
                        "description": "OK"
                    }
                }
            }
        }
    },
    "components": {
        "schemas": {
            "inputSchema": {
                "type": "object",
                "required": [
                    "operation"
                ],
                "properties": {
                    "operation": {
                        "title": "⚙️ Operation",
                        "enum": [
                            "search_creators",
                            "user_profile",
                            "user_posts",
                            "post_detail",
                            "post_comments"
                        ],
                        "type": "string",
                        "description": "What to scrape. Each operation uses a different input field below:\n\n• Find creators → Keywords\n• Creator profile → Usernames\n• Creator's posts → Usernames\n• Post details → Post URLs\n• Post comments → Post URLs",
                        "default": "search_creators"
                    },
                    "keywords": {
                        "title": "🔎 Creator search keywords",
                        "type": "array",
                        "description": "For the \"Find creators\" operation. Add one or more keywords, names or brands to find matching Threads creators.",
                        "items": {
                            "type": "string"
                        }
                    },
                    "usernames": {
                        "title": "👤 Usernames",
                        "type": "array",
                        "description": "For the \"Creator profile\" and \"Creator's posts\" operations. Paste Threads usernames, @handles or profile URLs - one per line.",
                        "items": {
                            "type": "string"
                        }
                    },
                    "postUrls": {
                        "title": "🧵 Post URLs",
                        "type": "array",
                        "description": "For the \"Post details\" and \"Post comments\" operations. Paste full Threads post URLs (e.g. https://www.threads.net/@user/post/ABC123) or post IDs - one per line.",
                        "items": {
                            "type": "string"
                        }
                    },
                    "maxItems": {
                        "title": "📊 Maximum results per input",
                        "minimum": 0,
                        "maximum": 5000,
                        "type": "integer",
                        "description": "Upper bound on results per keyword / creator / post (for the paginated operations: creator's posts and comments). Cost scales linearly. Set 0 to fetch all available.",
                        "default": 100
                    }
                }
            },
            "runsResponseSchema": {
                "type": "object",
                "properties": {
                    "data": {
                        "type": "object",
                        "properties": {
                            "id": {
                                "type": "string"
                            },
                            "actId": {
                                "type": "string"
                            },
                            "userId": {
                                "type": "string"
                            },
                            "startedAt": {
                                "type": "string",
                                "format": "date-time",
                                "example": "2025-01-08T00:00:00.000Z"
                            },
                            "finishedAt": {
                                "type": "string",
                                "format": "date-time",
                                "example": "2025-01-08T00:00:00.000Z"
                            },
                            "status": {
                                "type": "string",
                                "example": "READY"
                            },
                            "meta": {
                                "type": "object",
                                "properties": {
                                    "origin": {
                                        "type": "string",
                                        "example": "API"
                                    },
                                    "userAgent": {
                                        "type": "string"
                                    }
                                }
                            },
                            "stats": {
                                "type": "object",
                                "properties": {
                                    "inputBodyLen": {
                                        "type": "integer",
                                        "example": 2000
                                    },
                                    "rebootCount": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "restartCount": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "resurrectCount": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "computeUnits": {
                                        "type": "integer",
                                        "example": 0
                                    }
                                }
                            },
                            "options": {
                                "type": "object",
                                "properties": {
                                    "build": {
                                        "type": "string",
                                        "example": "latest"
                                    },
                                    "timeoutSecs": {
                                        "type": "integer",
                                        "example": 300
                                    },
                                    "memoryMbytes": {
                                        "type": "integer",
                                        "example": 1024
                                    },
                                    "diskMbytes": {
                                        "type": "integer",
                                        "example": 2048
                                    }
                                }
                            },
                            "buildId": {
                                "type": "string"
                            },
                            "defaultKeyValueStoreId": {
                                "type": "string"
                            },
                            "defaultDatasetId": {
                                "type": "string"
                            },
                            "defaultRequestQueueId": {
                                "type": "string"
                            },
                            "buildNumber": {
                                "type": "string",
                                "example": "1.0.0"
                            },
                            "containerUrl": {
                                "type": "string"
                            },
                            "usage": {
                                "type": "object",
                                "properties": {
                                    "ACTOR_COMPUTE_UNITS": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "DATASET_READS": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "DATASET_WRITES": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "KEY_VALUE_STORE_READS": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "KEY_VALUE_STORE_WRITES": {
                                        "type": "integer",
                                        "example": 1
                                    },
                                    "KEY_VALUE_STORE_LISTS": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "REQUEST_QUEUE_READS": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "REQUEST_QUEUE_WRITES": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "DATA_TRANSFER_INTERNAL_GBYTES": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "DATA_TRANSFER_EXTERNAL_GBYTES": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "PROXY_RESIDENTIAL_TRANSFER_GBYTES": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "PROXY_SERPS": {
                                        "type": "integer",
                                        "example": 0
                                    }
                                }
                            },
                            "usageTotalUsd": {
                                "type": "number",
                                "example": 0.00005
                            },
                            "usageUsd": {
                                "type": "object",
                                "properties": {
                                    "ACTOR_COMPUTE_UNITS": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "DATASET_READS": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "DATASET_WRITES": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "KEY_VALUE_STORE_READS": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "KEY_VALUE_STORE_WRITES": {
                                        "type": "number",
                                        "example": 0.00005
                                    },
                                    "KEY_VALUE_STORE_LISTS": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "REQUEST_QUEUE_READS": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "REQUEST_QUEUE_WRITES": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "DATA_TRANSFER_INTERNAL_GBYTES": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "DATA_TRANSFER_EXTERNAL_GBYTES": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "PROXY_RESIDENTIAL_TRANSFER_GBYTES": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "PROXY_SERPS": {
                                        "type": "integer",
                                        "example": 0
                                    }
                                }
                            }
                        }
                    }
                }
            }
        }
    }
}
```
