# Instagram User Search Scraper · No Login (`instagram-data-api/instagram-user-search-scraper`) Actor

Instagram user search by keyword, no login — $2.12/1K with the full profile (Apify's: $2.30). Each account: username, name, followers, bio, links, category, verified, engagement, 12 latest posts — 82 fields. Follower range filter, many keywords. CSV, Excel, JSON.

- **URL**: https://apify.com/instagram-data-api/instagram-user-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:** 15 total users, 6 monthly users, 100.0% runs succeeded, 0 bookmarks
- **User rating**: No ratings yet

## Pricing

from $1.45 / 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 scraper — accounts by keyword with full profiles, no login

**Type keywords — get the Instagram accounts for each, with the public profile of every one: followers, bio, links, category, verified, engagement and 12 latest posts. No login, no cookies. $2.12 per 1,000 accounts on Starter vs $2.30 at Apify's Search Scraper.**

**Real run, 17 Nov 2026:** 10 keywords × 50 asked — 453 accounts with their profiles in 38.4 s; 8 of the 10 keywords gave all 50.

- 🎯 **Follower range, verified, account type** — an account outside costs $0.45 per 1,000 instead of $2.12.
- 🔎 **Plainly:** accounts come from Threads' account search and the authors of the keyword's reels, not Instagram's own ranking (a paid box); a keyword gives fewer than you ask only when these sources run out.
- ✉️ **E-mails written in a bio come free**; a business's Email and Call buttons — a paid box.
- 🔓 **Never charged:** duplicates, names Threads has and Instagram doesn't, a keyword nobody is found for.

**Try it:** press **Start** — the prefilled `vegan bakery` returned 25 accounts for 25 asked in 9.9–11.1 s (17 Nov 2026).

> 🆕 **New** — tried it? Tell us in a review.

### Why scrape Instagram user search results?

- **Influencer shortlists:** creators for a keyword with followers, engagement rate and latest reels — filter by a follower range, e.g. 10,000–100,000 for micro-influencers.
- **Lead lists:** businesses for a keyword — bakeries, coaches, dentists — with category, website, bio and the e-mails written in it.
- **Competitor mapping:** who shows up for your niche's words, with posts count and how often they post.
- **Enrich later:** give the dataset to a followers or posts scraper — the usernames are in every row.
- **Export to CSV, Excel or JSON** for a sheet, a CRM or an AI agent.

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

| Data | What it is |
|---|---|
| Search term | The keyword you searched, as you typed it |
| Rank | The account's place among those found for the keyword: Threads' account search first, in its order, then the authors of the keyword's reels |
| Found by | Where the account was found: threads — Threads' account search (the same username on Instagram); reels — the author of a reel Instagram's public search shows for the keyword; instagram — Instagram's own account search (the logged-in box) |
| Username | The account's Instagram username |
| Name | The account's display name |
| Followers | How many followers the account has — read with no login |
| Following | How many accounts it follows |
| Posts | Exact number of posts on the profile; null when Instagram doesn't show it to visitors |
| Verified | True if the account has the blue check |
| Category | Category shown under the name, e.g. Coffee shop — read without login |
| Account type | personal, business or creator |
| Bio | The bio, as written on the profile |
| Website | Website link of the profile |
| Engagement, % | Engagement in %: (likes + comments) per post ÷ followers × 100, over the latest posts, pinned ones left out |

Up to 82 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 accounts with their profile (Starter) | $2.12 + $1.75 per 1,000 keywords read | $2.30 |
| 1,000 accounts over 20 keywords (Starter) | $2.16 | $2.30 |

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

### How to scrape Instagram user search results

1. Type keywords — `vegan bakery`, `fitness coach` — one per line.
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.

Reads the public profile of every account found, as a logged-out visitor sees it 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": [
    "vegan bakery"
  ],
  "maxResultsPerQuery": 25,
  "verifiedOnly": false,
  "accountType": "any",
  "includeContacts": false,
  "includeInstagramSearch": false
}
```

### Output example: Instagram user search results data

```json
{
  "searchTerm": "vegan bakery",
  "rank": 8,
  "searchSource": "threads",
  "username": "veganantics",
  "fullName": "VEGAN ANTICS BAKERY🧁",
  "profileUrl": "https://www.instagram.com/veganantics/",
  "followers": 10122,
  "following": 1065,
  "posts": 4203,
  "biography": "🌱 VEGAN BAKERY & CAFÉ\n🍰 CAKES & PATISSERIE \n🥑 BREAKFAST & BRUNCH\n🕒 WED-SAT 9-4, SUN 10-4\n📦 UK WIDE SHIPPING\n🐾 DOG FRIENDLY\n✉️ H•@VEGANANTICS.CO.UK",
  "externalUrl": "http://veganantics.co.uk",
  "bioLinks": [
    "http://veganantics.co.uk",
    "https://veganantics.co.uk/products/copy-of-halloween-cake-decorating-workshop"
  ],
  "category": "Bakery",
  "accountType": "business",
  "isBusiness": true,
  "isVerified": false,
  "isPrivate": false,
  "hasHighlights": true,
  "highlightsCount": 10,
  "threadsUsername": "veganantics",
  "engagementRate": 0.46,
  "avgLikes": 46.0,
  "avgComments": 0.6,
  "postsPerWeek": 3.93,
  "lastPostAt": "2026-11-14T08:00:04Z",
  "daysSinceLastPost": 3,
  "avgReelViews": 1030.2,
  "medianReelViews": 1109.5,
  "bestPostUrl": "https://www.instagram.com/p/DfVBmqkiAwu/",
  "bestPostLikes": 91,
  "topHashtags": [
    "café",
    "coffee",
    "coffeemorning",
    "veganantics",
    "vegancafe",
    "chai",
    "chailatte",
    "pumpkinspice",
    "rose",
    "ube"
  ],
  "latestPosts": [
    {
      "type": "carousel",
      "shortCode": "DftuhciiF_d",
      "url": "https://www.instagram.com/p/DftuhciiF_d/",
      "caption": "NEW CHAI 🚨\n\nA warming spiced hug in a mug, blended in house 🌹🌸\n\n#chai #chailatte #pumpkinspice #ube #rose",
      "takenAt": "2026-11-14T08:00:04Z",
      "views": null,
      "likes": 40,
      "comments": 0,
      "isPinned": false
    }
  ],
  "latestReels": [
    {
      "shortCode": "DfVNlwZh8zE",
      "url": "https://www.instagram.com/reel/DfVNlwZh8zE/",
      "views": 882,
      "likes": 11,
      "comments": 0,
      "takenAt": "2026-11-04T19:30:43Z",
      "isPinned": false
    }
  ],
  "publicEmail": null,
  "publicPhone": null,
  "bioEmails": [
    "h•@veganantics.co.uk"
  ],
  "bioPhones": [],
  "notCollected": [
    "publicEmail",
    "publicPhone",
    "publicPhoneCountryCode",
    "contactMethod",
    "whatsapp",
    "city",
    "address",
    "zip",
    "latitude",
    "longitude",
    "reelsCount",
    "aiAccountLabel",
    "latestPosts.audio",
    "latestPosts.location"
  ],
  "note": "Found by Threads' account search for your word (the same username on Instagram). Read from Instagram's public view (no login). Email, phone and address come with “Business email, phone & address”; join date and country with “Join date & country” (paid Apify plans)",
  "scrapedAt": "2026-11-17T12:07:13Z"
}
```

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

**Coming from another user search scraper?** Its input works as it is: khadinakbar's `searchQueries`,
`maxResultsPerQuery`, `minimumFollowers`, `maximumFollowers` and `verifiedOnly`; seemuapps' `queries`; data-slayer's
`query` and `maxItems`; memo23's `onlyVerified`; the `search`, `searchLimit` and `liveSearch` of Apify's Instagram Search
Scraper. Tick *Also add Apify-style field names* and every row also gets `followersCount`, `followsCount`, `postsCount`,
`verified`, `private` and `url` with the same values — your sheets, code and n8n flows keep working. Long list of
keywords? Upload it as a CSV or TXT file in *Or upload a list of keywords*.

### Limits

- Accounts come from Threads' account search (up to 30 a keyword) and the authors of the keyword's reels — not Instagram's own ranking, which needs a login (*Instagram's own account search*, paid plans).
- A keyword gives fewer accounts than you ask only when its sources run out — Threads' search shows up to 30 a keyword, the rest are its reels' authors: 8 of 10 keywords gave 50 for 50 on 17 Nov 2026. A name Instagram doesn't have is replaced by the next account found, free.
- The Email, Call and WhatsApp buttons of business accounts are shown to logged-in users only — a paid box; e-mails written in the bio come free.
- Join date and country are not in this row.
- **Free Apify plan:** the whole no-login result, no cap of ours — the accounts of each keyword with their public profiles, collected on Apify and paid from your monthly Apify credit at the Free price. The logged-in boxes (*Business email & phone*, *Instagram's own account search*) are for paid Apify plans: on the free plan the run leaves them out and says so.

### How much does it cost to scrape Instagram user 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 accounts | What $5 of free credit gets you |
|---|---|---|
| Free | $2.45 | ≈ 2,000 accounts |
| Starter | $2.12 | — |
| Business and higher | $1.45 | — |

Every event of this Actor on the Starter plan:

| Event | What it is | Price |
|---|---|---|
| Account | Each account delivered for your keyword — found by Threads' account search or as the author of the keyword's reels — with its public Instagram profile read with no login: followers, following, bio, links, category, posts count, 12 latest posts and reels | $2.12 per 1,000 |
| Keyword read | Each keyword read — with accounts, or with none in your filters. Once per keyword per run; a keyword nobody is found for, one nothing could be read for and duplicates are free | $1.75 per 1,000 |
| Account under your filter | Each account whose profile was read and found outside your follower range, “Verified accounts only” or “Account type” — not delivered | $0.45 per 1,000 |
| Add-on: logged-in read | Each business or creator account read for “Business email & phone”, and each account found by “Instagram's own account search” — only when you tick one of those boxes (paid Apify plans) | $0.70 per 1,000 |
| Add-on: found contact | Each account where a business email, phone or WhatsApp was found (only with “Business email & phone”) | $7.45 per 1,000 |

**Typical jobs on Starter:**

- 25 accounts with their profiles for one keyword ≈ $0.06
- 50 accounts for each of 10 keywords ≈ $1.08
- 1,000 accounts over 20 keywords ≈ $2.16

**Always free:** duplicates, names Threads has and Instagram doesn't, a keyword nobody is found for and one nothing could be read for. Set **Maximum cost per run** in the run options to cap any run.

### Instagram user 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-user-search-scraper").call(run_input={'queries': ['vegan bakery'], 'maxResultsPerQuery': 25, 'verifiedOnly': False, 'accountType': 'any', 'includeContacts': False, 'includeInstagramSearch': 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-user-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-user-search-scraper"`
- **Claude, Cursor, VS Code, n8n:** add `https://mcp.apify.com?tools=instagram-data-api/instagram-user-search-scraper` as a remote MCP server and sign in to Apify.
- **Ask it:** *“Find Instagram accounts for “vegan bakery” with their followers and bio.”* · *“Find fitness coaches on Instagram with 10,000 to 100,000 followers.”*

