v3

latestOpenAPI 3.0.32026-08-02415689.9 KB
Users Data

User Profile

Returns the public profile of a Twitter/X account, including display name, bio, follower and following counts, tweet count, avatar, account creation date, and verification status. Identify the user by providing exactly one of: user_link, username, or user_id.

get/info

Query parameters

user_linkstring

Full URL of the user's Twitter/X profile.

usernamestring

Twitter/X handle (without @).

user_idstring

Numeric Twitter/X user ID.

Response

OK

bio_urlsstring[]

URLs found in the user's bio.

can_dmboolean

Whether the account accepts direct messages.

created_atstring

Account creation date in ISO 8601 format.

descriptionstring

Profile bio text.

display_namestring

User's display name.

favourites_countinteger

Total number of tweets this user has liked.

followers_countinteger

Number of accounts following this user.

followings_countinteger

Number of accounts this user follows.

idstring

Unique Twitter/X user ID.

locationstring

Location string from the user's profile.

media_countinteger

Total number of media items posted by this user.

pinned_tweet_idsstring[]

IDs of the user's pinned tweets.

possibly_sensitiveboolean

Whether the account is flagged as possibly containing sensitive content.

profile_background_image_urlstring

URL of the user's profile background image.

profile_image_urlstring

URL of the user's avatar image.

protectedboolean

Whether the account's tweets are protected (private).

tweets_countinteger

Total number of tweets posted by this user.

usernamestring

Current Twitter/X handle (without @).

verifiedboolean

Whether the account has a verified badge.

Example response

{
  "created_at": "2009-06-02T20:12:29Z",
  "description": "Bio text",
  "display_name": "Elon Musk",
  "favourites_count": 1200,
  "followers_count": 100000,
  "followings_count": 500,
  "id": "44196397",
  "location": "Austin, TX",
  "media_count": 300,
  "profile_background_image_url": "https://pbs.twimg.com/profile_banners/44196397/123",
  "profile_image_url": "https://pbs.twimg.com/profile_images/123/photo.jpg",
  "tweets_count": 5000,
  "username": "elonmusk",
  "verified": true
}