# Instagram Users scraper from any keyword - cookieless (`patient_discovery/instagram-search-users`) Actor

Extract Instagram user profiles by keyword search with this cookieless, no login scraper. Get verified accounts, follower counts, engagement rates, business emails, and profile insights in JSON or CSV. Ideal for lead generation, competitor research, and scalable Instagram data extraction workflows.

- **URL**: https://apify.com/patient_discovery/instagram-search-users.md
- **Developed by:** [Surge Street](https://apify.com/patient_discovery) (community)
- **Categories:** Social media, Lead generation, Other
- **Features:** Limited permissions
- **Stats:** 972 total users, 23 monthly users, 100.0% runs succeeded, 5 bookmarks
- **User rating**: 5.00 out of 5 stars

## Pricing

from $1.50 / 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 Users Extractor - No Login Required**

## **What does this scraper do?**

This actor extracts Instagram user profiles by keyword search.

Input a keyword, run the actor, get structured Instagram user profile data from search results.

No Instagram login, no cookies, no session needed.

Cookieless design ensures easy, risk-free, scalable automation.

## **Why scrape Instagram user search results?**

Instagram user search helps you discover accounts related to specific industries, niches, or keywords. This helps brands, agencies, and analysts to:

- Spot potential leads and influencers
- Benchmark competitors by keywords
- Analyze engagement quality and follower growth
- Identify verified or business accounts
- Extract publicly available contact information
- Segment users by geography or category
- Build targeted prospect lists for outreach

Its cookieless design fits scalable data pipelines without needing Instagram accounts.

## **How much will scraping cost?**

The pricing for this actor is **$2.50 per 1,000 scraped results**. Refer to the pricing page.

Because this actor does not require login or session management, it reduces operational complexity and lowers the risk associated with account-based scraping. This predictable architecture keeps your data pipelines highly stable.

## **How to use the scraper**

Here is a **step-by-step guide**:

**Step 1: Open the actor:** Go to your Apify Console and open the scraper.

**Step 2: Enter your input parameters:** In the input field, enter the search query you want to target (e.g., "fitness coach", "tech founder", "marketing agency").

**Step 3: Start the run:** Click Start to begin scraping. The actor will automatically fetch user accounts matching your search term.

**Step 4: Export or integrate:** Once complete, download the dataset in JSON, CSV, or connect it via API to your analytics, CRM, or automation system. You can sort users by metrics like `engagement_rate` or `follower_count` to prioritize high-value profiles.

## **Input parameters**

Below are the configuration options you can use to control the scraper.

**Input example**

```json
{
  "query": "fitness coach"
}
```

| Field | Type | Description |
|-------|------|-------------|
| query | String | Search term or keyword to find relevant Instagram user accounts |

## **What data does this scraper extract?**

**Formats**: JSON, CSV, Excel

**Key Fields Extracted**:

- `search_id` - Unique identifier for the search operation
- `query_timestamp` - ISO 8601 timestamp of the search
- `results.user_id` - Instagram internal user ID
- `results.username` - Account username
- `results.display_name` - Public display name
- `results.external_id` - Composite extraction identifier
- `results.is_verified` - Verification status
- `results.is_private` - Private account indicator
- `results.language_code` - Primary language
- `results.follower_count` - Number of followers
- `results.following_count` - Number of accounts followed
- `results.post_count` - Total number of posts
- `results.engagement_metrics.avg_likes` - Average likes
- `results.engagement_metrics.avg_comments` - Average comments
- `results.engagement_metrics.engagement_rate` - Engagement percentage
- `results.engagement_metrics.reach_score` - Reach effectiveness score
- `results.profile_metadata.category` - Account category
- `results.profile_metadata.business_email` - Public business email (if available)
- `results.profile_metadata.website` - Website URL
- `results.profile_metadata.location.city` - City
- `results.profile_metadata.location.country_code` - Country code
- `results.profile_metadata.location.timezone` - Timezone
- `results.content_analysis.primary_topics` - Content themes
- `results.content_analysis.sentiment_score` - Sentiment score
- `results.content_analysis.account_quality_score` - Account quality score
- `results.scraped_at` - Extraction timestamp

All data is returned as structured JSON with null-safe fields for reliable downstream processing.

### Sample Output

```json
{
  "search_id": "usr_789456123",
  "query_timestamp": "2025-12-19T08:15:22Z",
  "results": {
    "user_id": "245789123456",
    "username": "tech_innovator",
    "display_name": "Tech Innovator",
    "external_id": "ig_usr_245789123456_2025121908",
    "is_verified": true,
    "is_private": false,
    "language_code": "en",
    "follower_count": 156789,
    "following_count": 892,
    "post_count": 1243,
    "engagement_metrics": {
      "avg_likes": 12456,
      "avg_comments": 342,
      "engagement_rate": 7.94,
      "reach_score": 8.2
    },
    "profile_metadata": {
      "category": "Technology & Innovation",
      "business_email": "contact@techinnovator.com",
      "website": "https://techinnovator.com",
      "location": {
        "city": "San Francisco",
        "country_code": "US",
        "timezone": "America/Los_Angeles"
      }
    },
    "content_analysis": {
      "primary_topics": ["tech", "startup", "innovation"],
      "sentiment_score": 0.87,
      "account_quality_score": 92
    },
    "scraped_at": "2025-12-19T08:15:22Z"
  }
}
```

All data is returned as structured JSON with null-safe fields for reliable downstream processing.

## **Key Features:**

- 📈 Capture follower, following, and post metrics
- 📊 Extract engagement averages and engagement rate
- ⚡ Structured JSON output ready for analytics and automation
- 📈 Identify verified and business accounts
- 📊 Extract public contact information such as email and website
- ⚡ Built-in sentiment analysis and account quality scoring
- 🔒 Fully cookieless architecture with no login required

## **FAQs**

**Does this scraper require Instagram login?** No. It is fully cookieless and does not require login credentials.

**Can it scrape private accounts?** Private accounts return limited metadata.

**Can I scrape multiple keywords?** Yes. Run separate executions for each keyword.

**Other Instagram scrapers that you may find useful:**

[Instagram Followers Scraper](https://apify.com/patient_discovery/instagram-followers-scraper---no-login)

[Instagram User Info Scraper](https://apify.com/patient_discovery/instagram-user-info-scraper-cookieless)

[Instagram Comments Scraper](https://apify.com/patient_discovery/instagram-comments-scraper-no-login-required)

[Instagram likes scraper](https://apify.com/patient_discovery/instagram-likes)

[Instagram search hashtags](https://apify.com/patient_discovery/instagram-hashtags-scraper-no-login-required)

[Instagram location posts](https://apify.com/patient_discovery/instagram-location-posts)

[Instagram following](https://apify.com/patient_discovery/instagram-following)

[Instagram user posts](https://apify.com/patient_discovery/instagram-posts)

[Instagram search users](https://apify.com/patient_discovery/instagram-search-users)

[Instagram search reels](https://apify.com/patient_discovery/instagram-search-reels)

# Actor input Schema

## `query` (type: `string`):

Search term or keyword

## Actor input object example

```json
{
  "query": "new york"
}
```

# 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 = {};

// Run the Actor and wait for it to finish
const run = await client.actor("patient_discovery/instagram-search-users").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 = {}

# Run the Actor and wait for it to finish
run = client.actor("patient_discovery/instagram-search-users").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 '{}' |
apify call patient_discovery/instagram-search-users --silent --output-dataset

```

## MCP server setup

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

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/UXekxWQleFUEDeHlC/builds/Jc8Ro2hUdlgO1S7cR/openapi.json
