# Instagram Video Downloader & Reel Downloader · No Login (`instagram-data-api/instagram-video-downloader`) Actor

Instagram video downloader, no login — reels, videos, photos and carousels by link. Each MP4, photo and carousel slide is saved to your run's storage with a link that doesn't expire, next to Instagram's own links, cover, sound and caption. Files that fail are free. CSV, Excel, JSON. From $1.45/1K.

- **URL**: https://apify.com/instagram-data-api/instagram-video-downloader.md
- **Developed by:** [Instagram Data API](https://apify.com/instagram-data-api) (community)
- **Categories:** Social media, Videos, Automation
- **Features:** Limited permissions
- **Stats:** 8 total users, 3 monthly users, 100.0% runs succeeded, 0 bookmarks
- **User rating**: No ratings yet

## Pricing

from $1.45 / 1,000 post or reel links

This Actor is paid per event. You are not charged for the Apify platform usage, but only a fixed price for specific events.
Since this Actor supports Apify Store discounts, the price gets lower the higher subscription plan you have.

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

## What's an Apify Actor?

An Actor is a serverless cloud program that runs on the Apify platform. It has two run modes.
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.

Apify vocabulary and the platform model are defined once, in the agent quickstart at https://apify.com/agents.md.

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

Do not guess an integration path. Every one of them is in the agent quickstart at https://apify.com/agents.md: the Apify MCP server, Agent Skills with the Apify CLI, the JavaScript and Python clients, the REST API, and the account-free path for an agent with no human to sign in. It also carries the rule on stating cost before the first paid run.

For examples already wired to this Actor's own input schema, see the [API](#api) section below.

Each client library has reference documentation the quickstart does not restate: [JavaScript/TypeScript](https://docs.apify.com/api/client/js/docs.md) (`npm install apify-client`) and [Python](https://docs.apify.com/api/client/python/docs.md) (`pip install apify-client`).

# README

### Instagram video downloader — reels, videos and carousels saved with links that don't expire

**Paste post or reel links — get each video as an MP4 saved to your run's storage, every photo and carousel slide too, next to Instagram's own links, caption, author, likes and comments. No login, no cookies. On Starter $1.95 per 1,000 posts + $3.00 per 1,000 videos saved.**

**Real row, 17 Nov 2026:** natgeo's wolves reel — a 30-second 1080 × 1920 MP4 of 6.5 MB; Instagram's own link to it expires on 19 Nov.

- 💾 **Files, not just links** — `mediaStoredUrl` for the video or photo, `storedUrl` on every carousel slide; kept as long as your Apify plan keeps the run's storage.
- 🧾 **Pay per file saved** — $0.95 per 1,000 images; a file that fails or is over your size limit is free.
- 🔗 **Links only** — switch saving off: $1.95 per 1,000.
- 🎵 **Sound too** — *Save the sound too* adds the reel's audio file, free.
- 🔎 **Plainly:** post and reel links only — no profiles or stories; private posts can't be read; views and saves are `null`.
- 🔓 **Never charged:** missing, private and deleted posts, duplicates, files that failed.

**Try it:** press **Start** — the prefilled natgeo reel returns its row with the video saved.

> 🆕 **New** — tried it? Tell us in a review.

### Why scrape Instagram videos and reels?

- **Content archives:** keep the MP4 of every reel in a campaign report — Instagram's own links stop working within days, the saved file does not.
- **Repurposing:** take your own reels and carousels out as files for TikTok, YouTube Shorts or an editor.
- **AI and video pipelines:** hand a stable file link to a transcription, captioning or analysis step in n8n, Make or your own code.
- **Ad and competitor libraries:** save the videos and every carousel slide of the posts you track, with caption, author, likes and comments beside each file.
- **Bulk by link:** paste hundreds of post and reel links, or chain the dataset of a reels or search scraper.

### What data can I scrape from Instagram videos and reels?

| Data | What it is |
|---|---|
| Link | Link to the post or reel on instagram.com |
| Type | Kind of post: reel, photo, carousel or video |
| Author | Username of the author |
| Posted | When it was posted (UTC, ISO 8601) |
| Length, s | Video length in seconds |
| Saved file | With “Save the files” (on by default): the link to the saved file in this run's key-value store — the video of a reel or video post, the photo of a photo post, the first saved slide of a carousel. It works for as long as your Apify plan keeps the run's storage; null when nothing was saved |
| Instagram's video link | Instagram's own direct link to the video file (MP4, as Instagram serves it — no watermark); null on photo posts and carousels (their videos are in slides). It expires — see mediaUrlsExpireAt; the saved copy is mediaStoredUrl |
| Instagram's cover link | Instagram's own direct link to the cover image of a reel or video, or to the photo of a photo post; it expires — see mediaUrlsExpireAt |
| Slide count | How many slides the carousel has; null on single posts |
| Caption | Post text as the author wrote it |
| Not saved because | With “Save the files”: why a file of this post was not saved — Instagram refused it, it is over “Max file size”, the run's time or your max cost ran out. Not charged; the row and Instagram's own links are still here. null when everything was saved |

Up to 67 fields per row in total — the **Output** tab lists every one of them.

### How to scrape Instagram videos and reels

1. Paste post or reel links — `https://www.instagram.com/reel/…/` or `/p/…/` — one per line.
2. Press **Start** — rows stream into the Output tab while the run goes.
3. Download them as JSON, CSV, Excel or HTML, or get them through the API.

Works with any public post, reel or carousel on [Instagram](https://www.instagram.com/) — no login, no cookies, no proxies to set up,
no Instagram account of yours.

**No input at hand?** Press **Start** with an empty input — you get one sample reel with its video saved, at the usual price.

### Input example

```json
{
  "urls": [
    "https://www.instagram.com/reel/DehZj9wggt0/"
  ],
  "saveFiles": true,
  "downloadCover": false,
  "downloadAudio": false,
  "maxFileSizeMb": 100
}
```

### Output example: Instagram videos and reels data

```json
{
  "type": "reel",
  "productType": "clips",
  "shortCode": "DehZj9wggt0",
  "url": "https://www.instagram.com/reel/DehZj9wggt0/",
  "id": "4008597565992995700",
  "ownerUsername": "natgeo",
  "ownerFullName": "National Geographic",
  "ownerId": "787132",
  "ownerVerified": true,
  "ownerPrivate": false,
  "ownerProfilePicUrl": "https://scontent-bos5-1.cdninstagram.com/v/t51.82787-19/6835…",
  "ownerFollowers": null,
  "ownerFollowing": null,
  "ownerPosts": null,
  "caption": "Keeping up with a pack of hunting wolves is just another day at the office for @bertiegregory and his team.\n\n#WolvesUpClose with Bertie Gregory premieres Friday, Novemb…",
  "captionEdited": false,
  "hashtags": [
    "WolvesUpClose"
  ],
  "mentions": [
    "DisneyPlus",
    "bertiegregory",
    "hulu"
  ],
  "takenAt": "2026-10-15T19:00:02Z",
  "views": null,
  "viewsInstagram": null,
  "viewsFacebook": null,
  "sharedToFacebook": null,
  "likes": 60084,
  "likesHidden": false,
  "likesFacebook": null,
  "comments": 520,
  "commentsFacebook": null,
  "saves": null,
  "shares": null,
  "reposts": null,
  "engagementRate": null,
  "topLikers": null,
  "durationSec": 30.037,
  "audio": {
    "type": "original",
    "id": "28762088093432459",
    "title": "Original audio",
    "artist": "natgeo",
    "artistUsername": "natgeo",
    "durationSec": null,
    "coverUrl": null,
    "isExplicit": false,
    "isTrending": false,
    "muted": false,
    "muteReason": null
  },
  "audioUrl": "https://scontent-bos5-1.cdninstagram.com/o1/v/t2/f2/m78/AQMi…",
  "templateAuthor": null,
  "isPinned": null,
  "isPaidPartnership": false,
  "isAffiliate": null,
  "sponsors": [],
  "sponsorProfiles": [],
  "width": 1080,
  "height": 1920,
  "hasAudio": true,
  "commentsDisabled": false,
  "coauthors": [
    "bertiegregory",
    "natgeoanimals"
  ],
  "coauthorProfiles": [
    {
      "id": "1284886006",
      "username": "bertiegregory",
      "fullName": "Bertie Gregory",
      "isVerified": true,
      "isPrivate": null,
      "profilePicUrl": "https://scontent-bos5-1.cdninstagram.com/v/t51.2885-19/29197…"
    }
  ],
  "taggedUsers": [
    "bertiegregory",
    "natgeoanimals"
  ],
  "taggedProfiles": [
    {
      "id": "1029649300",
      "username": "natgeoanimals",
      "fullName": "National Geographic Animals",
      "isVerified": true,
      "isPrivate": null,
      "profilePicUrl": "https://scontent-bos5-1.cdninstagram.com/v/t51.82787-19/6819…",
      "x": 0,
      "y": 0
    }
  ],
  "location": null,
  "aiLabel": null,
  "language": null,
  "subtitlesUrl": null,
  "videoUrl": "https://scontent-bos5-1.cdninstagram.com/o1/v/t2/f2/m86/AQPm…",
  "coverUrl": "https://scontent-bos5-1.cdninstagram.com/v/t51.82787-15/8490…",
  "slidesCount": null,
  "slides": null,
  "mediaUrlsExpireAt": "2026-11-19T00:18:42Z",
  "scrapedAt": "2026-11-17T13:02:15Z",
  "notCollected": [
    "ownerFollowers",
    "ownerFollowing",
    "ownerPosts",
    "views",
    "viewsInstagram",
    "viewsFacebook",
    "sharedToFacebook",
    "likesFacebook",
    "commentsFacebook",
    "saves",
    "shares",
    "reposts",
    "engagementRate",
    "topLikers",
    "templateAuthor",
    "isPinned",
    "isAffiliate",
    "language",
    "subtitlesUrl",
    "audio.durationSec"
  ],
  "note": "Read from Instagram's public view (no login); Instagram doesn't show the fields in notCollected there",
  "input": "https://www.instagram.com/reel/DehZj9wggt0/",
  "mediaStoredUrl": "https://api.apify.com/v2/key-value-stores/<this run's store>/records/reel-natgeo-4008597565992995700.mp4",
  "mediaStoreError": null
}
```

Each row has up to 67 fields — the **Output** tab describes every one of them. Fields Instagram
doesn't show come as `null`, never as a fake `0`.

**Coming from another Instagram downloader?** Its input works as it is: seemuapps' `postUrls` and `saveFiles`; memo23's
`posts`, `storeFiles`, `downloadCover` and `maxFileSizeMb`; epctex's `startUrls`; easyapi's `links`; lance_api's `urls`.
Here saving is on unless you switch it off, and the cover is saved only with *Save the cover image too*. Tick *Also add
Apify-style field names* and every row also gets `displayUrl`, `likesCount`, `commentsCount`, `timestamp` and
`videoDuration` with the same values. Long list of links? Upload it as a CSV or TXT file in *Or upload a list of links*.

### Limits

- Post and reel links only (`/p/`, `/reel/`, `/tv/` or the shortcode). A profile, story, highlight or share link (`/share/…`) gets a free row that says so.
- Private and deleted posts can't be read — a free row. A post Instagram hides from logged-out visitors (age-restricted) is a free row on the free plan.
- Views, saves, shares and reposts are shown to logged-in users only — `null` here, named in `notCollected`. For the numbers use our Reel Views Checker.
- Saved files stay in your run's key-value store for as long as your Apify plan keeps the run's storage, and use your Apify storage.
- One file up to 300 MB — 100 MB unless you raise *Max file size*; a bigger one is not saved and not charged.
- The sound of a reel or video is saved with *Save the sound too* (free, `audioStoredUrl`), its cover with *Save the cover image too*; without the boxes both come as Instagram's own links.
- **Free Apify plan:** the whole result, no cap of ours — each link read on Apify with no login and its files saved, paid from your monthly Apify credit at the Free price. A post Instagram hides from logged-out visitors (age-restricted) gets a free row there.

### How much does it cost to scrape Instagram videos and reels?

Pay per event: you pay for the rows you get, plus $0.0005 per run. No subscription to this Actor.

| Apify plan | Per 1,000 post links read (saved files apart) | What $5 of free credit gets you |
|---|---|---|
| Free | $2.05 | ≈ 2,400 post links read (saved files apart) |
| Starter | $1.95 | — |
| Business and higher | $1.45 | — |

Every event of this Actor on the Starter plan:

| Event | What it is | Price |
|---|---|---|
| Post or reel link | Each post or reel read by its link, with no login: Instagram's direct links to the video, the cover, the sound and every carousel slide, plus caption, author, likes and comments. Charged once per post, with files saved or not; missing, private and deleted posts, broken links and duplicates are free | $1.95 per 1,000 |
| Saved video | Each video file saved to this run's storage with a link that does not expire — a reel, a video post, each video slide of a carousel (only with “Save the files”, on by default). A file that could not be saved, or is over your size limit, is free | $3.00 per 1,000 |
| Saved image | Each image saved to this run's storage with a link that does not expire — a photo post, each photo slide of a carousel, and a video's cover with “Save the cover image too” (only with “Save the files”). A file that could not be saved is free | $0.95 per 1,000 |

**Typical jobs on Starter:**

- 100 reels with their videos saved ≈ $0.50
- 100 reels as links only ≈ $0.20
- 100 carousels of 6 photos, every slide saved ≈ $0.77
- 1,000 reels with videos and covers saved ≈ $5.90

**Always free:** missing, private and deleted posts, broken links, duplicates and files that could not be saved. Set **Maximum cost per run** in the run options to cap any run.

### Chain it with other Actors

Use the rows of an earlier run as the input: pick its dataset in *Or: dataset from another run* — we take the post links
from `url` / `postUrl`. For example, get a profile's reels with
[Instagram Reels Scraper · No Login](https://apify.com/nologin/instagram-reels-scraper), then give its dataset to this
Actor — you get the video file of each reel. Works with the datasets of Apify's own Instagram Actors too.

### Instagram videos and reels API: Python, n8n, Make, Zapier and AI agents

Python:

```python
from apify_client import ApifyClient

client = ApifyClient("YOUR_APIFY_TOKEN")
run = client.actor("instagram-data-api/instagram-video-downloader").call(run_input={'urls': ['https://www.instagram.com/reel/DehZj9wggt0/'], 'saveFiles': True, 'downloadCover': False, 'downloadAudio': False, 'maxFileSizeMb': 100})
for row in client.dataset(run["defaultDatasetId"]).iterate_items():
    print(row)
```

**n8n, Make, Zapier or any HTTP client:** one request runs the Actor and returns the rows —
`POST https://api.apify.com/v2/acts/instagram-data-api~instagram-video-downloader/run-sync-get-dataset-items?token=YOUR_APIFY_TOKEN`
with the input JSON as the body.

**AI agents (MCP)** — your agent gets this Actor as a tool:

- **Claude Code:** `claude mcp add --transport http apify "https://mcp.apify.com?tools=instagram-data-api/instagram-video-downloader"`
- **Claude, Cursor, VS Code, n8n:** add `https://mcp.apify.com?tools=instagram-data-api/instagram-video-downloader` as a remote MCP server and sign in to Apify.
- **Ask it:** *“Download this Instagram reel as an MP4 and give me a link that keeps working.”* · *“Save every slide of these Instagram carousels and list the file links.”*

### FAQ: scraping Instagram videos and reels

**Do the download links expire?**
Instagram's own links do — each row says when in `mediaUrlsExpireAt` (natgeo's reel read on 17 Nov 2026: 35 hours later; a carousel's photos: 4 days). The saved files have no such deadline: they sit in your run's key-value store, under your Apify account, for as long as your Apify plan keeps the run's storage — download them from `mediaStoredUrl` whenever you need within that time.

**How much does it cost to download 1,000 reels?**
On Starter $1.95 per 1,000 posts plus $3.00 per 1,000 videos saved: 1,000 reels with their videos ≈ $4.95; the same 1,000 as links only ≈ $1.95; 100 carousels of 6 photos ≈ $0.77.

**Am I charged when a file can't be saved?**
No. A file is charged only once it is saved. One that Instagram refused, that is over *Max file size*, or that the run had no time or budget left for is free — `mediaStoreError` says why, and Instagram's own link stays in the row. The post itself is charged once it was read.

**Does it download carousels?**
Yes — every slide, photos and videos alike: each slide in `slides` gets its own `storedUrl`, and each saved slide is one file ($0.95 per 1,000 images, $3.00 per 1,000 videos on Starter).

**Can I get only the links, without saving?**
Yes. Switch *Save the files* off: one row per post with Instagram's own links to the video, cover, sound and every slide, $1.95 per 1,000 — and nothing is saved or charged per file.

**What quality is the video? Is there a watermark?**
`videoUrl` is the MP4 Instagram itself serves, the largest version it lists for the post — no watermark and no username overlay. natgeo's reel came as 1080 × 1920 (17 Nov 2026); the row carries `width` and `height`.

**Can I download a whole profile, stories or highlights?**
Not here — this Actor takes post and reel links. For every reel of a profile use [Instagram Reels Scraper · No Login](https://apify.com/nologin/instagram-reels-scraper) and give its dataset to this Actor; for stories use [Instagram Stories Scraper](https://apify.com/instagram-data-api/instagram-stories-scraper).

**What happens with private, deleted or age-restricted posts?**
A deleted post or a broken link is answered at once with a free row that says so — a run with one dead link took 4.2–4.9 s on 17 Nov 2026; a private post can't be read either. A post Instagram hides from logged-out visitors (age-restricted) is a free row on the free plan; on paid plans our service reads it with a logged-in read when it can, at the same price.

**How fast is it?**
Measured on Apify on 17 Nov 2026, on this Actor: the prefilled reel read and saved in 3.3 s; 50 reels with their videos (235 MB) read and saved in 19.6 s on paid plans; on the free plan a reel, a carousel of 6 photos and a photo with cover and sound — 10 files — in 9.2 s. Files are copied from Instagram to your run's storage six at a time; rows appear in the dataset while the run goes.

**Can I try it for free?**
Yes. On Apify's free plan every link is read on Apify with no login and its files are saved, with no cap of ours, paid from the monthly free credit Apify gives every account at the Free price: $2.05 per 1,000 posts + $3.10 per 1,000 videos — about 970 reels with their videos for $5.

**Do I need an Instagram account or cookies?**
No. You only paste usernames, links or keywords. Nothing to log in, no proxies to set up, nothing to install, and your own Instagram account is never involved.

**What am I charged for — and what's free?**
Only the events in the pricing table, plus $0.0005 per run. Rows with an `error` field are free, and duplicates are never returned or charged. Each run's `SUMMARY` record shows results and free rows.

**Can I cap what a run costs?**
Yes. Set **Maximum cost per run** in the run options — the run stops at your limit and `SUMMARY` shows `stoppedAtChargeLimit: true`.

**Can I use it from n8n, Make, Zapier or an AI agent?**
Yes, like any Apify Actor: REST API, webhooks, the n8n, Make and Zapier integrations, and the Apify MCP server for Claude, Cursor, VS Code and other MCP clients. Short timeout in your workflow or agent? Set *Return what's ready after (seconds)*: the run stops on time with what it has collected, and you pay only for that.

### For AI agents

```text
Actor:   instagram-data-api/instagram-video-downloader
Does:    Download Instagram videos, reels, photos and carousels by link with no login: files saved with links that don't expire.
Input:   {"urls": ["https://www.instagram.com/reel/DehZj9wggt0/"], "saveFiles": true, "downloadCover": false, "downloadAudio": false, "maxFileSizeMb": 100}
Output:  one JSON row per result, up to 67 fields; main: url, type, ownerUsername, takenAt, durationSec, mediaStoredUrl, videoUrl, coverUrl, slidesCount, caption, mediaStoreError
Free:    missing, private and deleted posts, broken links, duplicates and files that could not be saved
Price:   event "download-post" $1.95 per 1,000 on Starter + $0.0005 per run
Run:     POST https://api.apify.com/v2/acts/instagram-data-api~instagram-video-downloader/run-sync-get-dataset-items?token=APIFY_TOKEN
```

### More Instagram Actors from us

**⭐ Recommended — the No Login line:** [All-in-one Instagram Scraper](https://apify.com/nologin/instagram-scraper) · [Profiles](https://apify.com/nologin/instagram-profile-scraper) · [Followers](https://apify.com/nologin/instagram-followers-scraper) · [Reels](https://apify.com/nologin/instagram-reels-scraper) · [Posts](https://apify.com/nologin/instagram-posts-scraper) · [Threads](https://apify.com/nologin/threads-scraper) · [Comments](https://apify.com/nologin/instagram-comments-scraper)

**Specialist tools:**

| Content | People | Stories |
|---|---|---|
| [Reel views checker](https://apify.com/instagram-data-api/instagram-reel-views-checker) · [Hashtags](https://apify.com/instagram-data-api/instagram-hashtag-scraper) · [Search](https://apify.com/instagram-data-api/instagram-search-scraper) · [Reels search](https://apify.com/instagram-data-api/instagram-reels-search-scraper) · [Transcripts](https://apify.com/instagram-data-api/instagram-reels-transcript) · [Video downloader](https://apify.com/instagram-data-api/instagram-video-downloader) · [Tagged posts](https://apify.com/instagram-data-api/instagram-tagged-scraper) · [Audio](https://apify.com/instagram-data-api/instagram-audio-scraper) · [Locations](https://apify.com/instagram-data-api/instagram-location-scraper) · [Hashtag stats](https://apify.com/instagram-data-api/instagram-hashtag-stats) |[Followers count](https://apify.com/instagram-data-api/instagram-followers-count-checker) · [Account age](https://apify.com/instagram-data-api/instagram-account-age-checker) · [Emails & phones](https://apify.com/instagram-data-api/instagram-email-phone-scraper) · [Similar accounts](https://apify.com/instagram-data-api/instagram-similar-accounts) · [Similar accounts with profiles](https://apify.com/instagram-data-api/instagram-lookalike-accounts) · [User search](https://apify.com/instagram-data-api/instagram-user-search-scraper) · [Likers](https://apify.com/instagram-data-api/instagram-likers-scraper) · [Engagement rate](https://apify.com/instagram-data-api/instagram-engagement-rate-calculator) · [Username checker](https://apify.com/instagram-data-api/instagram-username-checker) · [User ID](https://apify.com/instagram-data-api/instagram-user-id-finder) · [Follower checker](https://apify.com/instagram-data-api/instagram-follower-checker) | [Stories](https://apify.com/instagram-data-api/instagram-stories-scraper) · [Highlights](https://apify.com/instagram-data-api/instagram-highlights-scraper) |

### More data tools by us

| Actor | What you get | Price |
|---|---|---|
| [Meta Ads Library Scraper](https://apify.com/instagram-data-api/meta-ads-library-scraper) | Facebook & Instagram ads by keyword, page or ad ID: text, link, images, videos, platforms | from $0.65 / 1,000 ads |
| [Google Ads Transparency Center Scraper](https://apify.com/instagram-data-api/google-ads-transparency-scraper) | competitor Google ads by website or advertiser, 243 regions: format, first / last shown, days shown | from $1.45 / 1,000 ads |
| [LinkedIn Ad Library Scraper](https://apify.com/instagram-data-api/linkedin-ad-library-scraper) | competitor LinkedIn ads by company, keyword or payer: headline, text, images, video, carousel slides | from $1.90 / 1,000 ads |
| [Pinterest Scraper](https://apify.com/instagram-data-api/pinterest-scraper) | search pins and a profile's pins: saves, comments, outbound link, video, board | from $2.00 / 1,000 pins |
| [YouTube Shorts Scraper](https://apify.com/instagram-data-api/youtube-shorts-scraper) | a channel's Shorts or Shorts search by keyword: exact views, likes, comments, sound | from $0.60 / 1,000 Shorts |
| [YouTube Comments Scraper](https://apify.com/instagram-data-api/youtube-comments-scraper) | comments and replies, top or newest: likes, date, creator heart, pinned; no API key | from $0.80 / 1,000 comments |
| [Threads Scraper](https://apify.com/instagram-data-api/threads-scraper) | posts, replies, reposts, profiles, keyword and hashtag search, with view counts | from $1.35 / 1,000 posts |
| [Google News Scraper](https://apify.com/instagram-data-api/google-news-scraper) | news by keyword, topic, place or publisher, 83 editions: headline, publisher, time, related coverage | from $1.50 / 1,000 articles |

What changed and when — see the **Changelog** tab.

Found it useful? Rate it with the stars under “Rating” on this page — it helps others find it.

# Changelog

This Actor's version history is a separate document: https://apify.com/instagram-data-api/instagram-video-downloader/changelog.md

# Actor input Schema

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

One per line: <code>https://www.instagram.com/reel/…/</code>, <code>/p/…/</code>, <code>/tv/…/</code> or just the shortcode. Reels, video posts, photos and carousels. Duplicates are removed before anything is read. Profile, story and highlight links are not posts — each gets a free row that says so.

## `inputFile` (type: `string`):

A CSV or TXT file: one post or reel link per line, or a table — we take the column named <code>url</code> or <code>link</code> (otherwise every cell). Added to the links above; duplicates are skipped.

## `saveFiles` (type: `boolean`):

On: each video (a reel, a video post, each video slide of a carousel) and each photo (a photo post, each photo slide) is saved to this run's key-value store; the row gets <code>mediaStoredUrl</code> and each carousel slide its <code>storedUrl</code>. Off: the row with Instagram's own links only — nothing saved, no file charge.

## `downloadCover` (type: `boolean`):

Also save the cover (thumbnail) of each reel and video post: <code>coverStoredUrl</code> — one more image, $0.95 per 1,000 (Starter). Off: the cover comes as Instagram's own link in <code>coverUrl</code>.

## `downloadAudio` (type: `boolean`):

Also save the sound of each reel and video post that has one, as an audio file: <code>audioStoredUrl</code>. No extra charge. Off: the sound comes as Instagram's own link in <code>audioUrl</code>.

## `maxFileSizeMb` (type: `integer`):

A file larger than this is not saved and not charged; the row keeps Instagram's own link and says why in <code>mediaStoreError</code>. A 30-second reel in 1080p is about 6 MB. Up to 300 MB.

## `datasetId` (type: `string`):

Pick the dataset of an earlier run (or paste its ID). We take post links from <code>url</code> / <code>postUrl</code>.

## `officialFieldNames` (type: `boolean`):

Every row also gets <code>displayUrl</code>, <code>likesCount</code>, <code>commentsCount</code>, <code>videoPlayCount</code>, <code>timestamp</code>, <code>videoDuration</code>, <code>musicInfo</code>… with the same values, and the type as <code>Video</code>, <code>Image</code> or <code>Sidecar</code> — as in Apify's Instagram Post Scraper. Our own fields stay. No extra charge.

## `addSummaryRow` (type: `boolean`):

One free row at the end of the results: rows returned, what was charged (events and USD) and why the run stopped — for n8n, Make, Zapier and AI agents that read only the dataset. The same summary is always saved as SUMMARY in the run's key-value store.

## `includeRaw` (type: `boolean`):

Every row also gets <code>raw</code>: the whole object Instagram returned for it — every field it sends, untouched, for your own parsing or an AI agent. Heavy (about 30 KB a post), so it is added to the first 1,000 rows of a run. No extra charge.

## `returnWithinSecs` (type: `integer`):

Stop after this many seconds and return the results collected so far — you pay only for them. Handy for AI agents with a short tool timeout. Empty — run until everything is collected.

## Actor input object example

```json
{
  "urls": [
    "https://www.instagram.com/reel/DehZj9wggt0/"
  ],
  "saveFiles": true,
  "downloadCover": false,
  "downloadAudio": false,
  "maxFileSizeMb": 100,
  "officialFieldNames": false,
  "addSummaryRow": false,
  "includeRaw": false
}
```

# Actor output Schema

## `results` (type: `string`):

All rows of this run (JSON, CSV, Excel).

## `summary` (type: `string`):

What was returned, what was free and why (SUMMARY record).

# 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": [
        "https://www.instagram.com/reel/DehZj9wggt0/"
    ]
};

// Run the Actor and wait for it to finish
const run = await client.actor("instagram-data-api/instagram-video-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": ["https://www.instagram.com/reel/DehZj9wggt0/"] }

# Run the Actor and wait for it to finish
run = client.actor("instagram-data-api/instagram-video-downloader").call(run_input=run_input)

# Fetch and print Actor results from the run's dataset (if there are any)
print(f"💾 Check your data here: https://console.apify.com/storage/datasets/{run.default_dataset_id}")
for item in client.dataset(run.default_dataset_id).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": [
    "https://www.instagram.com/reel/DehZj9wggt0/"
  ]
}' |
apify call instagram-data-api/instagram-video-downloader --silent --output-dataset

```

## MCP server setup

```json
{
    "mcpServers": {
        "apify": {
            "type": "http",
            "url": "https://mcp.apify.com/?tools=fetch-actor-details,instagram-data-api/instagram-video-downloader"
        }
    }
}
```

The hosted server signs you in with OAuth on first connect, so no API token belongs in this config. Clients without OAuth support can send an `Authorization: Bearer <APIFY_API_TOKEN>` header instead, using a token from API & Integrations in Apify Console (https://console.apify.com/settings/integrations).

## OpenAPI specification

Download the OpenAPI definition: https://api.apify.com/v2/actors/inGl3CvGF9MIsvELe/builds/L1hgolw2sZcU4d3or/openapi.json
