# Instagram Reels Scraper: Top by Keyword (`luzivanlt/instagram-keyword-reels-scraper`) Actor

Instagram top reels per hashtag or keyword, up to about 100, with plays and date. $0.40 per 1,000 reels. Author, caption, hashtags, video and cover links; likes, comments, length, size, follower count and music optional. No login needed.

- **URL**: https://apify.com/luzivanlt/instagram-keyword-reels-scraper.md
- **Developed by:** [Luzi](https://apify.com/luzivanlt) (community)
- **Categories:** Social media, Marketing
- **Features:** Limited permissions
- **Stats:** 2 total users, 1 monthly users, 86.2% runs succeeded, 0 bookmarks
- **User rating**: No ratings yet

## Pricing

from $0.28 / 1,000 reels

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 Reels Scraper: Top by Keyword

Instagram's popular reels for any hashtag or keyword, with no Instagram
account and no cookies. One row per reel: the author, caption, hashtags,
play count, exact posting date, reel link and the video and cover files.
Likes and comments are optional.

Tested end to end on 12 November 2026: 64 reels for one keyword in 14
seconds, 224 reels for three keywords in 28 seconds, and 2,206 reels for 30
keywords in under two minutes, with no keyword missed.

### What does this Actor do?

You give it hashtags or keywords, one per line. For each one it reads
Instagram's own popular list and saves one row per reel, in the order
Instagram lists them. It stops at the end of the list or at your limit.

Instagram lists up to about 100 reels per keyword and chooses which ones. It
does not list them for every keyword: `#cats`, `#travel`, `#wedding`,
`#realestate`, `#coffee`, `#pizza` and `#sneakers` have a list, while
`#beach`, `#food` and `#fitness` have none and return no rows.

Each reel comes with:

- The reel itself: its link, Instagram's id, the short code in the link, the
  play count, the exact posting date, and links to the cover image and the
  video file.
- The account that posted it: username, Instagram's id, whether it has the
  verified badge, the profile picture link and, with the details option, its
  follower count.
- The caption as written, plus the hashtags and the @mentions inside it.
- Optionally, the like count, the comment count, the video's width and height
  in pixels, and the music credit.

### Why use it?

- **No Instagram account, cookies or login.** Nothing to buy, nothing to get
  banned, nothing that expires before the next run.
- **An exact posting date.** Read from the reel's own id, so every row has a
  real date, not "3 weeks ago".
- **Likes, comments and details only when you ask.** The list runs fast and
  cheap on its own; turn the option on when a report needs engagement
  numbers, the reel's length, its size, the creator's follower count or its
  music.
- **One row per reel.** A reel that appears under two of your keywords is
  saved once and charged once.
- **Export as JSON, CSV or Excel**, or pull it through Apify's API and
  integrations.

### How to use it

1. Type your hashtags or keywords in **Hashtags or keywords**, one per line.
   `#cats`, `cats` and `https://www.instagram.com/explore/tags/cats/` all
   work.
2. Set **Maximum reels per keyword** if you want fewer than Instagram lists,
   for example 20.
3. Turn on **Include likes, comments and details** if the report needs the
   counts, the length, the size, the follower count or the music credit.
4. Press Start.

A run with no changes saves the top 20 reels for `cats`.

#### Links that work

- `https://www.instagram.com/explore/tags/cats/`
- `https://www.instagram.com/popular/cats/`
- `https://www.instagram.com/reels/cats/`

The keyword comes from the link's address. A link to a post, a profile or
another site stops the run before anything is read, naming the line.

### Input

| Title | What it does | Default |
|---|---|---|
| **Hashtags or keywords** (`keywords`) | One per line, up to 30. A hashtag, a keyword phrase or a hashtag link. Blank lines are skipped; a repeated keyword is read once. | `cats` |
| **Maximum reels per keyword** (`maxResultsPerKeyword`) | Stops at this many reels per keyword. 0 reads every reel Instagram lists. | `0` |
| **Include likes, comments and details** (`includeEngagement`) | Adds the like count, the comment count, the length in seconds, the video's width and height, the creator's follower count and the music credit. Slower, and charged as a second event. | off |

Give at least one hashtag or keyword unless you want the sample run.

```json
{
  "keywords": "cats\ntravel\nwedding",
  "maxResultsPerKeyword": 50,
  "includeEngagement": false
}
```

### Output

One row per reel. Example row:

```json
{
  "reelId": "3835402349960076701",
  "shortCode": "DU6Fh3QEZ2d",
  "url": "https://www.instagram.com/reel/DU6Fh3QEZ2d/",
  "ownerUsername": "gush.thecat",
  "ownerId": "17841478188212345",
  "ownerPk": "78138814275",
  "ownerIsVerified": false,
  "ownerProfilePicUrl": "https://scontent.cdninstagram.com/...",
  "ownerFollowerCount": 231895,
  "caption": "Which one suits me best?\n\n#cats_of_instagram #foryou #kittenlife",
  "hashtags": ["cats_of_instagram", "foryou", "kittenlife"],
  "mentions": [],
  "videoPlayCount": 37367808,
  "videoDurationSec": 14.47,
  "videoWidth": 640,
  "videoHeight": 1136,
  "countsHidden": false,
  "videoUrl": "https://scontent.cdninstagram.com/o1/v/....mp4",
  "displayUrl": "https://scontent.cdninstagram.com/v/....jpg",
  "musicArtist": "stella.overboard",
  "musicTitle": "Original audio",
  "musicUsesOriginalAudio": true,
  "timestamp": "2026-02-18T17:26:51.001Z",
  "likesCount": 2840547,
  "commentsCount": 5469,
  "keyword": "cats",
  "position": 1,
  "scrapedAt": "2026-11-12T16:08:07.512Z"
}
```

| Field | What it holds |
|---|---|
| `reelId` | Instagram's id for the reel; the same reel keeps it across runs. |
| `shortCode` | The reel's id in its link, such as `DU6Fh3QEZ2d`. |
| `url` | Link to the reel on instagram.com. |
| `ownerUsername` | The account that posted the reel. |
| `ownerId` | Instagram's id for the account. |
| `ownerPk` | Instagram's second id for the account, used by some tools. |
| `ownerIsVerified` | True when the account has the verified badge. |
| `ownerProfilePicUrl` | Link to the account's profile picture. |
| `ownerFollowerCount` | How many accounts follow the poster. Only filled with the details option on. |
| `caption` | The caption in the poster's words, with hashtags and mentions as written. |
| `hashtags` | Hashtags in the caption, lowercase, without the # sign. |
| `mentions` | Accounts mentioned in the caption, lowercase, without the @ sign. |
| `videoPlayCount` | How many times the reel has been played; empty when Instagram hides it. |
| `videoDurationSec` | The reel's length in seconds, such as `14.47`. Only filled with **Include likes, comments and details** on. |
| `videoWidth` | The video's width in pixels, such as `640`. Only filled with the details option on. |
| `videoHeight` | The video's height in pixels, such as `1136`. Only filled with the details option on. |
| `countsHidden` | True when the creator hid the reel's like and view counts; the like and comment fields stay empty on those reels. |
| `videoUrl` | Direct link to the video file. The link expires after a few hours. |
| `displayUrl` | Direct link to the cover image. The link expires after a few hours. |
| `musicArtist` | The credited artist for the reel's audio. Only filled with the details option on; empty when Instagram credits nobody. |
| `musicTitle` | The credited track, such as `Original audio`. Only filled with the details option on. |
| `musicUsesOriginalAudio` | True when the reel uses the creator's own audio rather than a licensed track. Only filled with the details option on. |
| `timestamp` | When the reel was posted, ISO 8601. |
| `likesCount` | The like count, only with **Include likes, comments and details** on, and empty when the reel hides it. |
| `commentsCount` | The comment count, same condition. |
| `keyword` | The hashtag or keyword this reel was found for, as you wrote it. |
| `position` | The reel's place in Instagram's list for that keyword, starting at 1. |
| `scrapedAt` | When the row was saved, ISO 8601. |

`caption` is empty on a reel with no caption. `likesCount` and
`commentsCount` are empty unless the option is on and the reel shows them;
in a 40-reel test, 39 reels showed both, one hid its likes.

### How much does it cost?

You pay for what you get:

- **Run fee, $0.001.** Charged once per run, and only when the run saves at
  least one reel. A run that finds nothing costs nothing.
- **Reel, $0.40 per 1,000** ($0.0004 each). Charged once per reel saved to
  your results. A reel found under two of your keywords is charged once.
  Reels are not charged when a keyword returns nothing or a keyword could not
  be read.
- **Likes, comments and details, $0.30 per 1,000** ($0.0003 each). Charged
  once per reel that got a like count or a comment count, only when you turn
  the option on. The same page also carries the reel's length, its width and
  height, the creator's follower count and the music credit, so those come
  with it at no extra charge. A reel whose counts
  Instagram hides is not charged, though its length and music are still
  filled.

A run of three keywords with no limit, which saved 224 reels, costs $0.09.
The same 224 reels with the details option on cost $0.16 ($0.09 for the
reels plus $0.07 for the details). A run of 20 reels costs $0.009; the same
with likes, comments and details costs $0.015.

Bronze, Silver and Gold Apify plans pay 10%, 20% and 30% less per event.

### How long does a run take?

About a second for the first reel, 14 seconds for 64 reels for one keyword,
28 seconds for 224 reels for three keywords, and under two minutes for 2,206
reels for 30 keywords.

Likes and comments add about half a second per reel: 40 reels with both counts
took 20 to 35 seconds, and 2,206 reels with both counts took 18 minutes in
one test and 27 in another. That time moves with Instagram's own speed, so a
busy hour can be slower than an idle one.

### Good to know

- **Instagram chooses the list.** It holds up to about 100 reels per keyword,
  in its own order, and it is not a search, so there are no date, language or
  country filters.
- **The list is popularity, not recency.** In a 40-reel test on 12 November
  2026 the reels were posted between November 2025 and May 2026, so read the
  `timestamp` field when the age matters.
- **Some keywords have no list.** `#beach`, `#food`, `#fitness`, `#beauty`,
  `#crypto` and `#ai` return no rows. The run says so in its summary instead
  of failing.
- **Hashtags are matched by phrase.** `#cats_of_instagram` is also tried as
  `cats of instagram`, which is how Instagram names that list. The keyword in
  your row stays exactly as you wrote it.
- **A `position` is Instagram's order at the moment of the run**, not a rank
  that stays comparable across days.
- **The video and cover links expire.** Download the files during the run or
  soon after; the row's `url` keeps working.
- **Length, size, follower count and music need the details option.** The list
  Instagram serves carries them only on each reel's own page, so they are
  filled when **Include likes, comments and details** is on. A hidden like
  count does not remove them.
- **Run every day on the same keywords** to follow how the list changes. The
  Actor reads whatever Instagram lists when it runs.
- **A rate limit is handled.** If Instagram throttles the run, the Actor
  moves to a fresh connection and keeps the reels it already read; the
  summary says what happened.

### FAQ

**Do I need an Instagram account?**
No. There is nothing to log in with, no cookie to paste, and no session that
expires.

**Can I get more than about 100 reels for one keyword?**
No. Instagram lists about 100 for a keyword and the list ends there. Use more
keywords to cover more reels.

**Why did a common hashtag return nothing?**
Instagram only keeps a popular list for some keywords. `#food` and `#beach`
have none today; `#pizza` and `#coffee` have one. The run names every keyword
that returned nothing.

**Are likes and comments exact?**
Yes, they are the counts Instagram shows for the reel. They are only read
when you turn the option on, because each one is a second page and a second
charge. The same page carries the reel's length, its width and height, the
creator's follower count and the music credit, which come with it at no extra
charge. A reel that hides its counts still gets those fields.

**Can I filter by date or by country?**
Not yet. The list is Instagram's own selection for the keyword.

# Actor input Schema

## `keywords` (type: `string`):

One per line: a hashtag (#cats), a keyword phrase (cats of instagram) or a hashtag link (instagram.com/explore/tags/cats/). Up to 30 lines. A blank line is skipped; a link to another site or a post stops the run before anything is read, naming the line.

## `maxResultsPerKeyword` (type: `integer`):

Stop after this many reels for each keyword, 0 to 500. 0 reads every reel Instagram lists for it, which is usually 60 to 100.

## `includeEngagement` (type: `boolean`):

Adds each reel's like count, comment count, length in seconds, width and height in pixels, the poster's follower count and the music credit. It reads one extra page per reel, so the run takes longer and those reels are billed as a second event.

## Actor input object example

```json
{
  "keywords": "cats",
  "maxResultsPerKeyword": 20,
  "includeEngagement": false
}
```

# Actor output Schema

## `reels` (type: `string`):

One row per reel in the default dataset; open the link for the overview view.

# 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 = {
    "keywords": "cats",
    "maxResultsPerKeyword": 20,
    "includeEngagement": false
};

// Run the Actor and wait for it to finish
const run = await client.actor("luzivanlt/instagram-keyword-reels-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 = {
    "keywords": "cats",
    "maxResultsPerKeyword": 20,
    "includeEngagement": False,
}

# Run the Actor and wait for it to finish
run = client.actor("luzivanlt/instagram-keyword-reels-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 '{
  "keywords": "cats",
  "maxResultsPerKeyword": 20,
  "includeEngagement": false
}' |
apify call luzivanlt/instagram-keyword-reels-scraper --silent --output-dataset

```

## MCP server setup

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