# Instagram User Search (`deepmine/instagram-user-search`) Actor

Instagram user search by keyword and location: accounts for any niche, job or business type with bio, followers, posts, category, email, website, business and verified flags; follower and email filters. $1.19 per 1,000 accounts on Starter, 8x cheaper than the most-used user search. No login.

- **URL**: https://apify.com/deepmine/instagram-user-search.md
- **Developed by:** [DeepMine](https://apify.com/deepmine) (community)
- **Categories:** Social media, Lead generation
- **Features:** Limited permissions
- **Stats:** 24 total users, 9 monthly users, 98.6% runs succeeded, 0 bookmarks
- **User rating**: No ratings yet

## Pricing

from $0.79 / 1,000 accounts

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 User Search: Accounts by Keyword

Find Instagram accounts by keyword and location. Type what the accounts are about (a niche, a job, a business type) and get one row per account: username, name, bio, followers, posts, category, email, website, business and verified flags. Filter by followers, verified badge or account type (business or creator), or keep only accounts with an email. No login, no cookies.

### What you get

| Field | Example |
|---|---|
| `username`, `fullName`, `biography` | the account and its bio |
| `followersCount`, `followsCount`, `postsCount` | counts as Instagram shows them |
| `businessCategoryName`, `isBusinessAccount`, `isVerified` | category and account flags |
| `contactEmail`, `contactPhone`, `externalUrl`, `bioLinks` | public contact details and links |
| `engagementRate`, `avgLikes`, `reelsMedianViews`, `latestPosts` | activity, from the latest posts and reels |
| `keyword`, `location`, `searchRank`, `foundVia` | which search found the account, and where |

Every row has more than 80 fields, plus the search fields. It also carries every key name Apify's Instagram Search Scraper and Profile Scraper use (`url`, `verified`, `private`, `externalUrls`, `inputUrl`, `searchTerm` and the rest), so code written for their rows works unchanged.

#### Include 12 latest posts, story status and related profiles

By default each row has the account's 6 latest posts from its profile card. That keeps runs fast and cheap.

Turn on **Include 12 latest posts, story status and related profiles** to add:

- the 12 latest posts, in the shape of Apify's Instagram Profile Scraper: captions, likes, comments, tagged users, music, carousel items, video URLs and reel plays
- each video's views, when its public embed shows them. Videos whose owner hides like and view counts, or turns off embedding, have none. In a test run that was 74 of 461 videos.
- whether a story is up, and when the latest one went up
- the accounts Instagram lists as related to the account, when it lists them (20 of 50 accounts in that test)

Without a login, Instagram doesn't show IGTV videos, highlight counts or the new-account and channel flags, so those fields stay empty.

This is an add-on: **$0.49 per 1,000 accounts on the Starter plan ($0.59 Free, $0.42 Scale, $0.35 Business)**, on top of the row price, charged once per row that carries these extras (an account with no posts, story status or related profiles to add isn't charged it). With it off you pay the row price only. Each account takes about 20 more page reads, so runs take longer: 79 seconds instead of 50 for 50 accounts.

### Example rows

From a run of the prefilled input (fitness coach, travel photographer; 25 accounts per search): 49 rows in 40 seconds.

| keyword | username | name | followers | posts | category |
|---|---|---|---:|---:|---|
| travel photographer | chrisburkard | ChrisBurkard | 3.8M | 5247 | Photographer |
| travel photographer | khan.isa | Isa Khan | Photographer & Videographer | 2.0M | 2441 | Photography Videography |
| travel photographer | jordhammond | JORD | TRAVEL PHOTOGRAPHY | 788k | 1398 | Photographer |
| fitness coach | carolinescircuits | Caroline Idiens | Fitness Coach | 2.5M | 2706 |  |
| fitness coach | pathradecha | Tyler Pathradecha | Online Fitness Coach | 2.2M | 4761 | Fitness Trainer |
| fitness coach | brittnebabe | Brittne Babe | Fitness Coach | 1.9M | 2838 | Athlete |

### How to use it

1. Add one or more **keywords** (fitness coach, nail salon, travel photographer).
2. Optional: add **locations** (Miami, London). Every keyword is searched once per location.
3. Set **max accounts per search** (25 for a first try).
4. Optional filters: **min / max followers**, **only accounts with an email**, **verified accounts only**, **account type** (business or creator).
5. Run it and download the rows as JSON, CSV or Excel, or read them through the API.

```json
{
  "keywords": ["fitness coach", "travel photographer"],
  "locations": [],
  "maxResults": 25,
  "minFollowers": 1000,
  "onlyWithEmail": false,
  "verifiedOnly": false,
  "accountType": "any"
}
```

### How it works

The Actor searches the web for Instagram accounts that match each keyword (and location), then reads each account's public profile. An account found by several searches is read and charged once, and its row names the first search that found it. One web search lists about 45 accounts; a search that asks for more goes on with more query shapes until it has enough or the index runs out.

### Pricing

You pay per account row: **$1.19 per 1,000 accounts** on the Starter plan ($1.39 Free, $0.99 Scale, $0.79 Business). Accounts left out by a filter aren't charged, and there is no start fee.

**Include 12 latest posts, story status and related profiles** is an add-on: $0.49 per 1,000 accounts on the Starter plan ($0.59 Free, $0.42 Scale, $0.35 Business), so **$1.68 per 1,000 accounts** on Starter with it on. Rows without it pay the row price only.

### Tips

- Specific keywords give better accounts: "vegan bakery" beats "food".
- Brand and product words ("skincare brand") find mostly posts, which name fewer accounts. Job and niche words ("esthetician", "skincare coach") find more profiles.
- Combine with a location for local businesses: "nail salon" + "Chicago".

### Related Actors

- [Instagram Profile Scraper](https://apify.com/deepmine/instagram-profile-scraper): profiles from a list of usernames.
- [Instagram Influencer Finder](https://apify.com/deepmine/instagram-influencer-finder): creators by topic, with contact details.
- [Instagram Similar Accounts](https://apify.com/deepmine/instagram-similar-accounts): accounts like the ones you give.

### FAQ

**Do I need an Instagram account?** No. Nothing logs in.

**Why fewer accounts than I asked for?** A search returns what the web index lists for it; narrow keywords can list fewer accounts than the maximum. The status line says when a search came up short, and the run summary (OUTPUT) shows how many each search and each query shape found. More keywords or locations give more accounts.

**Is it legal?** It reads public profile data only. Check the rules that apply to your use of personal data.

# Actor input Schema

## `keywords` (type: `array`):

What the accounts are about, one per line: a niche, a job, a business type (fitness coach, nail salon, travel photographer). Each keyword is one search.

## `locations` (type: `array`):

Cities or countries to search in (Miami, London). Every keyword is searched once per location. Leave empty to search without a place.

## `maxResults` (type: `integer`):

The most accounts one keyword (and location) returns. Google names about 45 accounts a query, so a search past that goes on with more query shapes until it has enough or Google runs out (often a few hundred); the run says when a search came up short. Each account is charged once per run, even when several searches find it.

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

Leave out accounts with fewer followers. Left-out accounts aren't charged.

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

Leave out accounts with more followers (e.g. 100000 for micro-influencers). Left-out accounts aren't charged.

## `onlyWithEmail` (type: `boolean`):

Return only accounts whose profile, link page or website shows an email. Accounts without one aren't charged.

## `verifiedOnly` (type: `boolean`):

Return only accounts with Instagram's verified badge. Left-out accounts aren't charged.

## `accountType` (type: `string`):

Business: Instagram business accounts (shops, salons, brands). Creator: Instagram creator accounts (influencers, coaches, artists). Left-out accounts aren't charged.

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

Add each account's 6 latest posts from its profile card (captions, likes, comments, dates).

## `includeLatestPostsAndRecord` (type: `boolean`):

Adds each account's 12 latest posts in the shape of Apify's Instagram Profile Scraper (captions, likes, comments, tagged users, music, carousel items, video URLs and reel plays). A video gets its views when its public embed shows them: not when the owner hides like and view counts or turns off embedding. Also adds whether a story is up and when, and the accounts Instagram lists as related, when it lists them. IGTV and highlight counts aren't available without a login. Add-on price: $0.49 per 1,000 accounts on the Starter plan ($0.59 Free, $0.42 Scale, $0.35 Business), on top of the row price, charged once per row that carries these extras. Off: only the row price. Each account takes about 20 more page reads, so runs take longer (a 50-account run: 79 s instead of 50 s). Off: the 6 latest posts above.

## `includeReels` (type: `boolean`):

Add each account's reel counts and views.

## `includeContactDetails` (type: `boolean`):

Look for each account's public email and phone (profile, link page, website).

## `includeCompatibilityKeys` (type: `boolean`):

Adds the key names Apify's Instagram Profile Scraper uses (url, private, verified, externalUrls, externalUrlShimmed, facebookPage, threadsNetProfile) next to ours, so code written for its rows works unchanged.

## `countryCode` (type: `string`):

Two-letter country Google searches from (us, gb, de...).

## `languageCode` (type: `string`):

Two-letter language of Google's results (en, es, de...).

## `proxyConfiguration` (type: `object`):

Apify Proxy is used by default. Google is always searched from Apify's datacenter proxies.

## Actor input object example

```json
{
  "keywords": [
    "fitness coach",
    "travel photographer"
  ],
  "maxResults": 25,
  "onlyWithEmail": false,
  "verifiedOnly": false,
  "accountType": "any",
  "includeLatestPosts": true,
  "includeLatestPostsAndRecord": false,
  "includeReels": true,
  "includeContactDetails": true,
  "includeCompatibilityKeys": true,
  "countryCode": "us",
  "languageCode": "en",
  "proxyConfiguration": {
    "useApifyProxy": true
  }
}
```

# Actor output Schema

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

No description

## `summary` (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 = {
    "keywords": [
        "fitness coach",
        "travel photographer"
    ],
    "maxResults": 25,
    "proxyConfiguration": {
        "useApifyProxy": true
    }
};

// Run the Actor and wait for it to finish
const run = await client.actor("deepmine/instagram-user-search").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": [
        "fitness coach",
        "travel photographer",
    ],
    "maxResults": 25,
    "proxyConfiguration": { "useApifyProxy": True },
}

# Run the Actor and wait for it to finish
run = client.actor("deepmine/instagram-user-search").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": [
    "fitness coach",
    "travel photographer"
  ],
  "maxResults": 25,
  "proxyConfiguration": {
    "useApifyProxy": true
  }
}' |
apify call deepmine/instagram-user-search --silent --output-dataset

```

## MCP server setup

```json
{
    "mcpServers": {
        "apify": {
            "type": "http",
            "url": "https://mcp.apify.com/?tools=fetch-actor-details,deepmine/instagram-user-search"
        }
    }
}
```

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/mopoGHoPeHPbBCx5a/builds/hV4WhkgDCKyzyBeSk/openapi.json
