# Reddit Profile Post Media Downloader👤 (`scrapearchitect/reddit-profile-post-media-downloader`) Actor

👤 Download media from profile/user posts only (u/ URLs). ⚠️ Returns: download URLs, audio streams, all formats, gallery items, embed data + ad metadata (CTA, destination URL). One grouped row per URL with media\_items array⚡Reddit Profile Post Media Downloader👤

- **URL**: https://apify.com/scrapearchitect/reddit-profile-post-media-downloader.md
- **Developed by:** [Scrape Architect](https://apify.com/scrapearchitect) (community)
- **Categories:** Videos, Social media, Automation
- **Stats:** 4 total users, 0 monthly users, 100.0% runs succeeded, NaN bookmarks
- **User rating**: No ratings yet

## Pricing

$7.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

## 👤Reddit Profile Post Media Downloader

The **Reddit Profile Post Media Downloader** is a focused Apify actor for downloading media from Reddit profile/user posts. Paste profile post URLs (u/) and get direct download links for videos, images, galleries, and promoted/ad content. The **Reddit Profile Post Media Downloader** automatically filters out subreddit post URLs — only profile posts are processed.

---

### What Is the Reddit Profile Post Media Downloader?

The **Reddit Profile Post Media Downloader** is a media-focused extraction tool that accepts only profile/user post URLs (`u/`) and returns:

- **Direct download URLs** — MP4 video, full-resolution images, gallery items, audio streams
- **All quality formats** — every available resolution, codec, and bitrate for video posts
- **Audio stream URLs** — Reddit stores video and audio separately; the Reddit Profile Post Media Downloader extracts both
- **Gallery/carousel items** — each image, video, or GIF extracted individually
- **External embed data** — YouTube, Vimeo, and other oembed providers
- **Promoted post data** — call-to-action text, destination URL, ad classification
- **Essential post context** — post type, title, author, score, and ad-specific fields

The **Reddit Profile Post Media Downloader** uses 6 parallel extraction engines for maximum speed and reliability.

---

### What This Actor Does

- Downloads media metadata and URLs from Reddit profile/user post URLs only
- Accepts only `u/` post URLs — subreddit URLs (`r/`) are automatically skipped
- Extracts video, image, gallery, external embed, and promoted/ad post media
- Returns lightweight post summaries with ad-specific fields (call_to_action, href_url)
- No comments — media download data only

### What This Actor Does NOT Do

The **Reddit Profile Post Media Downloader** does **not**:

- Process subreddit post URLs (`r/`) — those are automatically skipped with a warning
- Scrape entire user profiles — only individual post URLs
- Include comments in output
- Download actual media files — it returns direct download URLs
- Return full 60+ field metadata (see the main Metadata Scraper actor for that)

---

### How URL Filtering Works

The **Reddit Profile Post Media Downloader** automatically checks every input URL:

| URL Pattern | Action |
|---|---|
| `reddit.com/user/username/comments/...` | **Processed** — profile post |
| `reddit.com/u/username/comments/...` | **Processed** — profile post |
| `reddit.com/r/subreddit/comments/...` | **Skipped** — subreddit post, logged as skipped |
| Other URLs | **Skipped** — not a profile post |

Skipped URLs are logged so you can see which were filtered out.

---

### Why Use This for Profile Posts?

Profile posts on Reddit often include **promoted/ad content** with special metadata. The **Reddit Profile Post Media Downloader** extracts ad-specific fields that subreddit-focused actors skip:

- `is_promoted` — whether the post is a promoted/sponsored post
- `is_ad` — whether the post was created from Reddit's ads UI
- `call_to_action` — CTA button text ("Visit Store", "Learn More", etc.)
- `href_url` — the promoted post's destination URL

This makes the **Reddit Profile Post Media Downloader** ideal for ad intelligence and promoted content analysis.

---

### Supported Post Types

The **Reddit Profile Post Media Downloader** handles all profile post types:

| Post Type | Media Output |
|---|---|
| **Video Posts** | Direct MP4 download URL, separate audio stream, DASH/HLS manifests, all quality formats |
| **Image Posts** | Full-resolution image URL, all resolution variants |
| **Gallery/Carousel** | Individual download link per gallery item |
| **Text Posts** | Post summary only (no downloadable media) |
| **External Links** | External embed URL, oembed metadata, thumbnail |
| **Promoted/Ad Posts** | Media URLs + call-to-action, destination URL, ad metadata |
| **Mixed Carousels** | Each item separately with correct media type |

---

### Input

Provide one or more profile/user post URLs:

````

https://www.reddit.com/user/username/comments/postid/
https://www.reddit.com/user/DimraethDev/comments/1p6ubo6/

````

#### Input Parameters

| Parameter | Type | Default | Description |
|---|---|---|---|
| `post_urls` | Array | *required* | Profile post URLs to download media from |
| `max_results` | Integer | `0` | Max media items to return. `0` = unlimited |

#### Example Input

```json
{
  "post_urls": [
    { "url": "https://www.reddit.com/user/DimraethDev/comments/1p6ubo6/" },
    { "url": "https://www.reddit.com/user/DavidFromNeo/comments/1rj3crp/" },
    { "url": "https://www.reddit.com/user/TayCoBrace/comments/1fafqdw/" },
    { "url": "https://www.reddit.com/user/Hume_Health/comments/1r8gwd3/" }
  ],
  "max_results": 0
}
````

***

### Output Structure

The **Reddit Profile Post Media Downloader** produces two record types, tagged with `_item_type`.

#### Media Record (`_item_type: "media"`)

One record per downloadable media element:

| Field | Type | Description |
|---|---|---|
| `media_type` | string | `video`, `image`, `gif`, `gallery`, `rich_video` |
| `download_url` | string | **Best quality direct download URL** |
| `audio_url` | string | Separate audio stream (Reddit videos) |
| `source_url` | string | Original source URL |
| `width` | integer | Width in pixels |
| `height` | integer | Height in pixels |
| `duration` | float | Duration in seconds (video) |
| `file_size` | integer | File size in bytes |
| `ext` | string | File extension |
| `thumbnail_url` | string | Thumbnail URL |
| `title` | string | Media/post title |
| `media_id` | string | Unique media ID |
| `uploader` | string | Post author |
| `reddit_post_url` | string | Source post URL |
| `post_score` | integer | Post score |
| `post_created_at` | string | Post creation time |
| `flair` | string | Post flair |
| `is_reddit_hosted` | boolean | True = Reddit-hosted, False = external |
| `embed_url` | string | External embed URL |
| `provider_name` | string | External provider name |
| `oembed_title` | string | Embedded content title |
| `all_formats` | array | All quality options with URLs, codecs, bitrates |

#### Post Summary Record (`_item_type: "post"`)

Lightweight context for each profile post — includes ad-specific fields:

| Field | Type | Description |
|---|---|---|
| `post_type` | string | `video`, `image`, `gallery`, `text`, `link`, `ad` |
| `post_id` | string | Reddit post ID |
| `title` | string | Post title |
| `author` | string | Post author |
| `permalink` | string | Full Reddit permalink |
| `url` | string | Target URL |
| `media_url` | string | Media destination URL |
| `domain` | string | Content domain |
| `score` | integer | Net upvotes |
| `num_comments` | integer | Comment count |
| `created_at` | string | ISO-8601 creation time |
| `is_video` | boolean | Video flag |
| `is_gallery` | boolean | Gallery flag |
| `over_18` | boolean | NSFW flag |
| `flair` | string | Post flair |
| `thumbnail` | string | Thumbnail URL |
| `is_promoted` | boolean | Promoted post flag |
| `is_ad` | boolean | Ad post flag |
| `call_to_action` | string | Ad CTA button text |
| `href_url` | string | Ad destination URL |
| `video_info` | object | Video details |
| `gallery_items` | array | Gallery items |
| `preview_images` | array | Preview images |
| `oembed` | object | External embed data |

***

### Promoted Post Example

```json
{
  "_item_type": "post",
  "post_type": "ad",
  "title": "Love theorycrafting ARPG builds? Become immortal in...",
  "author": "DimraethDev",
  "is_promoted": true,
  "is_ad": true,
  "call_to_action": "Learn More",
  "href_url": "https://store.steampowered.com/app/...",
  "thumbnail": "https://b.thumbs.redditmedia.com/..."
}
```

***

### Privacy & Compliance

The **Reddit Profile Post Media Downloader** only accesses publicly available data through Reddit's public API endpoints. No login credentials are used. Ensure your use complies with Reddit's Terms of Service.

# Actor input Schema

## `post_urls` (type: `array`):

One or more Reddit profile/user post URLs to download media from.

Accepted format:
https://www.reddit.com/user/username/comments/postid/

⚠️ Subreddit URLs (r/) are automatically skipped.
Only profile posts (u/ or user/) are processed.

## `max_results` (type: `integer`):

Maximum number of media items to return.

0 = no limit (default).

## Actor input object example

```json
{
  "post_urls": [
    {
      "url": "https://www.reddit.com/user/DimraethDev/comments/1p6ubo6/"
    }
  ],
  "max_results": 0
}
```

# 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 = {
    "post_urls": [
        {
            "url": "https://www.reddit.com/user/DimraethDev/comments/1p6ubo6/"
        }
    ]
};

// Run the Actor and wait for it to finish
const run = await client.actor("scrapearchitect/reddit-profile-post-media-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 = { "post_urls": [{ "url": "https://www.reddit.com/user/DimraethDev/comments/1p6ubo6/" }] }

# Run the Actor and wait for it to finish
run = client.actor("scrapearchitect/reddit-profile-post-media-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 '{
  "post_urls": [
    {
      "url": "https://www.reddit.com/user/DimraethDev/comments/1p6ubo6/"
    }
  ]
}' |
apify call scrapearchitect/reddit-profile-post-media-downloader --silent --output-dataset

```

## MCP server setup

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

```

## OpenAPI specification

```json
{
    "openapi": "3.0.1",
    "info": {
        "title": "Reddit Profile Post Media Downloader👤",
        "description": "👤 Download media from profile/user posts only (u/ URLs). ⚠️ Returns: download URLs, audio streams, all formats, gallery items, embed data + ad metadata (CTA, destination URL). One grouped row per URL with media_items array⚡Reddit Profile Post Media Downloader👤",
        "version": "0.0",
        "x-build-id": "PldGf5jHqKBfRbhB9"
    },
    "servers": [
        {
            "url": "https://api.apify.com/v2"
        }
    ],
    "paths": {
        "/acts/scrapearchitect~reddit-profile-post-media-downloader/run-sync-get-dataset-items": {
            "post": {
                "operationId": "run-sync-get-dataset-items-scrapearchitect-reddit-profile-post-media-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/scrapearchitect~reddit-profile-post-media-downloader/runs": {
            "post": {
                "operationId": "runs-sync-scrapearchitect-reddit-profile-post-media-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/scrapearchitect~reddit-profile-post-media-downloader/run-sync": {
            "post": {
                "operationId": "run-sync-scrapearchitect-reddit-profile-post-media-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",
                "required": [
                    "post_urls"
                ],
                "properties": {
                    "post_urls": {
                        "title": "🔗 Profile Post URLs",
                        "type": "array",
                        "description": "One or more Reddit profile/user post URLs to download media from.\n\nAccepted format:\n  https://www.reddit.com/user/username/comments/postid/\n\n⚠️ Subreddit URLs (r/) are automatically skipped.\nOnly profile posts (u/ or user/) are processed.",
                        "items": {
                            "type": "object",
                            "properties": {
                                "url": {
                                    "title": "URL",
                                    "type": "string",
                                    "description": "Reddit profile post URL (u/ only)"
                                }
                            },
                            "required": [
                                "url"
                            ]
                        }
                    },
                    "max_results": {
                        "title": "🔢 Max Results",
                        "minimum": 0,
                        "type": "integer",
                        "description": "Maximum number of media items to return.\n\n0 = no limit (default).",
                        "default": 0
                    }
                }
            },
            "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
                                    }
                                }
                            }
                        }
                    }
                }
            }
        }
    }
}
```