### FAQ: scraping Instagram user search results

**Where do the accounts come from?**
Instagram's own account search is closed to logged-out visitors — on 16 Nov 2026 we tried 15 ways in, every one asked for a login. Threads' account search is open and gives Instagram usernames; we add the authors of the reels Instagram's public search shows for your keyword. Each account is then read as its full public Instagram profile; `searchSource` says which source found it. Instagram's own ranking: the box *Instagram's own account search* (paid plans).

**Why did I get fewer accounts than I asked for?**
A name Threads has and Instagram doesn't, or a profile Instagram doesn't show to visitors, is replaced by the next account found — free. A keyword gives fewer only when its sources run out: on 17 Nov 2026, of 10 keywords × 50, 8 gave all 50; “personal trainer london” 43, “dentist austin” 10. You pay only for the accounts delivered.

**How fast is it?**
Each account is a full profile read, so it is slower than a list of names. Measured on Apify on 17 Nov 2026, on this Actor: one keyword × 25 accounts in 9.9 s and 10 keywords × 50 (453 accounts) in 38.4 s on paid plans; on the free plan 2 keywords × 25 (50 accounts) in 45.1 s. Rows appear in the dataset while the run goes.

**How much do 1,000 accounts cost?**
On Starter $2.12 per 1,000 accounts with their profile plus $1.75 per 1,000 keywords read: 25 accounts of one keyword ≈ $0.06; 1,000 accounts over 20 keywords ≈ $2.16. There is no separate fee for followers, bio or category — they are in the row.

