Batch user info by IDs
GET/twitter/user/batch_info_by_ids1 credit
Fetch multiple user profiles in one call by numeric user IDs. The sample response below is captured from the live API. List endpoints paginate with `has_next_page` and `next_cursor`.
Authentication required
Send your key in the
x-api-key header. Requests without a valid key return 401.Query parameters
userIds
stringrequired
Comma-separated list of numeric user IDs.
Response fields
usersarray
Array of user profile objects.
statusstring
Request status: "success" or "error".
msgstring
Status message from the upstream.
Request
Response200 OK
base url · https://v2.xapis.dev
Ready to call Batch user info by IDs?
Get an API key or explore the full interactive reference.
