# Instagram Reels downloader (`data_dino/instagram-reels-downloader`) Actor

Download Instagram Reels (caption, author, stats, cover, exact duration, and direct mp4 URLs with audio) without login or API key. One anonymous request per reel link.

- **URL**: https://apify.com/data_dino/instagram-reels-downloader.md
- **Developed by:** [Data Dino](https://apify.com/data_dino) (community)
- **Features:** Limited permissions
- **Stats:** 3 total users, 2 monthly users, 100.0% runs succeeded, 0 bookmarks
- **User rating**: No ratings yet

## Pricing

from $2.00 / 1,000 results

This Actor is paid per event. You are not charged for the Apify platform usage, but only a fixed price for specific events.

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 Reels downloader

Collect Instagram Reels — captions, authors, engagement stats, cover images, exact durations, and direct mp4 download links — in one Apify run. Paste a reel URL (or a bare shortcode) and receive structured records you can export to JSON, CSV, or Excel. No login and no API key required.

### Why use this actor?

- **Zero setup** — no Instagram account, no cookies, no API key. Works on the open web.
- **Direct media URLs** — every record includes a progressive mp4 URL that downloads with audio, plus quality/size metadata for each rendition.
- **Rich metadata** — caption, author, like/comment/view counts, publish date, cover thumbnail, and precise duration.
- **Traceable source** — each record keeps the original reel URL and shortcode.
- **Parallel and polite** — configurable workers and request delay keep runs fast but stable.

### Input

All fields have defaults, so you can click Run without touching anything and still get results.

| Field | Type | Default | Description |
|---|---|---:|---|
| `links` | string array | a sample reel | Instagram reel/post URLs (`https://www.instagram.com/reel/{code}/`) or bare shortcodes. One output row per link. |
| `maxItems` | integer | `10` | Stop after this many reels (safety cap). |
| `workers` | integer | `1` | Parallel download sessions (1–8). |
| `delay` | number | `0.4` | Minimum seconds between requests per worker. |
| `proxyConfiguration` | object | off | Optional managed proxy support — use only if your network is blocked. |

### Output

Each dataset item is one reel:

```json
{
  "url": "https://www.instagram.com/reel/DCxTlFwSJ_Y/",
  "author": "someuser",
  "title": "Reel caption text…",
  "duration": 20.857143,
  "thumbnail": "https://scontent…/media/…jpg",
  "medias": [ { "type": "video/mp4", "quality": "hd", "width": 1080, "height": 1920, "url": "https://…mp4", "hasAudio": true } ],
  "video_url": "https://…mp4",
  "statistics": { "views": 2245, "likes": 310, "comments": 12 },
  "likeCount": 310,
  "commentCount": 12,
  "viewCount": 2245,
  "shortcode": "DCxTlFwSJ_Y",
  "pk": "3500000000000000000",
  "takenAt": "2025-11-09T12:34:56Z",
  "productType": "clips",
  "mediaType": 2,
  "isVideo": true,
  "source": "instagram.com"
}
```

### Practical limitations

- Results reflect the public Instagram page at run time and may change as content is added/removed.
- Deleted, private, or non-existent shortcodes are reported per-link with an `error` flag rather than failing the whole run.
- Instagram may challenge automated requests from some networks; the request-delay and managed-proxy inputs exist for that case, but no result is guaranteed.
- Use collected information in accordance with Instagram's terms and applicable privacy and data-use requirements.

# Actor input Schema

## `links` (type: `array`):

Instagram reel / post URLs (https://www.instagram.com/reel/{code}/) or bare shortcodes. Each becomes one output row.

## `maxItems` (type: `integer`):

Stop after this many reels — a safety cap for quiet runs.

## `workers` (type: `integer`):

Number of parallel download sessions. Each worker gets its own connection.

## `delay` (type: `number`):

Minimum seconds between requests per worker. Raise if Instagram starts challenging requests.

## `proxyConfiguration` (type: `object`):

Optional managed proxy support. Works on the open web without one — use only if your network is blocked.

## Actor input object example

```json
{
  "links": [
    "https://www.instagram.com/reel/Dad7ULhDBmo/"
  ],
  "maxItems": 10,
  "workers": 1,
  "delay": 0.4,
  "proxyConfiguration": {
    "useApifyProxy": false
  }
}
```

# Actor output Schema

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

All downloaded reels, one item per row. Each row carries: url, source, author, title, thumbnail, duration (seconds), medias\[url,quality,extension,width,height,bytes,hasAudio], video_url, statistics{views,likes,comments}, type, error, errorMessage, caption, shortcode, pk, takenAt, likeCount, commentCount, viewCount, productType, mediaType, isVideo, accessibilityCaption, authorId, authorUrl.

# 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 = {};

// Run the Actor and wait for it to finish
const run = await client.actor("data_dino/instagram-reels-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 = {}

# Run the Actor and wait for it to finish
run = client.actor("data_dino/instagram-reels-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 '{}' |
apify call data_dino/instagram-reels-downloader --silent --output-dataset

```

## MCP server setup

```json
{
    "mcpServers": {
        "apify": {
            "type": "http",
            "url": "https://mcp.apify.com/?tools=fetch-actor-details,data_dino/instagram-reels-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/eK4piWRB4eYUnwT5o/builds/t7mdxzQiuUbXB0At2/openapi.json
