GET
/
twitter
/
user
/
batch_info_by_ids
curl --request GET \
  --url https://api.twitterapi.io/twitter/user/batch_info_by_ids \
  --header 'X-API-Key: <api-key>'
{
  "users": [
    {
      "type": "user",
      "userName": "<string>",
      "url": "<string>",
      "id": "<string>",
      "name": "<string>",
      "isBlueVerified": true,
      "profilePicture": "<string>",
      "coverPicture": "<string>",
      "description": "<string>",
      "location": "<string>",
      "followers": 123,
      "following": 123,
      "canDm": true,
      "createdAt": "<string>",
      "fastFollowersCount": 123,
      "favouritesCount": 123,
      "hasCustomTimelines": true,
      "isTranslator": true,
      "mediaCount": 123,
      "statusesCount": 123,
      "withheldInCountries": [
        "<string>"
      ],
      "affiliatesHighlightedLabel": {},
      "possiblySensitive": true,
      "pinnedTweetIds": [
        "<string>"
      ],
      "isAutomated": true,
      "automatedBy": "<string>",
      "unavailable": true,
      "message": "<string>",
      "unavailableReason": "<string>",
      "profile_bio": {
        "description": "<string>",
        "entities": {
          "description": {
            "urls": [
              {
                "display_url": "<string>",
                "expanded_url": "<string>",
                "indices": [
                  123
                ],
                "url": "<string>"
              }
            ]
          },
          "url": {
            "urls": [
              {
                "display_url": "<string>",
                "expanded_url": "<string>",
                "indices": [
                  123
                ],
                "url": "<string>"
              }
            ]
          }
        }
      }
    }
  ],
  "status": "success",
  "msg": "<string>"
}

Authorizations

X-API-Key
string
header
required

Query Parameters

userIds
string
required

The user ids to get.eg. 1234567890,1234567891,1234567892. Use comma to separate multiple user ids

Response

200
application/json
User infos
users
object[]

Array of user infos

status
enum<string>

Status of the request.success or error

Available options:
success,
error
msg
string

Message of the request.error message