Search X accounts
x_search_usersX accounts matching a name, handle or keyword, paginated.
Accounts matching a name, handle or keyword, ranked as X’s People search ranks them, about 20 a page, paginated with after. Each has id, handle, name, bio, avatar, verification and protected; for follower counts call x_user_get on the ones you want.
Cost: 1 credit per call, refunded automatically if the call fails. Read-only, public data only. Results include cost_credits and credits_remaining.
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"q": "<q>"
},
"name": "x_search_users"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| q | Yes | Name, handle or keyword. | |
| after | No | Cursor: the previous page's `meta.next_token`. |