# Threads Scraper Profile and Post (`thenetaji/threads-scraper-ppe`)

Scrape threads to get post and profile details. Fast and efficient...

- **URL**: https://apify.com/thenetaji/threads-scraper-ppe.md
- **Developed by:** [thenetaji](https://apify.com/thenetaji) (community)
- **Categories:** Social media, Developer tools, Automation
- **Stats:** 16 total users, 9 monthly users, 100.0% runs succeeded, NaN 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.

Learn more: https://docs.apify.com/platform/actors/running/actors-in-store#pay-per-event

# README

## Threads Scraper(PPE) with Apify tiered pricing 🚀

Scrape **Threads.net** like a pro — no login, no cookies, just clean JSON.\
This actor helps you extract **Threads profiles, posts, media, followers**, and more.

### What It Does ✨

- Scrape public **Threads.net profiles**
- Extract posts (aka **threads**) with:
  - Text
  - Images & videos
  - Likes & replies
- Smart auto-detection for profile or post URLs
- No Threads API needed

### Why Use This? 🔥

- Threads has no public API
- You need data from **Threads.net** (Zuck’s new playground)
- Save time & scale effortlessly with **Apify cloud automation**
- Perfect for devs, analysts, creators & digital marketers

### Input

```json
{
  "urls": [
    { "url": "https://www.threads.net/@zuck" },
    { "url": "https://www.threads.net/@zuck/post/123456789" }
  ],
  "proxy": {
    "useApifyProxy": true,
    "apifyProxyGroups": ["RESIDENTIAL"],
    "apifyProxyCountry": "US"
  },
  "test": false
}
```

| Field                     | Type    | Description                       |
| ------------------------- | ------- | --------------------------------- |
| `urls`                    | array   | List of Threads URLs to scrape    |
| `proxy.useApifyProxy`     | boolean | Use Apify Proxy (recommended)     |
| `proxy.apifyProxyGroups`  | array   | Choose proxy group                |
| `proxy.apifyProxyCountry` | string  | Optional country selection        |
| `test`                    | boolean | Optional test mode for previewing |

### Output

Returns structured JSON like this:

```json
{
  "user": {
    "username": "zuck",
    "full_name": "Mark Zuckerberg",
    "bio": "Meta CEO. Building the future.",
    "followers": 1234567,
    "is_verified": true,
    "profile_pic": "https://...",
    "url": "https://www.threads.net/@zuck",
    "bio_links": ["https://meta.com"]
  },
  "threads": [
    {
      "text": "Excited to share Threads with the world!",
      "published_on": 1712345678,
      "url": "https://www.threads.net/@zuck/post/abc123",
      "like_count": 4500,
      "reply_count": 100,
      "images": ["https://..."],
      "videos": []
    }
  ]
}
```

### Use Cases

- Threads data scraping
- Social media intelligence
- Growth hacking & automation
- Personal research & AI training
- Trend tracking and marketing insights

### Key Features

- 100% public & cookie-less scraping
- Fast, scalable, and serverless on Apify
- Mobile-friendly Threads support
- SEO data + media scraping
- No Threads API needed

### Friendly Reminder

- Only works with **public Threads content**
- Add as many URLs as you like
- Uses Puppeteer under the hood (invisible browser magic)

***

**Try it now — Click “Run” & start scraping Threads today!**\
Keywords: Threads scraper, Threads.net API, Threads automation, Threads posts data extractor, Threads profile crawler, Threads JSON parser, Threads Zuck tool, Threads data mining

\#scraping #threads #meta #automation #apify #json #devtools #growthhacking #socialmedia #scraper

# Actor input Schema

## `urls` (type: `array`):

The URL of the post or user profile to scrape

## `proxy` (type: `object`):

Enable proxy for scraping, use residential for highest success rate

## Actor input object example

```json
{
  "urls": [
    {
      "url": "https://www.threads.net/@zuck"
    },
    {
      "url": "https://www.threads.net/@zuck/post/CuA1B2c3456"
    },
    {
      "url": "https://www.threads.net/@natgeo"
    }
  ],
  "proxy": {
    "useApifyProxy": false
  }
}
```

# 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 = {
    "urls": [
        {
            "url": "https://www.threads.net/@zuck"
        },
        {
            "url": "https://www.threads.net/@zuck/post/CuA1B2c3456"
        },
        {
            "url": "https://www.threads.net/@natgeo"
        }
    ]
};

// Run the Actor and wait for it to finish
const run = await client.actor("thenetaji/threads-scraper-ppe").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 = { "urls": [
        { "url": "https://www.threads.net/@zuck" },
        { "url": "https://www.threads.net/@zuck/post/CuA1B2c3456" },
        { "url": "https://www.threads.net/@natgeo" },
    ] }

# Run the Actor and wait for it to finish
run = client.actor("thenetaji/threads-scraper-ppe").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 '{
  "urls": [
    {
      "url": "https://www.threads.net/@zuck"
    },
    {
      "url": "https://www.threads.net/@zuck/post/CuA1B2c3456"
    },
    {
      "url": "https://www.threads.net/@natgeo"
    }
  ]
}' |
apify call thenetaji/threads-scraper-ppe --silent --output-dataset

```

## MCP server setup

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

```

## OpenAPI specification

```json
{
    "openapi": "3.0.1",
    "info": {
        "title": "Threads Scraper Profile and Post",
        "description": "Scrape threads to get post and profile details. Fast and efficient...",
        "version": "1.0",
        "x-build-id": "YJMAbOSNKnad0zwmq"
    },
    "servers": [
        {
            "url": "https://api.apify.com/v2"
        }
    ],
    "paths": {
        "/acts/thenetaji~threads-scraper-ppe/run-sync-get-dataset-items": {
            "post": {
                "operationId": "run-sync-get-dataset-items-thenetaji-threads-scraper-ppe",
                "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/thenetaji~threads-scraper-ppe/runs": {
            "post": {
                "operationId": "runs-sync-thenetaji-threads-scraper-ppe",
                "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/thenetaji~threads-scraper-ppe/run-sync": {
            "post": {
                "operationId": "run-sync-thenetaji-threads-scraper-ppe",
                "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": [
                    "urls"
                ],
                "properties": {
                    "urls": {
                        "title": "URLs",
                        "type": "array",
                        "description": "The URL of the post or user profile to scrape",
                        "default": [
                            {
                                "url": "https://www.threads.net/@zuck"
                            },
                            {
                                "url": "https://www.threads.net/@zuck/post/CuA1B2c3456"
                            },
                            {
                                "url": "https://www.threads.net/@natgeo"
                            }
                        ],
                        "items": {
                            "type": "object",
                            "required": [
                                "url"
                            ],
                            "properties": {
                                "url": {
                                    "type": "string",
                                    "title": "URL of a web page",
                                    "format": "uri"
                                }
                            }
                        }
                    },
                    "proxy": {
                        "title": "Use proxy",
                        "type": "object",
                        "description": "Enable proxy for scraping, use residential for highest success rate",
                        "default": {
                            "useApifyProxy": false
                        }
                    }
                }
            },
            "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
                                    }
                                }
                            }
                        }
                    }
                }
            }
        }
    }
}
```
