# Instagram Search Scraper: $1.90 per 1,000 Results (`rowfinch/instagram-search-scraper`) Actor

From $1.75 per 1,000 results. Search Instagram by keyword: profiles with bio, links and counts, hashtags with post counts, places with address and coordinates, or popular reels.

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

## Pricing

from $1.75 / 1,000 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

Search Instagram by keyword and get one row per result: profiles with their bio, links and counts, hashtags with post counts, places with their address and coordinates, or the popular reels for a keyword.

### What you get

- **Profiles**: name, username, bio, followers, following, posts, verified and business flags, every link in the bio, business category and address.
- **Hashtags**: the tag, its post count and its link.
- **Places**: name, address, city and coordinates.
- **Popular reels**: caption, hashtags, plays, likes, comments, timing and the account that posted it.
- **Latest posts** (optional, profiles only): the latest 12 posts of each public profile.

Every row starts with the keyword it came from.

### What it's for

- **Finding accounts**: all creators or brands for a niche, with followers and contact links in one table.
- **Sizing a topic**: post counts for hashtags, so you can compare topics.
- **Local leads**: places in a city, with address and coordinates.
- **Trend research**: the reels that rank for a keyword.

### Input

| Field | What it does |
|---|---|
| `search` | Keywords separated by commas. Accepts a list too |
| `searchType` | `user` (profiles), `hashtag`, `place` or `popular` (reels). Default `hashtag` |
| `searchLimit` | Results per keyword, 1 to 250. Default 10. Hashtags stop at about 55 and places at about 30; popular reels at about 64 |
| `includeLatestPosts` | Profiles only. Adds the latest 12 posts of each public profile |

```json
{
  "search": "restaurant, restaurant prague",
  "searchType": "user",
  "searchLimit": 10,
  "includeLatestPosts": false
}
```

### Output

A profile:

```json
{
  "searchTerm": "restaurant prague",
  "searchSource": "instagram",
  "inputUrl": "https://www.instagram.com/wanderpine/",
  "id": "51234567890",
  "username": "wanderpine",
  "url": "https://www.instagram.com/wanderpine/",
  "fullName": "Wander Pine",
  "biography": "Trail notes and small adventures.",
  "externalUrl": "https://wanderpine.example/shop",
  "followersCount": 48210,
  "followsCount": 312,
  "postsCount": 764,
  "isBusinessAccount": true,
  "businessCategoryName": "Outdoors",
  "private": false,
  "verified": false,
  "latestPosts": []
}
```

A hashtag:

```json
{
  "searchTerm": "trailrunning",
  "searchSource": "instagram",
  "inputUrl": "https://www.instagram.com/explore/tags/trailrunning/",
  "id": "17843123456789012",
  "name": "trailrunning",
  "url": "https://www.instagram.com/explore/tags/trailrunning/",
  "postsCount": 3120456
}
```

A place:

```json
{
  "searchTerm": "lucerna",
  "searchSource": "instagram",
  "inputUrl": "https://www.instagram.com/explore/locations/106341234/lucerna-music-bar/",
  "location_id": "106341234",
  "name": "Lucerna Music Bar",
  "url": "https://www.instagram.com/explore/locations/106341234/lucerna-music-bar/",
  "location_address": "Vodickova 36",
  "location_city": "Prague",
  "lat": 50.0812,
  "lng": 14.4267
}
```

A popular reel:

```json
{
  "searchTerm": "pine forest",
  "searchSource": "instagram",
  "id": "3369450800358839406",
  "type": "Video",
  "shortCode": "DLNsnpUTdVS",
  "url": "https://www.instagram.com/p/DLNsnpUTdVS/",
  "caption": "Morning on the ridge.",
  "videoPlayCount": 182400,
  "likesCount": 9120,
  "commentsCount": 214,
  "timestamp": "2026-11-18T07:12:00.000Z",
  "ownerUsername": "wanderpine"
}
```

Fields a result doesn't have come back as `null`, or as an empty list. Private profiles come back without `latestPosts`.

A keyword with no results gets one row with the reason, and it isn't charged:

```json
{ "searchTerm": "zzqxv", "searchSource": "instagram", "error": "No hashtags found", "input": "zzqxv" }
```

### Price

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

| Apify plan | Results | Latest posts (optional) |
|---|---|---|
| Free | $2.30 | $1.20 |
| Starter | **$1.90** | $1.20 |
| Scale | $1.80 | $1.20 |
| Business and up | $1.75 | $1.20 |

- A result is one profile, hashtag, place or reel.
- Latest posts are charged per profile that returns them, when `includeLatestPosts` is on with `searchType` set to `user`.
- Keywords with no results: free.

| Run on Starter | Cost |
|---|---|
| 10 keywords, 50 hashtags each | $0.95 |
| 5 keywords, 100 profiles each | $0.95 |
| 5 keywords, 100 profiles each, with latest posts | $1.55 |

A run stops at the maximum cost you set for it.

### Free plan

On Apify's free plan a run returns up to 10 results. Any paid plan removes the limit.

### FAQ

**Why are there fewer results than the results per keyword?**
Accounts, places or reels that show up under more than one keyword are returned once. Instagram also returns fewer hashtags than the limit for some keywords.

**What does popular mean?**
The reels Instagram ranks highest for the keyword. Instagram returns about 64 per keyword, so a higher `searchLimit` gives you all of them.

**Why is `businessAddress` null?**
The account doesn't show a business address. Most personal accounts don't.

**Why is `latestPosts` empty?**
Turn on `includeLatestPosts`. Private accounts and accounts without posts have none.

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

# Actor input Schema

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

Keywords separated by commas, for example: restaurant, restaurant prague.

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

What each keyword searches for.

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

Hashtags stop at about 55, places at about 30 and popular reels at about 64.

## `includeLatestPosts` (type: `boolean`):

Profiles only. Adds the latest 12 posts of each public profile.

## Actor input object example

```json
{
  "search": "restaurant prague",
  "searchType": "user",
  "searchLimit": 10,
  "includeLatestPosts": false
}
```

# Actor output Schema

## `results` (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 = {
    "search": "restaurant prague",
    "searchType": "user",
    "searchLimit": 10
};

// Run the Actor and wait for it to finish
const run = await client.actor("rowfinch/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 = {
    "search": "restaurant prague",
    "searchType": "user",
    "searchLimit": 10,
}

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

```

## MCP server setup

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