**Am I charged for accounts outside my filters?**
Yes, at a lower price: to know an account's followers or type its profile is read, so one outside your follower range, without the blue check (*Verified accounts only*) or of another *Account type* costs $0.45 per 1,000 instead of $2.12 and is not delivered. With *Account type* the next account found takes its place.

**Is a keyword charged when nothing came?**
Not when nobody is found for it — that keyword is a free row. A keyword whose accounts all fall outside your filters was read: it is charged as one keyword read ($1.75 per 1,000) and a row says so. Free too: a keyword nothing could be read for, and duplicates.

**Can I get emails and phones?**
E-mails and phones written in a bio or its links come free in every row (`bioEmails`, `bioPhones`). The Email, Call and WhatsApp buttons of business and creator accounts are shown to logged-in users only: tick *Business email & phone* (paid plans) — $0.70 per 1,000 such accounts checked and $7.45 per 1,000 with a contact found.

**Can I try it for free?**
Yes. On Apify's free plan the whole no-login result is read on Apify with no cap of ours, paid from the monthly free credit Apify gives every account at the Free price: $2.45 per 1,000 accounts — about 2,000 accounts for $5. The two logged-in boxes are for paid plans.

**Can I get the followers or posts of these accounts?**
Give this run's dataset to [Instagram Followers Scraper · No Login](https://apify.com/nologin/instagram-followers-scraper) or [Instagram Posts Scraper · No Login](https://apify.com/nologin/instagram-posts-scraper) — they take the usernames from it.

