On this page5 sections
If your app lets users paste a Reddit link and you need the video file, you've probably hit one of three walls already:
- The post's
.jsonreturns 403. Appending.jsonto a post URL used to be the easy way to find the video. Reddit now answers many of those requests with a 403, often "Blocked" or "Account authentication is required", especially from cloud servers. - The video has no sound. Reddit hosts video and audio as separate streams on
v.redd.it. Download the video stream alone and you get a silent clip; you have to find the audio stream and merge the two yourself. - Every link looks different. Users paste post links,
/s/share links from the mobile app,redd.itshort links and rawv.redd.itlinks. Each needs its own resolution step before you even reach the media.
The free route, if you control the machine
If you're downloading a few videos from your own computer, you don't need an API:
- Use Reddit's official API with an OAuth app (script type) to read the post. Authenticated requests aren't blocked the way anonymous
.jsoncalls are, within Reddit's API terms and rate limits. - From the post data, take the
v.redd.itmedia URL and read its DASH playlist (DASHPlaylist.mpd) to find the separate video and audio streams. - Download both and merge them with ffmpeg:
ffmpeg -i video.mp4 -i audio.mp4 -c copy out.mp4.
That works. What it costs you is maintenance: an OAuth app and token refresh, playlist parsing, an ffmpeg step in your deploy, and a fix every time Reddit changes the embed or the playlist layout. From a datacenter IP (AWS, GCP, Fly, Vercel functions, an agent sandbox) the anonymous routes get blocked outright.
One call with Importly
Importly takes the Reddit link your user pasted and returns the video with its audio, as one file, from servers and agent sandboxes where Reddit normally blocks you.
curl https://api.importly.io/import \
-H "Authorization: Bearer $IMPORTLY_API_KEY" \
-H "Content-Type: application/json" \
-d '{
"url": "https://www.reddit.com/r/<subreddit>/comments/<id>/<title>/",
"webhookUrl": "https://your.app/webhooks/import"
}'When the job finishes, the webhook (or GET /import/status?id=<jobId>) gives you a link to the MP4, or puts it straight into your own S3, R2 or B2 bucket.
These link shapes all work:
| Link | Example |
|---|---|
| Post | https://www.reddit.com/r/<subreddit>/comments/<id>/<title>/ |
| Share link from the app | https://www.reddit.com/r/<subreddit>/s/<code> |
| Short link | https://redd.it/<id> |
| Video link | https://v.redd.it/<id> |
A few things worth knowing:
- Link posts that point at another site (a YouTube or X video, say) are fetched from that site, so you don't need a separate branch for them.
- Deleted posts and posts without a video fail fast with
VIDEO_UNAVAILABLE, so you can tell the user instead of retrying. Failed imports aren't charged. - Audio only: set
"includeVideo": falseto get just the soundtrack. - Transcript: add
"includeTranscript": trueto get a timestamped transcript of the clip in the same job.
What it costs
Downloads are $0.002 per MB, with a $0.01 minimum per import, so a 20 MB clip costs about $0.04. Set maxCostDollars on a request and Importly checks the price before downloading anything. New accounts get $3 of free credit, no card. See pricing for the full list.
Have your AI agent build it in
Connect https://mcp.importly.io/mcp to Claude Code, Cursor or another coding agent and ask it to add Reddit video downloads to your app. It gets working code for your stack, writes the integration and tests real calls with your API key, and your backend uses the same key. The steps are in Have your agent build Importly into your app.
FAQ
Why does my Reddit video download have no sound?
Reddit serves video and audio as separate streams. If you only fetch the video stream you get a silent file. You need to download the audio stream too and merge them, or use an API that returns the merged file.
Why does Reddit return 403 for my .json request?
Reddit blocks many anonymous .json requests, particularly from cloud and datacenter IPs. Use the official API with OAuth if you're calling from your own machine, or a hosted API if your code runs on servers.
Does Importly handle Reddit share links from the mobile app?
Yes. /s/ share links, redd.it short links, post links and v.redd.it links all work.
Can I get just the audio?
Yes. Set includeVideo to false and you get the audio track only.
Related: Video downloader API, Supported sites, Importly docs.