x/
search-users

The Twitter User Search API searches public X user accounts by keyword, returning normalized identity, bio, verified status, and audience metrics.

Twitter User Search API

User search
Account discovery
Normalized profiles
0.6 credits / result
Ready
Ready

Enter parameters and send a request. The task status and normalized results will appear here.

README

Twitter User Search

Discovering relevant creator, company, and expert profiles on X requires targeted keyword matching across account handles and bios. Normalized profile results deliver usernames, display names, bios, location context, follower counts, and verification badges.

Twitter User Search API Features

  • Keyword account matchingSubmit any query term to the Twitter User Search API to discover relevant public profiles across names, usernames, and account bios.
  • Normalized profile attributesReceive consistent objects with user ID, handle, display name, avatar, banner, and biography text.
  • Audience metricsCapture current follower, following, total post, media, and favorites counts for each returned account.
  • Verification and status flagsIdentify blue verified badges, automated bot flags, protected account status, and location strings.

Twitter User Search API Parameters

ParametersRequiredDescription
queryRequiredSearch keyword query to find matching public X user profiles.
results_limitOptionalMaximum number of user profiles to return; must be a multiple of 20 between 20 and 2,000, defaulting to 20.

How to Use the Twitter User Search API

Submit a keyword search query to the Twitter User Search API as an asynchronous task, then paginate through normalized user profiles.

  1. Set your search term in query and specify results_limit as a multiple of 20 (up to 2,000).
  2. Send a POST request to /v1/x/search-users with your SocQ API key.
  3. Poll /v1/tasks/{task_id} until the task status is succeeded.
  4. Retrieve normalized account records from data.results.items.
curl -X POST "https://api.socq.ai/v1/x/search-users" \
  -H "Authorization: Bearer $SOCQ_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{"query":"OpenAI","results_limit":20}'

# Poll GET /v1/tasks/{task_id}, then fetch data.results.items.

Twitter User Search API Use Cases

  • Influencer and subject-matter expert discovery: Find influential domain experts, journalists, and thought leaders by searching industry terminology.
  • Brand account auditing: Discover brand handles, localized regional subsidiaries, or unofficial fan accounts across the platform.
  • Outreach prospect list generation: Build prospective lead lists of relevant professionals filtered by keywords in their public bio.

Twitter User Search API Pro Tips

  • Use this endpoint to discover accounts; use X Search when you want to find individual tweets or posts.
  • results_limit must be a multiple of 20 (e.g. 20, 40, 100) to align with upstream pagination batches.
  • Check the is_verified and verified_type properties to confirm whether an account is officially authenticated.
  • Pass discovered usernames into X User Posts or X Following List to further explore their audience graph.

Beyond the Twitter User Search API, use these APIs when you need a different type of public X data.

  • Twitter Profile Scraper API — Retrieve public account identity, biographies, avatars, cover images, account status, and visible audience statistics by username.
  • Twitter User Tweets Scraper API — Collect recent public posts, authors, media, hashtags, mentions, and engagement by username with replies excluded.
  • Twitter Search API — Find public posts by search expression with latest or top ordering and a configurable result limit.
  • X Followers List API — Collect public follower account identities and visible profile metrics for one or more X usernames.
  • X Trends API — Collect current public X trend snapshots for known numeric WOEIDs with source rank, query, description, and location context.
  • X Communities Search API — Find communities by keyword, with member counts and links for the member and post endpoints.

Explore other platforms

Combine X data with public data from other supported social platforms.

Twitter User Search API — FAQ

Twitter User Search API searches public user accounts and creator profiles across X using text queries. It returns normalized profile records with follower counts, bios, verification badges, and avatar URLs.

The X Search endpoint searches for public tweets and posts matching keywords, while the Twitter User Search API specifically searches for user accounts and channel profiles.

The upstream provider delivers user search results in fixed pages of 20 items, requiring requested limits to be a clean multiple of 20.

By SocQ · Updated

From the official X API documentation:

“The X API uses pay-per-usage pricing. No subscriptions—pay only for what you use.”
X Developer Platform: X API introduction · accessed November 2026