GET /twitter/user/batch_info_by_ids

Changed on

Batch get user info by user ids. Pricing (per request, based on the number of users returned):

  • 1-99 users: 18 credits per user
  • 100 or more users: 1 credit per user

Note: For cost optimization, we recommend batching 100 or more user IDs per request.

Request

  • Base URL
    https://api.twitterapi.io
  • URL
    https://api.twitterapi.io/twitter/user/batch_info_by_ids
  • Auth
    API key in header X-API-Key

Query parameters

userIdsstring string required

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

Response

User infos

status'success' | 'error'

Status of the request.success or error

msgstring

Message of the request.error message

Changes