latestOpenAPI 3.1.02026-08-21127127514.8 KB

18302a60cfee

Users

Get user profile with follower counts and verification

Get user profile with follower counts and verification.

get/api/v1/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
protectedboolean

Whether the profile protects its posts

urlstring
favouritesCountinteger
hasCustomTimelinesboolean
isTranslatorboolean
withheldInCountriesstring[]
withheldScopestring

Whether X withholds a post or user

possiblySensitiveboolean
professionalPublicMetadata

Public metadata whose fields are defined by X.

grokTranslatedBioPublicMetadata

Public metadata whose fields are defined by X.

pinnedTweetIdsstring[]
isAutomatedboolean
automatedBystring
unavailableboolean
unavailableReasonstring
verifiedTypestring
businessAccountAffiliatesCountinteger
creatorSubscriptionsCountinteger
hasGraduatedAccessboolean
hasHiddenSubscriptionsOnProfileboolean
isProfileTranslatableboolean
parodyCommentaryFanLabelstring
profileDescriptionLanguagestring
profileImageShapestring
profileInterstitialTypestring
profileSortEnabledboolean
profileTranslatorTypestring
superFollowEligibleboolean
superFollowsUserProfileActiveboolean

Whether X marks the subscription profile as active.

communityRolestring

Community role when returned by community member reads

profile_bioPublicMetadata

Public metadata whose fields are defined by X.

Example response

{
  "id": "9876543210",
  "username": "elonmusk",
  "name": "Elon Musk"
}