# Threads Post Downloader (`codenest/threads-post-downloader`) Actor

Effortlessly download any Threads post with our powerful Threads Post Downloader! Get high-quality images, videos, and complete metadata including likes, descriptions, and author details in one clean JSON output. Perfect for content archiving and social media analysis!

- **URL**: https://apify.com/codenest/threads-post-downloader.md
- **Developed by:** [CodeNest](https://apify.com/codenest) (community)
- **Categories:** Social media, Developer tools, Automation
- **Stats:** 3 total users, 0 monthly users, 100.0% runs succeeded, 0 bookmarks
- **User rating**: No ratings yet

## Pricing

$8.00/month + usage

To use this Actor, you pay a monthly rental fee to the developer. The rent is subtracted from your prepaid usage every month after the free trial period.You also pay for the Apify platform usage, which gets cheaper the higher Apify subscription plan you have.

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

## What's an Apify Actor?

Actors are a software tools running on the Apify platform, for all kinds of web data extraction and automation use cases.
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.md):

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

In Python projects, use official [Python client library](https://docs.apify.com/api/client/python.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/platform/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 Post Downloader - Ultimate Threads Content Download Tool 🚀

**Effortlessly download any Threads post with our powerful Threads Post Downloader! This enterprise-grade Apify actor enables you to batch download Threads content while preserving high-quality images, videos, and comprehensive metadata from every Threads post.**

---

### 📋 Overview
Need to archive Threads content or repurpose social media posts? The **Threads Post Downloader** delivers everything you need:

- 📸 **Multi-format Support**: Download images and videos from any Threads post
- 🔄 **Batch Processing**: Process multiple Threads posts in a single run
- 📊 **Rich Metadata**: Extract likes, reposts, descriptions, and author details
- 🖼️ **High-Quality Assets**: Access original resolution images and videos
- 📱 **User-Friendly**: Simple input format for effortless downloading

Perfect for social media managers 📈, content creators 🎬, marketers 📊, and data analysts 🔍 who need reliable **Threads post downloading** capabilities!

---

### ✨ Core Capabilities/Key Features of Threads Post Downloader

#### 📥 Media Extraction
- **Image Downloads**: High-resolution JPG images from any Threads post
- **Video Downloads**: MP4 video files with audio from video Threads posts
- **Thumbnail Generation**: Preview images for quick content identification
- **Bulk Mode**: Process 100+ Threads URLs per run with our **Threads post downloader**

#### 📊 Comprehensive Metadata
- **Author Profiles**: Complete username and display names
- **Engagement Metrics**: Like counts and repost statistics
- **Post Details**: Shortcode, post type (image/video), and timestamps
- **OG Metadata**: Open Graph and Twitter card data for social sharing

#### 🛠️ Advanced Technical Features
- **Direct CDN Access**: Bypass restrictions with direct content delivery network URLs
- **Post Type Detection**: Automatically identifies images vs. videos
- **URL Normalization**: Handles various Threads URL formats automatically
- **Proxy-Ready Architecture**: Bypass geo/IP restrictions for global access

---

### ⚙️ Input Configuration
Simply enter your Threads post URLs in the Input Section, click "Start," and let the **Threads Post Downloader** handle the rest. The URL format should look like this:

```json
{
  "urls": [
    {
      "url": "https://www.threads.com/@adamschefter/post/DVrJLkdiU4H?xmt=AQF07xjIKiuQSgABjgd6cvoXiB8GtBGhaxNFELte9MtVig"
    },
    {
      "url": "https://www.threads.com/@brfootball/post/DVrGA5jlorM?xmt=AQF07xjIKiuQSgABjgd6cvoXiB8GtBGhaxNFELte9MtVig"
    },
    {
      "url": "https://www.threads.com/@food.convo/post/DVqyKSAEX9D/media?hl=en"
    }
  ]
}
````

#### 📝 Input Specifications

| Parameter | Type | Required | Description |
|-----------|------|----------|-------------|
| `urls` | Array | Yes | Array of Threads post objects to process |
| `url` | String | Yes | Valid Threads post URL (any format supported) |

***

### 📤 Output Structure

The **Threads Post Downloader** provides comprehensive output for each processed Threads post:

```json
[
  {
    "input_url": "https://www.threads.com/@adamschefter/post/DVrJLkdiU4H",
    "username": "adamschefter",
    "shortcode": "DVrJLkdiU4H",
    "post_type": "image",
    "title": "Adam Schefter (@adamschefter) on Threads",
    "description": "Former Browns LB Devin Bush reached agreement today on a 3-year, $30 million deal that includes $21 million guaranteed with the Chicago Bears, per agent Drew Rosenhaus.",
    "like_count": 89,
    "repost_count": 5,
    "thumbnail_url": "https://scontent-iad3-1.cdninstagram.com/.../thumbnail.jpg",
    "og_type": "article",
    "og_url": "https://www.threads.com/@adamschefter/post/DVrJLkdiU4H",
    "twitter_card": "summary_large_image",
    "image_download_url": "https://scontent-iad3-1.cdninstagram.com/.../image.jpg"
  }
]
```

#### 📊 Output Field Documentation

**👤 Author & Post Information**
| Field | Description |
|-------|-------------|
| `input_url` | Original Threads post URL provided |
| `username` | Threads author's username |
| `shortcode` | Unique post identifier |
| `post_type` | Content type - "image" or "video" |
| `title` | Complete post title with author attribution |

**📈 Engagement Metrics**
| Field | Description |
|-------|-------------|
| `description` | Post caption/content text |
| `like_count` | Number of likes on the Threads post |
| `repost_count` | Number of reposts/shares |

**🖼️ Media Assets**
| Field | Description |
|-------|-------------|
| `thumbnail_url` | Preview thumbnail image URL |
| `image_download_url` | Direct download URL for images (if post\_type = "image") |
| `video_download_url` | Direct download URL for videos (if post\_type = "video") |

**🔗 Metadata Fields**
| Field | Description |
|-------|-------------|
| `og_type` | Open Graph type metadata |
| `og_url` | Open Graph canonical URL |
| `twitter_card` | Twitter card type for sharing |

***

### 🎯 Why Choose Our Threads Post Downloader?

- **🎯 Purpose-Built**: Specifically designed for **Threads post downloading** with optimal performance
- **⚡ Lightning Fast**: Optimized parallel processing for bulk Threads post extraction
- **🔄 Always Updated**: Regular maintenance to ensure compatibility with Threads platform changes
- **📦 Complete Data**: Get every piece of metadata from any Threads post in one API call
- **🔧 Developer-Friendly**: Clean JSON output structure for easy integration

***

### 💼 Use Cases for Threads Post Downloader

- **📱 Social Media Managers**: Archive client Threads content for reporting and portfolio building
- **🎥 Content Creators**: Repurpose popular Threads posts for cross-platform sharing
- **📊 Market Researchers**: Analyze engagement patterns across different Threads posts
- **🛠️ App Developers**: Build Threads-powered applications with our **Threads post downloader** API
- **🏢 Brand Managers**: Monitor competitor Threads posts and track brand mentions
- **📚 Digital Archivists**: Preserve important Threads posts for historical reference

***

### 🔧 Technical Excellence

#### 🎬 Media Processing

- Automatic detection of image vs. video Threads posts
- Direct CDN URLs for reliable, high-speed downloads
- Fallback mechanisms for maximum success rates

#### 📊 Data Extraction

- Precise engagement metrics (likes, reposts)
- Complete post descriptions and metadata
- Author attribution and profile information

#### 🔒 Reliability Features

- URL validation and normalization
- Comprehensive error handling
- Rate limit awareness
- Proxy support for uninterrupted **Threads post downloading**

***

### ⚠️ Limitations

- Works only with public Threads posts
- Cannot download content from private/protected accounts
- Subject to Threads platform rate limits and restrictions
- Video downloads available only for posts containing video content

***

***

### 📧 Need Customization?

Want \*higher resolution downloads, \*\*custom metadata fields, or \**enterprise-level batch processing* for your **Threads post downloader**?

✉️ Email **<codenest2.0@gmail.com>** for tailored solutions!

***

# Actor input Schema

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

List of public Threads post URLs.

## Actor input object example

```json
{
  "urls": [
    {
      "url": "https://www.threads.net/@zuck/post/CuMBC19rgVl"
    }
  ]
}
```

# 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/post/CuMBC19rgVl"
        }
    ]
};

// Run the Actor and wait for it to finish
const run = await client.actor("codenest/threads-post-downloader").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/post/CuMBC19rgVl" }] }

# Run the Actor and wait for it to finish
run = client.actor("codenest/threads-post-downloader").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/post/CuMBC19rgVl"
    }
  ]
}' |
apify call codenest/threads-post-downloader --silent --output-dataset

```

## MCP server setup

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

```

## OpenAPI specification

```json
{
    "openapi": "3.0.1",
    "info": {
        "title": "Threads Post Downloader",
        "description": "Effortlessly download any Threads post with our powerful Threads Post Downloader! Get high-quality images, videos, and complete metadata including likes, descriptions, and author details in one clean JSON output. Perfect for content archiving and social media analysis!",
        "version": "0.0",
        "x-build-id": "rW8gOpBbzqoTabdZ0"
    },
    "servers": [
        {
            "url": "https://api.apify.com/v2"
        }
    ],
    "paths": {
        "/acts/codenest~threads-post-downloader/run-sync-get-dataset-items": {
            "post": {
                "operationId": "run-sync-get-dataset-items-codenest-threads-post-downloader",
                "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/codenest~threads-post-downloader/runs": {
            "post": {
                "operationId": "runs-sync-codenest-threads-post-downloader",
                "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/codenest~threads-post-downloader/run-sync": {
            "post": {
                "operationId": "run-sync-codenest-threads-post-downloader",
                "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",
                "properties": {
                    "urls": {
                        "title": "Threads Post URLs",
                        "type": "array",
                        "description": "List of public Threads post URLs.",
                        "items": {
                            "type": "object",
                            "properties": {
                                "url": {
                                    "title": "Post URL",
                                    "description": "Example: https://www.threads.net/@username/post/shortcode",
                                    "type": "string",
                                    "pattern": "^https?://(?:www\\.)?threads\\.(?:net|com)/@[\\w.]+/post/[\\w-]+"
                                }
                            },
                            "required": [
                                "url"
                            ]
                        }
                    }
                }
            },
            "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
                                    }
                                }
                            }
                        }
                    }
                }
            }
        }
    }
}
```
