# Instagram Search Scraper - Users, Hashtags, Places (`eiv/instagram-search-scraper`) Actor

Search Instagram without logging in: profiles with exact followers, hashtags with post counts, places with address, phone and coordinates, or popular reels for any keyword. Related searches, full profiles (bio, emails) and reel details on request. Pay per result.

- **URL**: https://apify.com/eiv/instagram-search-scraper.md
- **Developed by:** [Eimantas V](https://apify.com/eiv) (community)
- **Features:** Limited permissions
- **Stats:** 19 total users, 10 monthly users, 100.0% runs succeeded, 0 bookmarks
- **User rating**: No ratings yet

## Pricing

from $0.70 / 1,000 search results

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** searches Instagram the way its search box does: enter a keyword and get matching **profiles** (with exact follower counts), **hashtags** (with post counts), **places** (with address, phone and coordinates) or **popular reels** (with plays, likes and comments). No login, no API key, no browser, from **$0.70 per 1,000 results**.

```
profile   zing.coach                Zing Fitness Coach        180,267 followers   facebook.com/ZingFitnessCoach
hashtag   #streetfoodindia          1.5M posts                frequent
place     Bakeshop Praha            Bakery · Kozi 918/1, 110 00 · +420 222 316 823 · 50.0897, 14.4224
reel      instagram.com/reel/DH_6ylByiUa   @mikeyteetimes   7.1M plays · 104,305 likes · 334 comments
```

**1,315 profiles for 5 keywords in 59 seconds; 220 hashtags in 7 seconds; 450 popular reels with full details in about 2 minutes.**

### What does Instagram Search Scraper do?

Instagram Search Scraper turns keywords into Instagram data. Pick one search type per run, add as many keywords as you like, and set how many results you want for each. Each row says which keyword found it, so one run can research a whole niche, city or product category.

- **Profiles by keyword.** Accounts matching your words, with exact follower counts, the verified badge, category and the linked Facebook Page. Turn on **Profile details** for the bio, emails and phones from the bio, website links, following and post counts, and engagement over the 12 latest reels.
- **Hashtags by keyword.** Up to hundreds of hashtags per keyword with their exact post counts and a frequent / average / rare label, for picking hashtags that fit your reach.
- **Places by keyword.** Restaurants, shops, venues and other locations with address, postal code, phone, category, price range, coordinates, opening status and their top posts.
- **Popular reels by keyword.** The reels Instagram shows as top results for a keyword, with plays, creator and caption. Turn on **Reel details** for likes, comments, exact date, music, location, tagged users and the newest comments.
- **Related searches.** When a keyword has fewer results than you asked for, the Actor also searches Instagram's own related keywords (cakes prague → chimney cake prague, cake prague) and keeps only those that still contain all your words.
- **Only pay for results.** Keywords with no results, refused requests and results already delivered earlier in the run are never charged.
- **Built for automation.** Run it on a schedule, call it from the API, or connect it to Make, Zapier, n8n, Google Sheets or an AI agent through Apify's MCP server.

### Why it is fast and cheap

Instagram's own search box needs a login, so this Actor reads the public pages and endpoints that answer the same questions without one: Meta's advertiser search (it links Facebook Pages to their Instagram accounts and shows exact follower counts), Instagram's hashtag search, its public popular-reels pages and its location pages. Everything goes over plain HTTP from Apify's own addresses, with no browser and no paid proxy, so a search takes seconds and costs a fraction of a cent. Only the optional **Profile details** uses residential addresses, because Instagram shows full profiles to nobody else; that is why it is priced separately.

### What data can you extract from Instagram search?

Every row starts with `recordType` (profile, hashtag, place or reel), `searchTerm` (your keyword as you typed it), `matchedQuery` (the keyword or related keyword that found it), `searchSource`, `rank` and `url`.

#### Profiles (search type "Profiles")

| Field | Example | What it is |
|---|---|---|
| `username` | `cakeshopprague` | Instagram username |
| `fullName` | `CakeShop Prague` | Display name (the linked Facebook Page's name until details are read) |
| `followersCount` | `4525` | Exact follower count |
| `isVerified` | `false` | Verified badge |
| `category` | `Coffee shop` | Category of the linked Facebook Page |
| `facebookPageUrl`, `facebookPageLikes` | `facebook.com/cakeshopprague`, `941` | The linked Facebook Page |
| `foundInReel` | `instagram.com/reel/DPm3nJDCdRw/` | For creators of the keyword's popular reels |
| `biography`, `emails`, `phones` | `100% Vegan Bakery... Email ...@gmail.com` | With **Profile details**: bio and the contacts written in it |
| `followsCount`, `postsCount`, `isPrivate` | `1540`, `9891`, `false` | With **Profile details** |
| `externalUrl`, `externalUrls` | `happyzoeveganbakery.com` | With **Profile details**: the bio links |
| `avgReelLikes`, `avgReelPlays`, `engagementRate`, `reelsPerWeek` | `15`, `671`, `0.058`, `11.54` | With **Profile details**: from the 12 latest reels |
| `latestReels` | 12 reels | With **Profile details**: plays, likes, comments, caption, date, media |

#### Hashtags (search type "Hashtags")

| Field | Example | What it is |
|---|---|---|
| `name` | `streetfoodindia` | The hashtag, without # |
| `postsCount` | `1575920` | Exact number of posts using it |
| `postsCountText` | `1.5M posts` | Instagram's rounded count |
| `popularity` | `frequent` | frequent (1M+ posts), average (100k-1M) or rare (under 100k) |

#### Places (search type "Places")

| Field | Example | What it is |
|---|---|---|
| `name`, `category` | `Bakeshop Praha`, `Bakery` | Place name and category |
| `address`, `zip`, `city` | `Kozi 918/1`, `110 00` | Address as Instagram has it (`city` is usually empty: Instagram rarely fills it) |
| `phone`, `priceRange` | `+420 222 316 823`, `3` | Phone, price range 1-4 |
| `lat`, `lng` | `50.0897287`, `14.42240711` | Coordinates |
| `postsCount`, `openingStatus` | `3082`, `Open until 9:00 PM` | Posts tagged there, opening status at run time |
| `instagramUsername`, `followersCount` | `cakeshopprague`, `4525` | The place's own Instagram account, when it has one |
| `topPosts` | 12-18 posts | The posts shown on its location page, with likes, comments, date and author |

#### Popular reels (search type "Popular reels")

| Field | Example | What it is |
|---|---|---|
| `url`, `shortCode` | `instagram.com/reel/DH_6ylByiUa/` | The reel |
| `ownerUsername`, `ownerIsVerified` | `mikeyteetimes`, `true` | The creator |
| `playCount`, `timestamp` | `7119750`, `2025-04-03T21:00:00Z` | Plays and publish time |
| `caption`, `hashtags`, `mentions` | `The best drill to perfect your backswing...` | Caption and what it tags |
| `displayUrl`, `videoUrl` | CDN links | Thumbnail and video file |
| `likesCount`, `commentsCount` | `104305`, `334` | With **Reel details** |
| `musicInfo`, `locationName`, `taggedUsers`, `coauthors` | `Sunny Bossa`, `Boston` | With **Reel details** |
| `latestComments` | 10-15 comments | With **Reel details**: the newest comments, with author, likes and date |

### How to scrape Instagram search results

1. Click **Try for free** and enter your keywords in **Search terms**, one per line (restaurant prague, fitness coach, #vegan). Instagram links work too: a popular page, a hashtag page or a location page.
2. Choose the **Search type**: Profiles, Hashtags, Places or Popular reels.
3. Set **Results per search term** and **Max results**. You pay per result, so this is also your cost cap.
4. Click **Start**. Most searches take a few seconds per keyword. Open the **Output** tab, or download the results as JSON, CSV, Excel or HTML.

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

You pay per result returned, and the price drops on higher Apify plans:

| Apify plan | Per 1,000 results | Profile details, per 1,000 profiles (optional) |
|---|---|---|
| Free | $1.30 | $4.00 |
| Starter | $1.00 | $3.50 |
| Scale | $0.85 | $3.20 |
| Business | $0.70 | $3.00 |

- 500 hashtags for a content plan cost **$0.50** on the Starter plan.
- 200 fitness-coach profiles with their bio, emails and engagement cost 200 x ($1.00 + $3.50) / 1,000 = **$0.90** on Starter.
- Reel details and the top posts of places cost nothing extra.
- A run also costs **$0.00005** to start. A keyword that finds nothing costs nothing more.
- The Free plan's $5 monthly credit covers about **3,800 results**.

### Input

```json
{
    "searchTerms": ["restaurant prague", "coffee shop london"],
    "searchType": "user",
    "searchLimit": 50,
    "maxItems": 1000,
    "includeRelated": true,
    "profileDetails": false
}
```

| Field | Default | Notes |
|---|---|---|
| Search terms | restaurant prague | Keywords, #hashtags or Instagram links, one per line |
| Search type | Profiles | Profiles, Hashtags, Places or Popular reels |
| Search terms (comma-separated) | empty | The same, as one line: inputs written for apify/instagram-search-scraper (`search`, `searchType`, `searchLimit`) work unchanged |
| Results per search term | 50 | Up to 1,000 |
| Max results | 1,000 | Total across all keywords: your cost cap |
| Related searches | on | Fills each keyword's limit from Instagram's related keywords |
| Profile details | off | Profiles only; charged per profile read |
| Reel details | off | Popular reels only; free, about a second per reel |
| Top posts of places | on | Places only; free |

### Output

Each result is one row in the dataset. The dataset has a view per search type (**Profiles**, **Hashtags**, **Places**, **Popular reels**) and one for errors; every export includes all fields. A profile with **Profile details**:

```json
{
    "recordType": "profile",
    "searchTerm": "vegan bakery",
    "matchedQuery": "Vegan Bakery",
    "searchSource": "popular-reels",
    "rank": 12,
    "username": "happyzoeveganbakery",
    "url": "https://www.instagram.com/happyzoeveganbakery/",
    "fullName": "Happy Zoe Vegan  Bakery",
    "followersCount": 25887,
    "isVerified": false,
    "category": "Dessert Shop",
    "id": "538591747",
    "facebookPageUrl": "https://www.facebook.com/happyzoeNY",
    "facebookPageLikes": 16137,
    "foundInReel": "https://www.instagram.com/reel/DPm3nJDCdRw/",
    "dataLevel": "full",
    "biography": "100% Vegan Bakery. Do you need a vegan birthday cake? Vegan Gluten free cake or cheesecake? Email happyzoeveganbakery@gmail.com",
    "followsCount": 1540,
    "postsCount": 9891,
    "isPrivate": false,
    "externalUrl": "http://happyzoeveganbakery.com/",
    "emails": ["happyzoeveganbakery@gmail.com"],
    "phones": ["+12019662263"],
    "latestReelAt": "2026-11-02T15:33:36.000Z",
    "avgReelLikes": 15,
    "avgReelPlays": 671,
    "engagementRate": 0.058,
    "reelsPerWeek": 11.54
}
```

A keyword that finds nothing, or cannot be read, becomes a row with `"recordType": "error"` and an `errorCode` instead of failing the whole run:

| `errorCode` | Meaning |
|---|---|
| `NO_RESULTS` | Instagram has nothing for this keyword in this search type; try fewer or more general words |
| `NOT_FOUND` | A pasted location link that does not exist |
| `BLOCKED` / `RATE_LIMITED` | Instagram refused every address the run tried; run it again later |
| `SOURCE_CHANGED` | Instagram or Meta changed a page this Actor reads; it needs an update |

Error rows are never charged.

### Tips and limits

- **Profiles and places are found by name.** The search matches account and business names, so add the city or niche to the keyword (restaurant prague, dentist miami). Results whose name does not contain your words are left out.
- **Places in one city.** "hotel paris" returns hotels with Paris in their name, almost all in Paris; when a keyword's own places sit in one area, places from its related searches outside that area are left out (not charged). Names travel, though: "Cafe London" and "Bar New York" exist in many countries and all match those keywords. Filter on `lat` and `lng` when you need one city only.
- **About 250 profiles per keyword.** The keyword, its related keywords, the creators of its popular reels and the keyword followed by each letter (coffee a, coffee b...) together give about 200-300 accounts for a broad word; a narrow keyword gives fewer.
- **12 popular reels per keyword page.** Instagram shows logged-out visitors the top 12 reels of each keyword; related searches add 12 more per related keyword.
- **Places need an address.** Brands and online shops that match your words but have no address are skipped (and not charged).
- **Profile details are what Instagram shows logged-out visitors.** Business emails and phones behind the profile's buttons stay hidden; the Actor returns the ones written in the bio and links. Private accounts have no reels to measure.
- **Hit your spending limit?** The run stops cleanly at your maximum cost per run and keeps everything it collected. Raise the limit in the run options to get more.

### FAQ

#### Is it legal to scrape Instagram search results?

This Actor collects only data that Instagram and Meta show publicly, without logging in. Results can still contain personal data, which laws such as the GDPR protect. Scrape personal data only for a legitimate purpose, and ask a lawyer if you are unsure. Instagram and Facebook are trademarks of Meta; this Actor is not affiliated with or endorsed by them.

#### Can I use it through the API or with Make, Zapier and n8n?

Yes. Every run can be started through the [Apify API](https://docs.apify.com/api/v2) and returns the dataset as JSON, CSV or Excel. Schedules, webhooks and integrations for Make, Zapier, n8n and Google Sheets are on the **Integrations** tab.

#### Can AI agents use it?

Yes. Agents connected to [Apify's MCP server](https://mcp.apify.com) can find and run this Actor as a tool, with the same per-result pricing.

#### Can I switch from apify/instagram-search-scraper?

Yes. Its input names (`search` as a comma-separated string, `searchType` with place, user, hashtag or popular, and `searchLimit`) work here unchanged. The output fields have their own names, listed above.

#### Why did I get fewer results than I asked for?

The keyword has fewer matches than your limit, the run reached your maximum cost per run, or it reached its timeout. The log says which, and nothing collected before that is lost.

### Related scrapers

- [Instagram Post & Reel Scraper](https://apify.com/eiv/instagram-post-scraper): every post and reel of the profiles you find, with exact likes, views and comments.
- [Facebook Pages Scraper](https://apify.com/eiv/facebook-pages-scraper): emails, phones and followers of the Facebook Pages linked to the accounts you find.
- [TikTok Video Scraper](https://apify.com/eiv/tiktok-video-scraper): the same research on TikTok.

### Support

Missing a field, or found a keyword that does not work? Open an issue on the **Issues** tab with the input you used, and it will be looked at quickly.

# Actor input Schema

## `searchTerms` (type: `array`):

One keyword per line, e.g. restaurant prague, fitness coach, #vegan, nike. Instagram links work too: a popular page, a hashtag page, a keyword search or (for places) a location page.

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

What to find for each keyword: profiles (accounts with followers), hashtags (with post counts), places (venues with address, phone and coordinates) or popular reels (Instagram's top reels for the keyword).

## `search` (type: `string`):

The same as "Search terms", as one comma-separated line (restaurant, restaurant prague). Kept so inputs written for apify/instagram-search-scraper work unchanged. Use either field, or both.

## `searchLimit` (type: `integer`):

The most results to return for each keyword. Instagram's own answer gives 10-15 profiles, up to 55 hashtags or 12 reels per keyword; related searches (below) fill the rest of this limit.

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

Stop after this many results in total, across all keywords. You pay per result, so this is also your cost cap for the run.

## `includeRelated` (type: `boolean`):

When a keyword has fewer results than your limit, also search Instagram's related keywords for it (cakes prague -> cake prague, chimney cake prague, ...), and for profiles the creators of its popular reels. Each row says which keyword found it. Off: only the keyword itself.

## `profileDetails` (type: `boolean`):

Profiles only. Adds the full profile to each account: bio, emails and phones from the bio, posts and following counts, links, business category, 12 latest posts and engagement rate. Charged as a separate event per profile read; slower.

## `reelDetails` (type: `boolean`):

Popular reels only. Opens each reel for likes, comments, exact date, duration, music, location, tagged users, collaborators and the newest comments. No extra charge; about one second more per reel.

## `placePosts` (type: `boolean`):

Places only. Includes the place's top posts as Instagram shows them on its location page (caption, likes, comments, date, author). No extra charge.

## `maxConcurrency` (type: `integer`):

How many search terms are processed at the same time.

## `requestTimeoutSecs` (type: `integer`):

How long to wait for one response before trying another address.

## `maxRetries` (type: `integer`):

Retries for failed connections on the same address before moving to another one. Timeouts are not retried.

## Actor input object example

```json
{
  "searchTerms": [
    "restaurant prague"
  ],
  "searchType": "user",
  "searchLimit": 50,
  "maxItems": 1000,
  "includeRelated": true,
  "profileDetails": false,
  "reelDetails": false,
  "placePosts": true,
  "maxConcurrency": 4,
  "requestTimeoutSecs": 30,
  "maxRetries": 1
}
```

# Actor output Schema

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

Every row of the run. The dataset has a view per search type (Profiles, Hashtags, Places, Popular reels) and one for errors.

## `summary` (type: `string`):

Totals for the run: search terms, results, terms with no results, failures, requests by source and why the run stopped.

# 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 = {
    "searchTerms": [
        "restaurant prague"
    ]
};

// Run the Actor and wait for it to finish
const run = await client.actor("eiv/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 = { "searchTerms": ["restaurant prague"] }

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

```

## MCP server setup

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