Users

Get user profile with follower counts and verification

get/x/users/{id}

Path parameters

idstring required

X username (without @) or user ID

Response

User profile

idstring required
usernamestring required
namestring required
descriptionstring
followersinteger
followinginteger
verifiedboolean
isBlueVerifiedboolean

Whether X shows a blue verification badge

isVerifiedboolean

Whether X marks the profile as verified

profilePicturestring
coverPicturestring
profileBannerUrlstring

Original X profile banner field when available

locationstring
createdAtstring
statusesCountinteger
mediaCountinteger
canDmboolean
protectedboolean

Whether the profile protects its posts

urlstring
favouritesCountinteger
hasCustomTimelinesboolean
isTranslatorboolean
withheldInCountriesstring[]
possiblySensitiveboolean
pinnedTweetIdsstring[]
isAutomatedboolean
automatedBystring
unavailableboolean
unavailableReasonstring
verifiedTypestring
communityRolestring

Community role when returned by community member reads

viewerFollowedByboolean

Whether this profile follows the authenticated viewer

viewerFollowingboolean

Whether the authenticated viewer follows this profile

profile_bioobject

Structured profile bio with entity annotations

Example response

{
  "id": "9876543210",
  "username": "elonmusk",
  "name": "Elon Musk",
  "description": "CEO of Tesla, SpaceX, and X",
  "followers": 150000000,
  "following": 500,
  "verified": true,
  "isBlueVerified": true,
  "isVerified": true,
  "profilePicture": "https://pbs.twimg.com/profile_images/example.jpg",
  "coverPicture": "https://pbs.twimg.com/profile_banners/example.jpg",
  "profileBannerUrl": "https://pbs.twimg.com/profile_banners/example.jpg",
  "location": "Austin, TX",
  "createdAt": "2009-06-02T20:12:29Z",
  "statusesCount": 35000,
  "mediaCount": 1200,
  "url": "https://xquik.com",
  "favouritesCount": 18000,
  "hasCustomTimelines": true,
  "withheldInCountries": [
    "DE"
  ],
  "pinnedTweetIds": [
    "1234567890"
  ],
  "automatedBy": "example_user",
  "unavailableReason": "suspended",
  "verifiedType": "Business",
  "communityRole": "Member",
  "viewerFollowing": true,
  "profile_bio": {
    "description": "CEO of Tesla, SpaceX, and X",
    "entities": {
      "urls": []
    }
  }
}

Changes