v1

latestOpenAPI 3.1.02026-07-26180242448.0 KB
Users

Batch get users by IDs

Fetch multiple user profiles by their numeric IDs in a single request. Returns comprehensive user profile data for each requested ID. More efficient than making individual requests when you need data for multiple users.

get/v1/twitter/users/batch_by_ids

Query parameters

user_idsstring required
Example:44196397,50393960

Comma-separated list of numeric user IDs.

Response

Successfully retrieved users.

next_cursorstring nullable

Cursor for fetching the next page. Null if no more results.

Example response

{
  "data": [
    {
      "id": "44196397",
      "username": "elonmusk",
      "name": "Elon Musk",
      "description": "Mars & Cars, Chips & Dips",
      "location": "Mars",
      "created_at": "Tue Jun 02 20:12:29 +0000 2009"
    }
  ]
}