# Instagram Reel Scraper (`datahamster/instagram-reel-scraper`) Actor

Instagram reel scraper: paste reel links or shortcodes and get views, likes, comments, caption, hashtags, posting date, duration, audio, video and thumbnail links. No login. Monitor mode reports reels whose views or likes moved. Owners are named only for verified accounts.

- **URL**: https://apify.com/datahamster/instagram-reel-scraper.md
- **Developed by:** [Viktor Dubnytskiy](https://apify.com/datahamster) (community)
- **Categories:** Social media
- **Features:** Limited permissions
- **Stats:** 2 total users, 1 monthly users, 100.0% runs succeeded, 0 bookmarks
- **User rating**: No ratings yet

## Pricing

from $1.44 / 1,000 result items

This Actor is paid per event and usage. You are charged both the fixed price for specific events and for Apify platform usage.
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 Reel Scraper

Instagram Reel Scraper returns one row per Instagram reel with its views, likes, comment count, caption, hashtags, posting date, duration, audio, video link and thumbnail. You paste reel links or shortcodes. No Instagram login, cookies or API key are needed, and results cost $1.80 per 1,000 reels against $2.60 per 1,000 at the leading Store reel scraper.

**Try it:** the prefilled example returns 4 rows in about 25 seconds and costs about $0.008. Results cost $1.80 per 1,000.

### What you get

Real rows from the example dataset (`reelUrls`: four NASA, Nike and National Geographic reels):

| ownerUsername | shortcode | caption | viewCount | likeCount | commentCount | postedAt |
|---|---|---|---|---|---|---|
| `nasa` | `DeTUk4sDSp-` | "POV: you're watching the Earth set We just released hu..." | `3491679` | `773513` | `7766` | `2026-10-10T15:15:02Z` |
| `nike` | `De-XRdaPg2A` | "Queen for a third time, @user." | `429460` | `100612` | `584` | `2026-10-26T22:34:25Z` |
| `natgeo` | `DfKYi32MhCn` | "Few have ever seen the view from Everest's North Face, ..." | `698448` | `54014` | `153` | `2026-10-31T16:00:02Z` |
| `nasajohnson` | `DfF3eqGSKKc` | "More power loading. 🔋 Today, NASA astronaut Anil Menon..." | `243248` | `14761` | `153` | `2026-10-29T20:35:35Z` |

Full row: `id`, `url`, `shortcode`, `mediaId`, `productType`, `caption`, `mentionCount`, `hashtags`, `viewCount`, `likeCount`, `commentCount`, `durationSeconds`, `postedAt`, `videoUrl`, `thumbnailUrl`, `width`, `height`, `audioTitle`, `audioArtist`, `usesOriginalAudio`, `ownerUsername`, `ownerIsVerified`, `ownerFollowersCount`, `query`, `scrapedAt`.

### Track reel performance with monitor mode

Save the input as a task, set **Mode** to `monitor` and run it on a schedule (for example once a day). The first run returns every reel. Later runs return a reel again only when its views, likes or comments cross into another step of a log scale, roughly every 10% of growth, with `changedFields` and the `previous` values in the row. You get a compact feed of reels whose numbers really moved, and you are not charged for reels that stood still.

### Accounts and privacy

The account behind a reel is named only when Instagram marks it as verified (brands, media, public figures). For every other account the row has the reel's own numbers and caption, while `ownerUsername`, `ownerFollowersCount` and the original-audio author stay empty. In captions every @mention is replaced with `@user` (the original number is kept in `mentionCount`), and e-mail addresses and phone numbers are removed. Profile pictures, full names, coauthors and tagged people are never returned.

### Related actors

- [Instagram Post Scraper](https://apify.com/datahamster/instagram-post-scraper) returns the latest posts of business accounts with likes, comments and views.
- [TikTok Video Scraper](https://apify.com/datahamster/tiktok-video-scraper) returns views, likes, comments and saves of TikTok videos.
- [Facebook Reels Scraper](https://apify.com/datahamster/facebook-reels-videos) lists the reels of Facebook Pages with views and reactions.
- [YouTube Search Scraper](https://apify.com/datahamster/youtube-search-scraper) finds YouTube videos for a keyword with their view counts.

### Use cases

- Report the views and engagement of your own or your clients' reels every day without opening the app.
- Track the reels of competitors or creators you work with and see which ones keep growing.
- Collect captions, hashtags and audio of reels in a niche for content research.

### Input

| Field | Meaning | Default |
|---|---|---|
| `reelUrls` | Reel links (`https://www.instagram.com/reel/DeTUk4sDSp-/`), `/p/` and `/tv/` links of videos, or bare shortcodes (`DeTUk4sDSp-`) | four example reels |
| `includePostedAt` | Read the posting date (one extra page per reel). Turn it off for faster runs | `true` |
| `maxItems` | Stop after this many rows. In monitor mode it is raised to the number of reels so every reel is checked | `20` |
| `mode` | `scrape` or `monitor` | `scrape` |
| `monitorStateId`, `webhookUrl`, `telegramBotToken`, `telegramChatId` | Monitor state key and alert targets | empty |

### Pricing

| Event | Price |
|---|---|
| result | $0.0018 per reel ($1.80 per 1,000) |
| monitor-check | $0.005 per monitor run |
| change | $0.0018 per reel reported in monitor mode |

Apify Store discounts: SILVER -10%, GOLD and higher -20% on every event. You pay only for rows that are pushed. Removed reels, mistyped codes and photo posts produce no row and no charge. Platform usage (compute and proxy) is billed by Apify on top; the actor uses no proxy unless Instagram blocks the free tier.

**Found it useful?** A short review on the Store page helps other people find this actor and tells us what to improve. If something is wrong, open an issue on the actor page.

### How it works

1. Each reel is read from its public embed page, the same page Instagram serves when a reel is embedded on a website. It holds the view, like and comment counts, the caption, the video and the audio.
2. The posting date comes from the public reel page, one extra request per reel. If Instagram does not serve it, `postedAt` is left empty and the row is still returned.
3. If Instagram answers with a login wall or a rate limit, the request is repeated after a pause and then through a datacenter and then a residential proxy. When no reel of a run could be read because every one was walled on every proxy, the run stops with a "blocked" reason instead of returning an empty dataset, and after 3 reels in a row are walled on every proxy it stops early with a "rate_limited" reason.

### Limits

- **You give the reels.** The actor does not search Instagram or list an account's reels; Instagram shows those only to logged-in users. To get the latest posts of a business account, use Instagram Post Scraper.
- **No comment texts and no transcripts.** The public embed shows only the number of comments.
- **Video and image links are signed and expire** after a few days. Download them soon after the run if you need the files.
- **Counts can be hidden** by the owner; `viewCount` is then empty.
- Instagram limits how often one IP address may load these pages. Large lists may move to a paid proxy tier, and a run stops with a "rate_limited" reason after 3 reels in a row are walled on every proxy.

### FAQ

**Do I need an Instagram account?** No. Every request is a logged-out request.

**Why is `ownerUsername` empty?** The reel belongs to an account that is not verified. Those accounts are treated as private individuals and are not named.

**Why did a link return nothing?** The reel was removed, the account is private, the code is mistyped, or the link points to a photo post. The run log names the reason for each skipped link, and none of them is charged.

### Changelog

- 0.1: first release with views, likes, comments, caption, hashtags, posting date and audio per reel, and monitor mode for reels whose numbers moved.

# Actor input Schema

## `reelUrls` (type: `array`):

Instagram reel links (https://www.instagram.com/reel/DeTUk4sDSp-/), /p/ or /tv/ links of videos, or bare shortcodes (DeTUk4sDSp-), one per line. Removed reels, private accounts and photo posts are skipped without a charge.

## `includePostedAt` (type: `boolean`):

Read the posting date of each reel from its public page (one extra request per reel). Turn off for faster runs; postedAt is then empty.

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

Stop after this many rows (you are charged only for pushed rows). In monitor mode the limit is raised to the number of reels so every reel is checked.

## `mode` (type: `string`):

scrape = full results; monitor = only new/changed items since the previous run of this task

## `monitorStateId` (type: `string`):

Optional state id when not running as a saved task (monitor mode)

## `webhookUrl` (type: `string`):

POST a change summary here in monitor mode

## `telegramBotToken` (type: `string`):

Optional: bot token for monitor-mode change summaries

## `telegramChatId` (type: `string`):

Optional: chat id that receives monitor-mode summaries

## Actor input object example

```json
{
  "reelUrls": [
    "https://www.instagram.com/reel/DeTUk4sDSp-/",
    "https://www.instagram.com/reel/De-XRdaPg2A/",
    "https://www.instagram.com/reel/DfKYi32MhCn/",
    "https://www.instagram.com/reel/DfF3eqGSKKc/"
  ],
  "includePostedAt": true,
  "maxItems": 20,
  "mode": "scrape"
}
```

# Actor output Schema

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

All pushed rows (dataset, JSON)

## `resultsTable` (type: `string`):

Dataset in the Console viewer

## `runSummary` (type: `string`):

RUN_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 = {
    "reelUrls": [
        "https://www.instagram.com/reel/DeTUk4sDSp-/",
        "https://www.instagram.com/reel/De-XRdaPg2A/",
        "https://www.instagram.com/reel/DfKYi32MhCn/",
        "https://www.instagram.com/reel/DfF3eqGSKKc/"
    ],
    "maxItems": 20
};

// Run the Actor and wait for it to finish
const run = await client.actor("datahamster/instagram-reel-scraper").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 = {
    "reelUrls": [
        "https://www.instagram.com/reel/DeTUk4sDSp-/",
        "https://www.instagram.com/reel/De-XRdaPg2A/",
        "https://www.instagram.com/reel/DfKYi32MhCn/",
        "https://www.instagram.com/reel/DfF3eqGSKKc/",
    ],
    "maxItems": 20,
}

# Run the Actor and wait for it to finish
run = client.actor("datahamster/instagram-reel-scraper").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 '{
  "reelUrls": [
    "https://www.instagram.com/reel/DeTUk4sDSp-/",
    "https://www.instagram.com/reel/De-XRdaPg2A/",
    "https://www.instagram.com/reel/DfKYi32MhCn/",
    "https://www.instagram.com/reel/DfF3eqGSKKc/"
  ],
  "maxItems": 20
}' |
apify call datahamster/instagram-reel-scraper --silent --output-dataset

```

## MCP server setup

```json
{
    "mcpServers": {
        "apify": {
            "type": "http",
            "url": "https://mcp.apify.com/?tools=fetch-actor-details,datahamster/instagram-reel-scraper"
        }
    }
}
```

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/0oHmOtuseonQAgyMY/builds/zi5hE1N0pAZgrWs7X/openapi.json
