# Twitter User Search Scraper - X.com People API | $0.10/1K (`kaitoeasyapi/twitter-user-search-scraper`) Actor

Twitter User Search Scraper & X.com People Finder API — From $0.10/1K ($0.10/1K Gold+, $0.14/1K Free–Silver · $0 Platform Compute Fee). Search Twitter/X users by keyword, niche, job title, company, or bio for B2B lead generation.

- **URL**: https://apify.com/kaitoeasyapi/twitter-user-search-scraper.md
- **Developed by:** [Kaito T](https://apify.com/kaitoeasyapi) (community)
- **Categories:** Social media, Lead generation, Developer tools
- **Features:** Limited permissions
- **Stats:** 2 total users, 0 monthly users, 100.0% runs succeeded, 0 bookmarks
- **User rating**: No ratings yet

## Pricing

from $0.10 / 1,000 x (twitter) user search 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/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

## X (Twitter) User Search Scraper | From $0.10/1K

> **From $0.10/1K ($0.10/1K Gold+, $0.14/1K Free–Silver · $0 Platform Compute Fee · Free-Plan Live Access)** — Search and discover **X (Twitter) accounts by keyword, job title, niche, industry, or city** — with automatic deduplication, follower-range targeting, verification & open-DM filters, and strictly opt-in public bio contact parsing.

### Built for Audience Discovery & Creator Sourcing

- **Multi-Query Keyword Discovery**: Supply multiple search queries (such as `["AI founder", "SaaS CEO", "DevRel"]`) and automatically paginate and deduplicate results across queries.
- **Precision Audience Filtering**: Narrow down raw search results with `minFollowers`, `maxFollowers` (great for finding micro-influencers or seed founders), `verifiedOnly`, `canDmOnly`, and `locationContains`.
- **Strictly Opt-In Public Bio Parsing**: By default (`extractBioContacts: false`, `hasBioEmail: false`), returns clean public profile metadata only. Explicitly opt in to extract publicly posted bio emails, websites, domains, and social links.
- **Zero Waste Billing ($0 Compute Fee)**: Only accounts that pass all your filters and are delivered to the dataset are charged — filtered-out accounts, duplicates, and empty runs cost **$0.00**.

### Transparent Pay-Per-Result Pricing

| Apify Plan Tier | Price per 1,000 Discovered Users | Platform Compute / Start Fees |
| :--- | :--- | :--- |
| **Free / Starter / Bronze / Silver** | **$0.14 / 1K** | **$0 (Included)** |
| **Gold / Platinum / Diamond** | **$0.10 / 1K** | **$0 (Included)** |

### Input Parameters

| Parameter | Type | Default | Description |
| :--- | :--- | :--- | :--- |
| `queries` | `array` | `["AI founder", "SaaS CEO"]` | Search keywords, job roles, industries, or brand terms. |
| `maxItems` | `integer` | `50` | Maximum total deduplicated accounts to deliver (`1–50,000`). |
| `minFollowers` | `integer` | `0` | Minimum follower count required (`0` = no minimum). |
| `maxFollowers` | `integer` | `0` | Maximum follower count allowed (`0` = no cap). |
| `verifiedOnly` | `boolean` | `false` | Restrict results to Blue Verified or legacy/business verified users. |
| `canDmOnly` | `boolean` | `false` | Restrict results to accounts with open DMs (`canDm: true`). |
| `locationContains` | `string` | `""` | Case-insensitive location substring filter (e.g. `"San Francisco"`). |
| `extractBioContacts` | `boolean` | `false` | **Strictly opt-in.** Explicitly enable to parse publicly listed bio emails, websites, domains, and social links. |
| `hasBioEmail` | `boolean` | `false` | **Strictly opt-in.** Keep only accounts publicly listing an email in their bio (enables public bio parsing when checked). |

#### Quick-Start Input Example

```json
{
  "queries": [
    "AI founder",
    "SaaS CEO"
  ],
  "maxItems": 50,
  "minFollowers": 500,
  "verifiedOnly": false,
  "canDmOnly": false,
  "extractBioContacts": false,
  "hasBioEmail": false
}
```

### Output Fields

- **Search Context**: `searchQuery`, `rankInQuery`, `scrapedAt`
- **Account Metadata**: `userId`, `userName`, `name`, `profileUrl`, `description`, `location`, `url`, `followers`, `following`, `favouritesCount`, `statusesCount`, `mediaCount`, `isVerified`, `isBlueVerified`, `isProtected`, `canDm`, `createdAt`, `profilePicture`, `coverPicture`
- **Opt-In Bio Contacts (`extractBioContacts: true` or `hasBioEmail: true`)**: `bioContacts` (`emails`, `primaryEmail`, `websites`, `domains`, `socialLinks`)

### Data Compliance & Public Data Notice (GDPR / CCPA)

This Actor retrieves **publicly visible** X (Twitter) user search listings only and never accesses private messages or protected accounts. Both `extractBioContacts` and `hasBioEmail` are **strictly opt-in (`default: false`)**; when explicitly enabled by the user, they only parse text and links voluntarily posted in public profile bios. Users are solely responsible for complying with **GDPR**, **CCPA**, and applicable privacy regulations when handling any personal data.

### Complete X (Twitter) Suite — All From $0.10/1K

| Actor on Apify Store | Primary Use Case |
| :--- | :--- |
| [**Tweet Scraper (Enterprise 40+ Filters)**](https://apify.com/kaitoeasyapi/twitter-x-data-tweet-scraper-pay-per-result-cheapest) | Full historical & real-time X search with 40+ query filters |
| [**Twitter Scraper (Fast Lite)**](https://apify.com/kaitoeasyapi/twitter-scraper) | Streamlined 1-click tweet search by keywords, handles, or URLs |
| [**Twitter Follower Scraper**](https://apify.com/kaitoeasyapi/premium-x-follower-scraper-following-data) | Bulk followers & following graphs for any public X account |
| [**X (Twitter) Replies Scraper**](https://apify.com/kaitoeasyapi/twitter-replies-scraper) | Full reply threads, nested reply depth & author metadata |
| [**X (Twitter) Profile Scraper**](https://apify.com/kaitoeasyapi/twitter-profile-scraper) | Full user profiles, computed metrics & optional recent posts |
| [**X (Twitter) User Search Scraper**](https://apify.com/kaitoeasyapi/twitter-user-search-scraper) | Discover X accounts by keyword, niche, role, location & filters |
| [**X (Twitter) Engagement Scraper**](https://apify.com/kaitoeasyapi/twitter-engagement-scraper) | Unified retweeters, quote tweets, replies & post engagement stats |

# Actor input Schema

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

One or more search queries to find matching X/Twitter accounts by name, handle, or bio (e.g. \["AI founder", "SaaS CEO", "crypto VC"]).

## `maxItems` (type: `integer`):

Maximum total deduplicated X/Twitter users to deliver across all queries (default 50).

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

Only return accounts with at least this many followers (0 = no minimum).

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

Optional upper follower bound (useful for sourcing micro-influencers or early-stage founders; 0 disables the cap).

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

Keep only Blue Verified or legacy/business verified accounts.

## `canDmOnly` (type: `boolean`):

Keep only accounts whose public profile allows direct messages (canDm = true).

## `locationContains` (type: `string`):

Case-insensitive substring filter matched against the account's public location field (e.g. "San Francisco", "London", "New York").

## `extractBioContacts` (type: `boolean`):

Strictly opt-in (default false). When explicitly enabled, parses publicly posted emails, websites, domains, and social links from each account's public bio text.

## `hasBioEmail` (type: `boolean`):

Strictly opt-in (default false). Keep only accounts that publicly display an email address in their X/Twitter bio (enables public bio contact parsing when checked).

## Actor input object example

```json
{
  "queries": [
    "AI founder",
    "SaaS CEO"
  ],
  "maxItems": 50,
  "minFollowers": 0,
  "maxFollowers": 0,
  "verifiedOnly": false,
  "canDmOnly": false,
  "locationContains": "",
  "extractBioContacts": false,
  "hasBioEmail": 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 = {
    "queries": [
        "AI founder",
        "SaaS CEO"
    ],
    "maxItems": 50
};

// Run the Actor and wait for it to finish
const run = await client.actor("kaitoeasyapi/twitter-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": [
        "AI founder",
        "SaaS CEO",
    ],
    "maxItems": 50,
}

# Run the Actor and wait for it to finish
run = client.actor("kaitoeasyapi/twitter-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": [
    "AI founder",
    "SaaS CEO"
  ],
  "maxItems": 50
}' |
apify call kaitoeasyapi/twitter-user-search-scraper --silent --output-dataset

```

## MCP server setup

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