# Find Instagram Accounts by Keyword

**Use case:** 

Search Instagram for accounts matching one keyword and export them in the order search returned them. Each row carries the username, name, profile URL, verification and privacy flags, and a rank showing where the account appeared. Use it for Instagram user search, account discovery and shortlisting - no login or cookies needed.

## Input

```json
{
  "queries": [
    "fitness coach"
  ],
  "maxResultsPerQuery": 20,
  "maxTotalResults": 20,
  "includeFullProfile": false
}
```

## Output

```json
{
  "query": {
    "label": "Query",
    "format": "string"
  },
  "rank": {
    "label": "Rank in this query",
    "format": "integer"
  },
  "username": {
    "label": "Username",
    "format": "string"
  },
  "fullName": {
    "label": "Name",
    "format": "string"
  },
  "url": {
    "label": "Profile",
    "format": "string"
  },
  "profilePicUrl": {
    "label": "Picture",
    "format": "string"
  },
  "isVerified": {
    "label": "Verified",
    "format": "boolean"
  },
  "isPrivate": {
    "label": "Private",
    "format": "boolean"
  },
  "followersCount": {
    "label": "Followers",
    "format": "integer"
  },
  "fullProfileIncluded": {
    "label": "Full profile",
    "format": "boolean"
  }
}
```

## How it works

### 1. Sign up on Apify or log in

The Instagram User Search Scraper Actor is ready to run with the inputs already set for "Find Instagram Accounts by Keyword". [Sign up or log in](https://console.apify.com/create-task-from-example/DE8PNZVz9lGHxh0by) and you'll land in Apify Console with a copy of this exact task.

### 2. Start the "Find Instagram Accounts by Keyword" task

The Instagram User Search Scraper Actor will start running based on the input automatically. You can also change all the input fields, like keywords, accounts per keyword, and more, to match your specific use case.

### 3. Receive the "Find Instagram Accounts by Keyword" output

Monitor the progress in real time. You will be notified as soon as your dataset is complete and ready for review. Each result includes data such as query, rank in this query, username, and more.

### 4. Integrate into your workflow

The final output is delivered in JSON, CSV, or Excel format, ready to be plugged into your workflow. You can also [run the "Find Instagram Accounts by Keyword" task via API](https://apify.com/lance_api/instagram-user-search-scraper-api.md).

## FAQ

### What does the task return?

The Find Instagram Accounts by Keyword task writes one row per account found, with query, rank, id, username, fullName, url, profilePicUrl, isVerified, isPrivate, fullProfileIncluded and scrapedAt.

### Do I need an Instagram login or cookies?

The Find Instagram Accounts by Keyword task uses public data only. No Instagram login, cookie or session is required from you.

### Why can a keyword return fewer than 20 accounts?

The Find Instagram Accounts by Keyword task collects only the first page of results. The limit is a maximum, not a guaranteed count, and short lists are never padded.

### Is rank an official Instagram ranking?

The rank in the Find Instagram Accounts by Keyword task is the position in that keyword's returned list for this run, starting at 1. It is not a follower or popularity ranking.

### How much does one run cost?

At FREE-tier prices, the Find Instagram Accounts by Keyword task costs about $0.0390 for one keyword returning 20 rows: Actor Start, one Search and one Result per row. Check the Pricing tab.

## About this Actor

This example demonstrates how to use [Instagram User Search Scraper](https://apify.com/lance_api/instagram-user-search-scraper-api.md) with a specific input configuration. Visit the [Actor detail page](https://apify.com/lance_api/instagram-user-search-scraper-api.md) to learn more, explore other use cases, and run it yourself.


## How to integrate an Actor?

This Task's input is already configured above. Use it as-is rather than inventing a new one.

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 full API examples (JavaScript, Python, CLI, MCP, OpenAPI), see this Task's Actor page: https://apify.com/lance_api/instagram-user-search-scraper-api.md

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`).
