The User Search endpoint lets you search for users by keyword. Find users by name, username, or content in their bio.Documentation Index
Fetch the complete documentation index at: https://docs.x.com/llms.txt
Use this file to discover all available pages before exploring further.
Overview
Keyword search
Search by name, username, or bio
Discover users
Find relevant accounts
Endpoint
| Method | Endpoint | Description |
|---|---|---|
| GET | /2/users/search | Search for users |
Example request
Example response
Getting started
Prerequisites
- An approved developer account
- A Project and App in the Developer Console
- Your App’s keys and tokens
User lookup
Look up users by ID or username
API Reference
Full endpoint documentation