# Instagram Reels Search Scraper: Reels by Keyword (`rowfinch/instagram-reels-search-scraper`) Actor

Search Instagram reels by keyword and get each reel's likes, comments, plays, author, music and link. Field names match the leading reels search scraper.

- **URL**: https://apify.com/rowfinch/instagram-reels-search-scraper.md
- **Developed by:** [Rowfinch](https://apify.com/rowfinch) (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.35 / 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 Search Scraper

Search Instagram reels by keyword and get each reel's caption, likes, comments, plays, author, music and link.

### What you get for each reel

- **Reel**: link, caption, hashtags and mentions, posting time and length.
- **Engagement**: likes, comments, plays, shares and saves.
- **People**: the author and the accounts tagged in the reel.
- **Media**: video and image links, and the music used.
- **Search**: the keyword that found the reel.

The field names match the leading reels search scraper, so switching needs no code changes.

### What it's for

- **Trend research**: see which reels of a topic get the most plays.
- **Content ideas**: collect the captions, hashtags and music used in a niche.
- **Creator discovery**: find the authors posting about a topic.
- **Feeding AI agents**: clean JSON, CSV or Excel, or straight from the API.

### Input

| Field | What it does |
|---|---|
| `query` | One keyword. A `#hashtag` is searched like a keyword |
| `queries` | More keywords, each searched on its own |
| `maxResultsPerQuery` | Most reels to save from each search. Default 50, up to 1,000 |
| `maxPages` | Most search requests for each search. Empty means no page limit |

Any text is searched as typed into Instagram's search, a `#hashtag` included. Searches given twice, or differing only in case, run once.

For every post of a hashtag, use our [Instagram Hashtag Scraper](https://apify.com/rowfinch/instagram-hashtag-scraper).

```json
{
  "query": "skincare routine",
  "queries": ["#skincare", "morning routine"],
  "maxResultsPerQuery": 50
}
```

### Output

One row per reel, with the search that found it:

```json
{
  "inputUrl": "https://www.instagram.com/reel/ABCdEf12345/",
  "id": "1234567890123456789",
  "type": "Video",
  "shortCode": "ABCdEf12345",
  "url": "https://www.instagram.com/p/ABCdEf12345/",
  "caption": "A caption of the reel.",
  "hashtags": ["skincare"],
  "mentions": [],
  "timestamp": "2026-03-08T17:15:29.000Z",
  "likesCount": 101379,
  "commentsCount": 182,
  "videoPlayCount": 907499,
  "videoDuration": 13.908,
  "sharesCount": 3120,
  "savesCount": 2592,
  "ownerUsername": "example_creator",
  "musicInfo": {
    "artist_name": "Example Artist",
    "song_name": "Example Song",
    "uses_original_audio": false,
    "audio_id": "123456789"
  },
  "searchQuery": "skincare routine",
  "code": "ABCdEf12345",
  "like_count": 101379,
  "comment_count": 182,
  "media_type": 2,
  "is_video": true,
  "product_type": "clips",
  "taken_at": 1772990129,
  "taken_at_date": "2026-03-08T17:15:29.000Z",
  "mediaId": "1234567890123456789",
  "play_count": 907499,
  "ig_play_count": 907499,
  "video_duration": 13.908,
  "video_url": "https://scontent.example/reel.mp4"
}
```

The first fields are the post fields of Apify's Instagram scrapers. The snake_case fields after them carry the same values under the names the leading reels search scraper uses. `searchQuery` is the keyword as you typed it.

A search that Instagram can't answer gets one row with the reason, free of charge. So does a bare `#` with nothing after it:

```json
{ "input": "#", "error": "Add a keyword after the #" }
```

### Price

Prices per 1,000 reels depend on your Apify plan:

| Apify plan | Reels |
|---|---|
| Free | $2.25 |
| Starter | **$1.95** |
| Scale | $1.65 |
| Business | $1.35 |
| Platinum | $1.35 |
| Diamond | $1.35 |

For example, 1,000 reels from 10 keywords cost $1.95 on Starter.

- Invalid searches and searches that give no reels: free
- A run stops at the maximum cost you set for it.

### Free plan

On Apify's free plan a run returns up to 25 reels across all its searches. Any paid plan removes the limit.

### FAQ

**Which searches work?**
A keyword such as `skincare routine`. A `#hashtag` is searched the same way, as typed.

**Does it include private accounts?**
No. Reels from private accounts are left out.

**Why do I get fewer reels than I asked for?**
Instagram has no more reels for that search, or `maxPages` stopped it first. The run reports how many it found.

**Is it legal?**
It reads only what Instagram shows publicly for each reel. Use the data for a legitimate purpose, and honor deletion requests.

# Actor input Schema

## `query` (type: `string`):

One keyword. A #hashtag is searched like a keyword.

## `queries` (type: `array`):

Each one is searched on its own. Added to the field above.

## `maxResultsPerQuery` (type: `integer`):

Most reels to save from each search.

## `maxPages` (type: `integer`):

Most search requests for each search. Empty means no page limit.

## Actor input object example

```json
{
  "query": "skincare routine",
  "maxResultsPerQuery": 50
}
```

# Actor output Schema

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

No description

# 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 = {
    "query": "skincare routine"
};

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

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

```

## MCP server setup

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