Skip to main content
GET
Batch Get User Info By UserIds
Resolve many X users at once from their numeric user IDs, passed as a comma-separated userIds string. Use this when a previous call (timeline, retweeters, followers) gave you IDs and you need to turn them into full profiles in one request instead of looping. Returns an array of user objects under users. Note this endpoint takes numeric IDs, not @handles — to look up by handle use get_twitter_user_info.

Authorizations

Authorization
string
header
required

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

Query Parameters

userIds
string
required

Comma-separated user IDs

Response

200 - application/json

Batch user information

users
object[]
status
enum<string>
Available options:
success,
error
msg
string