# Instagram Search Scraper (`instagram-data-api/instagram-search-scraper`) Actor

Search Instagram by keyword: reels with views, likes and comments; accounts with optional profile cards (followers, business email, phone); hashtags with post counts; places with addresses. Many keywords per run, follower filter, no duplicates. Reels from $0.38 per 1,000. No login.

- **URL**: https://apify.com/instagram-data-api/instagram-search-scraper.md
- **Developed by:** [Instagram Data API](https://apify.com/instagram-data-api) (community)
- **Categories:** Social media, Lead generation, Marketing
- **Features:** Limited permissions
- **Stats:** 27 total users, 20 monthly users, 99.5% runs succeeded, 0 bookmarks
- **User rating**: No ratings yet

## Pricing

from $0.38 / 1,000 search 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 search scraper: reels, accounts, hashtags and places by keyword

**Type keywords and get what Instagram's search shows for them — reels with views, likes and comments, accounts, hashtags with post counts, or places with addresses.**

- 🔎 **Four search types** — Reels, Accounts, Hashtags or Places, many keywords per run.
- 🎬 **Reels with no login** — Instagram's public reel search, each reel read from its own page: views, likes, comments, date, length and music, in Instagram's order (`rank`).
- 📇 **Profile cards for accounts** — followers, bio, category, business email and phone ($2.12 per 1,000 instead of $1.75).
- 🎯 **Filters** — minimum views and date for reels, follower range for accounts.
- 🔄 **Switch from Apify's Instagram Search Scraper by changing only the Actor ID** — `search`, `searchType` and `searchLimit` work as they are.
- 🧹 **Keywords with no results are free**; duplicates are never charged.

> ⭐ **Recommended: our No Login line** — an all-in-one scraper, profiles, followers, reels, posts and Threads with more fields per row: [see all](https://apify.com/nologin).

### Why scrape Instagram search results?

- **Find creators and brands by keyword** — with followers, category and business email when profile cards are on.
- **Keyword reels research:** the reels Instagram's search shows for a keyword, with views, likes and comments.
- **Hashtag ideas:** related hashtags with their post counts.
- **Local research:** places and their addresses for a name.

### What data can I scrape from Instagram search results?

| Data | What it is |
|---|---|
| Query | The keyword from your input |
| Rank | Position in Instagram's search results for the keyword |
| Link | Link to the reel, the hashtag page or the place page |
| Profile | Link to the profile |
| Author | Username of the author |
| Username | Instagram username (handle) |
| Name | Hashtag or place name |
| Views | Plays (reels) or views as Instagram counts them |
| Likes | Likes; empty if the author hid the counts (likesHidden) |
| Comments | Number of comments |
| Followers | Follower count |

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

### Compared with Apify's Instagram Search Scraper

| | This Actor | Apify's Instagram Search Scraper (Starter) |
|---|---|---|
| Price per 1,000 results | $0.39 (reels) · $1.75 (accounts) | $2.30 |

Their prices and fields as listed on Apify on 28 October 2026 — check their page for today's.

### How to scrape Instagram search results

1. Paste keywords into the input — `skincare routine`, `#travel` — one per line, and choose what to search for.
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 profile 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 a 3-row sample.

### Input example

```json
{
  "queries": [
    "skincare routine"
  ],
  "searchType": "reel",
  "maxResultsPerQuery": 50,
  "addProfileCards": false
}
```

### Output example: Instagram search results data

```json
{
  "type": "reel",
  "productType": "clips",
  "shortCode": "DdWKj0ehTvn",
  "url": "https://www.instagram.com/reel/DdWKj0ehTvn/",
  "ownerUsername": "skincarerelief",
  "ownerFullName": "Skincare Relief",
  "ownerVerified": true,
  "ownerPrivate": false,
  "takenAt": "2026-09-16T11:34:47Z",
  "views": 2780075,
  "likes": 24584,
  "comments": 388,
  "saves": null,
  "shares": null,
  "reposts": null,
  "durationSec": 11.07,
  "caption": "Viral Korean Skincare ✨ Which One Is REALLY Strong? 🔥…",
  "hashtags": [
    "kbeauty",
    "koreanskincare",
    "skincare",
    "skincareroutine",
    "skincaretips"
  ],
  "audio": {
    "type": "licensed",
    "id": "2085508281903593",
    "title": "Training Season (Live from the Royal Albert Hall)",
    "artist": "Dua Lipa",
    "artistUsername": "dualipa",
    "durationSec": 220.94,
    "coverUrl": "https://scontent-bos5-1.cdninstagram.com/…jpg",
    "isExplicit": false,
    "isTrending": false,
    "muted": false,
    "muteReason": null
  },
  "videoUrl": "https://scontent-bos5-1.cdninstagram.com/…mp4",
  "inputQuery": "skincare routine"
}
```

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

**Coming from Apify's official Instagram scrapers?** Turn on *Also add Apify-style field names*: every row also gets
`likesCount`, `commentsCount`, `videoPlayCount`, `timestamp`, `displayUrl`, `followersCount`, `followsCount`, `verified`
and more with the same values, and the post type as `Video`, `Image` or `Sidecar` — your sheets, code and n8n flows keep
working. Long list of usernames? Upload it as a CSV or TXT file in *Or upload a list*.

### Limits

- Results are what Instagram's search shows for the keyword — not every post that mentions it.
- Reels come by relevance, not by date: a date window of a few days usually returns nothing (ten brand keywords on 17 Nov 2026: 464 reels, 0 from the last 7 days).
- Accounts: turn on profile cards for followers and emails (charged per card).
- Reels: saves, shares and reposts are shown to logged-in users only — `null` here, named in `notCollected`.
- **Free Apify plan:** reel and account searches — the full result, no cap, read with no login and paid from your monthly Apify credit at the Free price (accounts come from Threads' account search and the keyword's reel authors; profile cards without business contacts). Hashtag and place searches give the first 20 results of each run, up to 300 a month. Any paid Apify plan gets every result — no cap.

### How much does it cost to scrape Instagram search results?

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 reels | What $5 of free credit gets you |
|---|---|---|
| Free | $0.39 | ≈ 12,800 reels |
| Starter | $0.39 | — |
| Business and higher | $0.38 | — |

Every event of this Actor on the Starter plan:

| Event | What it is | Price |
|---|---|---|
| Search reel | Each reel found for your keyword | $0.39 per 1,000 |
| Found account | Each account found for your keyword | $1.75 per 1,000 |
| Account card | Each account found, with followers, bio, category and business contacts (instead of “Found account”, only when profile cards are on) | $2.12 per 1,000 |
| Found hashtag | Each hashtag found for your keyword, with its post count | $1.75 per 1,000 |
| Found place | Each place found for your keyword, with address and coordinates | $2.25 per 1,000 |
| Checked, filtered out | An account checked but outside your follower filter | $0.45 per 1,000 |
| Reel below your filter | A reel checked but under your minimum views — not returned | $0.07 per 1,000 |

**Typical jobs on Starter:**

- 50 reels for each of 10 keywords = 500 ≈ $0.20
- 200 accounts with profile cards ≈ $0.42

**Always free:** keywords with no results and duplicates. Set **Maximum cost per run** in the run options to cap any run.

### Instagram search results 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-search-scraper").call(run_input={'queries': ['skincare routine'], 'searchType': 'reel', 'maxResultsPerQuery': 50, 'addProfileCards': False})
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-search-scraper/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-search-scraper"`
- **Claude, Cursor, VS Code, n8n:** add `https://mcp.apify.com?tools=instagram-data-api/instagram-search-scraper` as a remote MCP server and sign in to Apify.
- **Ask it:** *“Find reels about “skincare routine” with the most views.”* · *“Find accounts for “vegan bakery London” with follower counts.”*

### FAQ: scraping Instagram search results

**Is it the same as searching in the Instagram app?**
Hashtags and places — yes, the results the app's search shows. Accounts come from Threads' account search and the authors of the keyword's reels, read with no login (Instagram's own account search only when those find nobody). Reels come from Instagram's public reel search, the one it shows logged-out visitors: its logged-in reel search stopped answering on 13 November 2026.

**Why are saves and shares empty on reels?**
Reels are read with no login, and Instagram shows saves, shares and reposts to logged-in users only. They are `null` and named in `notCollected` — never a made-up `0`.

**Why did a keyword return nothing?**
Two reasons, both free. Instagram's public reel search shows nothing for some words as typed, so we try their singular, plural, “… reel / ideas / tips” forms and the words of their related hashtags (“food” was answered by “food reel”, “bbva” by “bbvaprovincial” on 17 Nov 2026); if nothing answers, the keyword is a free row. And a narrow date window: reel search is ordered by relevance and holds few recent reels — on 17 Nov 2026 ten brand keywords (amex, revolut, nubank and others) gave 464 reels to the search's end, 0 posted in the last 7 days and 30 in the last 30. With *Only reels newer than* of a day or two the row says how many reels the search showed and when the newest was posted — widen the dates to weeks or months.

**Why don't account rows have followers?**
Instagram's search doesn't show them. Turn on **Add profile cards** — each account then comes with followers, bio, category and business contacts.

**How many results per keyword?**
As many as Instagram's search returns for it, up to **Max results per keyword** (1,000). You pay only for rows you get.

**What does a typical run cost?**
50 reels for each of 10 keywords = 500 ≈ $0.20 on the Starter plan, run start included.

**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 try it for free?**
Yes. On Apify's free plan reel and account searches give the full result, read with no login and paid from the monthly free credit Apify gives every account — accounts come from Threads' account search and the authors of the keyword's reels; their profile cards without business contacts (those are for paid plans). Hashtag and place searches give the first 20 results of every run. Paid plans get every result, with no cap.

**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-search-scraper
Does:    Search Instagram by keyword: trending reels with views, likes, comments; users with emails; hashtags; locations with addresses. No login.
Input:   {"queries": ["skincare routine"], "searchType": "reel", "maxResultsPerQuery": 50, "addProfileCards": false}
Output:  one JSON row per result, up to 118 fields; main: inputQuery, rank, url, profileUrl, ownerUsername, username, name, views, likes, comments, followers
Free:    keywords with no results and duplicates
Price:   event "search-reel" $0.39 per 1,000 on Starter + $0.0005 per run
Run:     POST https://api.apify.com/v2/acts/instagram-data-api~instagram-search-scraper/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) · [Transcripts](https://apify.com/instagram-data-api/instagram-reels-transcript) · [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) · [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) |

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

# Changelog

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

# Actor input Schema

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

One per line: a word, a phrase or a <code>#hashtag</code>.

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

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

## `searchType` (type: `string`):

What to search for: reels, accounts, hashtags or places.

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

How many results to return per keyword.

## `newerThan` (type: `string`):

A date (<code>2026-10-01</code>) or a period (<code>7 days</code>, <code>2 weeks</code>). Empty — no date limit. Older pinned items are left out too. Reel search is ordered by relevance and holds few recent reels: a window of a few days usually returns nothing (a free row says how old the newest reel found is) — use weeks or months.

## `olderThan` (type: `string`):

A date (<code>2026-09-01</code>) or a period (<code>30 days</code>). With “Only items newer than” — a date range. Newer items are skipped and aren't charged.

## `minViews` (type: `integer`):

Only reels with at least this many views are returned. Reels below it are not returned and cost 4× less (we still checked them); photos have no views and are skipped for free.

## `addProfileCards` (type: `boolean`):

Followers, bio, category, business email and phone for each account found. Charged as “Account card” instead of “Found account”.

## `minFollowers` (type: `integer`):

Turns profile cards on. Accounts outside the range cost much less.

## `maxFollowers` (type: `integer`):

Only accounts with at most this many followers.

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

Every row also gets <code>likesCount</code>, <code>commentsCount</code>, <code>videoPlayCount</code>, <code>timestamp</code>, <code>displayUrl</code>, <code>followersCount</code>, <code>followsCount</code>, <code>verified</code>… with the same values, and the post type as Video, Image or Sidecar. Sheets, code and n8n flows made for the official scrapers keep working. 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
{
  "queries": [
    "skincare routine"
  ],
  "searchType": "reel",
  "maxResultsPerQuery": 50,
  "addProfileCards": false,
  "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 = {
    "queries": [
        "skincare routine"
    ]
};

// Run the Actor and wait for it to finish
const run = await client.actor("instagram-data-api/instagram-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 = { "queries": ["skincare routine"] }

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

```

## MCP server setup

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