**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 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-user-search-scraper
Does:    Search Instagram accounts by keyword with no login: followers, bio, category, verified, engagement, latest posts. Follower filter.
Input:   {"queries": ["vegan bakery"], "maxResultsPerQuery": 25, "verifiedOnly": false, "accountType": "any", "includeContacts": false, "includeInstagramSearch": false}
Output:  one JSON row per result, up to 82 fields; main: searchTerm, rank, searchSource, username, fullName, followers, following, posts, isVerified, category, accountType, biography, externalUrl, engagementRate
Free:    duplicates, names Threads has and Instagram doesn't, a keyword nobody is found for and one nothing could be read for
Price:   event "account-card" $2.12 per 1,000 on Starter + $0.0005 per run
Run:     POST https://api.apify.com/v2/acts/instagram-data-api~instagram-user-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) · [Reels search](https://apify.com/instagram-data-api/instagram-reels-search-scraper) · [Transcripts](https://apify.com/instagram-data-api/instagram-reels-transcript) · [Video downloader](https://apify.com/instagram-data-api/instagram-video-downloader) · [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) · [User search](https://apify.com/instagram-data-api/instagram-user-search-scraper) · [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) |

### More data tools by us

| Actor | What you get | Price |
|---|---|---|
| [Meta Ads Library Scraper](https://apify.com/instagram-data-api/meta-ads-library-scraper) | Facebook & Instagram ads by keyword, page or ad ID: text, link, images, videos, platforms | from $0.65 / 1,000 ads |
| [Google Ads Transparency Center Scraper](https://apify.com/instagram-data-api/google-ads-transparency-scraper) | competitor Google ads by website or advertiser, 243 regions: format, first / last shown, days shown | from $1.45 / 1,000 ads |
| [LinkedIn Ad Library Scraper](https://apify.com/instagram-data-api/linkedin-ad-library-scraper) | competitor LinkedIn ads by company, keyword or payer: headline, text, images, video, carousel slides | from $1.90 / 1,000 ads |
| [Pinterest Scraper](https://apify.com/instagram-data-api/pinterest-scraper) | search pins and a profile's pins: saves, comments, outbound link, video, board | from $2.00 / 1,000 pins |
| [YouTube Shorts Scraper](https://apify.com/instagram-data-api/youtube-shorts-scraper) | a channel's Shorts or Shorts search by keyword: exact views, likes, comments, sound | from $0.60 / 1,000 Shorts |
| [YouTube Comments Scraper](https://apify.com/instagram-data-api/youtube-comments-scraper) | comments and replies, top or newest: likes, date, creator heart, pinned; no API key | from $0.80 / 1,000 comments |
| [Threads Scraper](https://apify.com/instagram-data-api/threads-scraper) | posts, replies, reposts, profiles, keyword and hashtag search, with view counts | from $1.35 / 1,000 posts |
| [Google News Scraper](https://apify.com/instagram-data-api/google-news-scraper) | news by keyword, topic, place or publisher, 83 editions: headline, publisher, time, related coverage | from $1.50 / 1,000 articles |

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

Found it useful? Rate it with the stars under “Rating” on this page — it helps others find it.

# Changelog

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

# Actor input Schema

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

One per line: a word or a phrase — <code>vegan bakery</code>, <code>fitness coach</code>, <code>dentist austin</code>. Each keyword is searched on its own; an account found by two keywords is delivered and charged once.

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

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

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

How many accounts to take for each keyword. Empty — 20. A name Threads has and Instagram doesn't is replaced by the next account found, free; a keyword gives fewer only when its sources run out. On Starter: $2.12 per 1,000 accounts with their profile + $1.75 per 1,000 keywords read.

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

Only accounts with at least this many followers.

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

Only accounts with at most this many followers — e.g. 10,000–100,000 for micro-influencers.

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

Only accounts with the blue check.

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

Keep only this type of account. The type is on the profile, so an account of another type was read: it costs $0.45 per 1,000 (Starter), is not delivered, and the next account found takes its place.

## `includeContacts` (type: `boolean`):

Each business or creator account found also gets its email, phone and WhatsApp buttons: + $0.70 per 1,000 such accounts checked and + $7.45 per 1,000 with a contact found (Starter). Personal accounts have no buttons — not read, not charged. E-mails written in a bio come free in every row.

## `includeInstagramSearch` (type: `boolean`):

Accounts as Instagram's own search ranks them, instead of Threads' account search and the reels' authors; each still read with no login: + $0.70 per 1,000 accounts found (Starter).

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

Every row also gets <code>followersCount</code>, <code>followsCount</code>, <code>postsCount</code>, <code>verified</code>, <code>private</code>, <code>url</code>… with the same values — as the account rows of Apify's Instagram Search Scraper. Sheets, code and n8n flows made for it 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": [
    "vegan bakery"
  ],
  "maxResultsPerQuery": 25,
  "verifiedOnly": false,
  "accountType": "any",
  "includeContacts": false,
  "includeInstagramSearch": 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": [
        "vegan bakery"
    ],
    "maxResultsPerQuery": 25
};

// Run the Actor and wait for it to finish
const run = await client.actor("instagram-data-api/instagram-user-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": ["vegan bakery"],
    "maxResultsPerQuery": 25,
}

# Run the Actor and wait for it to finish
run = client.actor("instagram-data-api/instagram-user-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": [
    "vegan bakery"
  ],
  "maxResultsPerQuery": 25
}' |
apify call instagram-data-api/instagram-user-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-user-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/UIneiintW9Dkc4CjG/builds/kyDaBYp0Jgbfj6Rtl/openapi.json
