GET /twitter/user/info

Changed on

Get user info by screen name

Always HTTP 200. A handle that does not exist returns status: "error" with msg: "user not found". A suspended or otherwise unavailable account returns status: "success" with data: {"unavailable": true, "message": ..., "unavailableReason": "Suspended"} (reason passed through from X; compare case-insensitively) and no other profile fields.

Request

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

Query parameters

userNamestring string

The screen name of the user

Response

User info

status'success' | 'error'

Status of the request.success or error

msgstring

Message of the request.error message

Changes