Twitter (X) User Search & Profile Discovery Scraper avatar

Twitter (X) User Search & Profile Discovery Scraper

Pricing

from $0.20 / 1,000 results

Go to Apify Store
Twitter (X) User Search & Profile Discovery Scraper

Twitter (X) User Search & Profile Discovery Scraper

Search X/Twitter profiles by keywords or names. Collect unique matching accounts with bios, follower counts, verification and source query attribution. Set total and per-query limits; export JSON, CSV or Excel.

Pricing

from $0.20 / 1,000 results

Rating

0.0

(0)

Developer

Dev

Dev

Maintained by Community

Actor stats

0

Bookmarked

2

Total users

1

Monthly active users

4 days ago

Last modified

Categories

Features

Limited permissions

Share

Search X/Twitter profiles by keywords or names. Collect unique matching accounts with bios, follower counts, verification and source query attribution. Set total and per-query limits; export JSON, CSV or Excel.

What this Actor collects

Search the X People index for matching profiles. This is profile discovery, not tweet keyword search. Matching order and visibility are controlled by X; not every profile mentioning a keyword can necessarily be retrieved.

Quick start

Enter inputs, start with a small maxItems, and run. No customer X cookies are required. Export the default dataset as JSON, CSV, Excel or JSONL, or use the Apify API.

{
"searchTerms": [
"NASA",
"space"
],
"maxItems": 100,
"maxItemsPerTerm": 50
}

Limits and deduplication

maxItems is the total unique output ceiling, not a per-source allowance. maxItemsPerSource caps each input and defaults to maxItems. maxItemsPerTerm is an alias; maxItemsPerSource takes precedence. maxDurationSeconds defaults to 300 and cannot exceed 600. Account rate limits, spending limits and X visibility may yield fewer results. Startup has bounded retries; very short deadlines may elapse during initialization.

IDs are strings. No duplicate IDs are emitted within a run; migration recovery reconciles existing writes. If several inputs discover the same record, the first source gets attribution. This is a unique-profile/result export, not an exhaustive relationship-edge export.

Output schema

Rows are flat user profiles with id, userName, name, url, description, followers, following, verification, images, createdAt, canDm and additional normalized fields. Every row includes sourceInput, sourceType and searchTerm. searchTerm is the query for user search, otherwise an empty string.

canDm reads dm_permissions.can_dm or legacy.can_dm: true/false when reported, null when unknown. Permission can depend on the authenticated X account; it is not a global guarantee that anyone may DM that profile.

The Output tab links to results and COVERAGE. COVERAGE lists source/strategy pages, limits, failures, repeated cursors and the exact stop reason. Dataset and output schemas are included for Store publishing.

Coverage and responsible use

X may withhold protected, deleted, blocked, suspended or unindexed content, or shorten lists despite larger public counters. An empty result is not a completeness guarantee. This Actor does not bypass access controls. Follow applicable terms and privacy obligations.

API

After deployment, POST JSON input to https://api.apify.com/v2/acts/

Operator setup

Not yet published; no price or Store publication is configured. Each new Actor requires secret X_ACCOUNTS and proxy environment configuration. Credentials never belong in input forms, source, datasets or logs. Arbitrary JavaScript mapping is not supported.

Prepare a clean build directory:

node scripts/prepare-actor.mjs user-search

Build from .artifacts/actors/user-search. Staging never deploys or publishes. Memory is fixed at 1024 MB. Pure HTTP with compressed responses and account-aware rate limits; no browser or third-party data API.