Reddit Media Downloader avatar

Reddit Media Downloader

Pricing

from $5.00 / 1,000 media extracteds

Go to Apify Store
Reddit Media Downloader

Reddit Media Downloader

Download Reddit-hosted images, galleries, GIFs and video or audio streams from public post URLs. Saves media files to the key-value store and returns clean metadata rows.

Pricing

from $5.00 / 1,000 media extracteds

Rating

0.0

(0)

Developer

Khadin Akbar

Khadin Akbar

Maintained by Community

Actor stats

0

Bookmarked

4

Total users

1

Monthly active users

7 days ago

Last modified

Features

Limited permissions

Share

What is Reddit Media Downloader?

Reddit Media Downloader takes public Reddit post links and returns one clean row for every image, gallery picture, GIF and video, with the post details next to it. Videos come as one MP4 that already has sound. Files can be saved straight into the run's storage, so you get a ready download link for each one.

You getExample
Media link and typemediaUrl, mediaType (image, gif, video)
Saved filefileApiUrl, fileSizeBytes, downloadStatus
Size and lengthwidth, height, durationSeconds
Post detailstitle, subreddit, author, score, upvoteRatio, numComments, createdAt
Order inside a postassetIndex, assetCount (galleries give several rows)
One-line summary for AI agentsagentSummary

It is built for people who already have Reddit post links and want the actual files plus a tidy list: archives, research, moderation checks and automation or AI-agent workflows.

Quick start

  1. Paste full post links into urls, for example https://www.reddit.com/r/pics/comments/abc123/title/.
  2. Keep downloadMedia on to save the files, or switch it off to get links only (much faster).
  3. Set maxMediaItems to the most rows you want to pay for. The run stops there.
{
"urls": ["https://www.reddit.com/r/ChatGPT/comments/1iic23b/who_said_ai_videos_cant_do_physics/"],
"maxMediaItems": 25,
"downloadMedia": true,
"maxFileSizeMb": 100
}

Input

FieldTypeWhat it does
urlsarrayPublic Reddit post links. Required. Short redd.it links work. Share links of the form /r/name/s/code do not; open them in a browser and copy the full post link.
maxMediaItemsintegerMost media rows charged in one run. Default 100. Free plan runs are limited to 10.
downloadMediabooleanSave the files to the run's key-value store. Default on.
maxFileSizeMbintegerSkip files bigger than this. Default 100 MB. A smaller video quality is tried before giving up.
includeVideoVariantsbooleanAlso return the streaming playlist links and the small preview clip.
includeNsfwbooleanInclude posts Reddit marks adult. Off by default.
proxyConfigurationobjectUsed only as a backup when Reddit refuses a direct file download.

Output

One dataset row per media asset. Main fields:

FieldMeaning
mediaType, mediaUrl, mediaHostWhat it is and where it lives.
audioMergedtrue when the video file already contains sound.
downloadStatussaved, skipped_disabled, skipped_too_large, skipped_stream_only, not_found, source_error or save_error.
fileKey, fileApiUrl, fileContentType, fileSizeBytesThe saved file.
sourceUrl, canonicalPostUrl, postId, subreddit, title, author, score, numComments, createdAtThe post.
sourceWhich data route produced the row.
agentSummaryOne plain sentence for AI agents.

Videos that cannot be saved as a file

A few Reddit videos exist only as a streaming playlist. For those, the row returns the link with downloadStatus set to skipped_stream_only and no saved file. The row is still charged as a link row, and the run status message tells you how many there were.

Honest run results

  • No media found (removed posts, text posts, links to other sites): the run ends as a valid empty result and no media rows are charged.
  • Every data route failed: the run is marked failed.
  • Some posts could not be fetched: the run ends partial and names the reason for each post in the run summary.
  • Rarely, the main data route is unavailable for a post and a smaller backup route is used. It returns images and GIFs only; a video post is skipped with the reason video_needs_main_data_route_try_again_later and is not charged.
  • Files are saved before a row is charged. Rows whose file could not be saved because of an error are not charged.

Pricing

This Actor uses pay per event pricing plus normal Apify platform usage.

  • Actor start: $0.00005 per unit (one unit per GB of memory, minimum one). It applies even when a run finds nothing.
  • Media extracted: charged once per media row returned.

A new flat price of $0.006 per media row for every plan replaces the current per-row price. It starts on the effective date shown in the Pricing tab and in Apify's price-change notice; until then the rate shown in the Pricing tab applies. The Pricing tab is always the live source.

Platform usage (small compute time and data transfer) is charged separately to your account. Set maxMediaItems and your run's maximum cost to keep spending bounded.

Speed

Posts are looked up in small batches and several at a time, and Reddit's media servers are downloaded directly. The Actor picks its memory from maxMediaItems: 512 MB up to 150 rows, 1 GB up to 600, 2 GB above that.

Use with AI agents (MCP)

Available as khadinakbar/reddit-media-downloader through Apify MCP. Example request to an agent:

Get the media from these public Reddit post links and summarize each file.

Each row has agentSummary, sourceUrl and scrapedAt so an agent can quote and trace results.

API example

import os
from apify_client import ApifyClient
client = ApifyClient(os.environ["APIFY_TOKEN"])
run = client.actor("khadinakbar/reddit-media-downloader").call(run_input={
"urls": ["https://www.reddit.com/r/ChatGPT/comments/1iic23b/who_said_ai_videos_cant_do_physics/"],
"maxMediaItems": 10,
"downloadMedia": True,
})
for item in client.dataset(run["defaultDatasetId"]).list_items(clean=True).items:
print(item["mediaType"], item["mediaUrl"], item.get("fileApiUrl"))

FAQ

Do posts with several pictures work?

Yes. A gallery gives one row per picture, with the same sourceUrl and a different assetIndex.

Do videos have sound?

Yes. The saved MP4 already has sound (audioMerged: true).

Can it find posts for me?

No. It starts from post links you give it. For comments and subreddit analysis, use Reddit Posts, Comments & Subreddit Analytics Scraper alongside it.

Why was a post skipped?

The run summary lists a reason for every skipped link, such as post_not_found_or_removed, nsfw_skipped, no_reddit_hosted_media_found or invalid_reddit_post_url.

Responsible use

Use this Actor with public Reddit post links and handle the media in line with Reddit user expectations, subreddit rules, copyright, privacy rights, platform terms and applicable laws. The Actor provides technical extraction and file storage for public media; how you store, share or reuse it is part of your own compliance process.