Get X user info
Look up an X (Twitter) user profile by screen name or numeric user id.
← All X / Twitter endpoints · Capability overview
/v1/x-twitter/user-infohttps://api.vee3.io/v1/x-twitter/user-info
Look up an X (Twitter) user profile by screen name or numeric user id.
Authorization
Send your API key in the Authorization header:
Authorization: Bearer YOUR_API_KEY
MCP
The same capability is available as an MCP tool on Vee3 hosted MCP.
Tool name
get_x_user_infoParameters2 fields
screennamestringOptionalX handle without the leading @ (for example elonmusk). Required when rest_id is omitted.
max length 50
rest_idstringOptionalNumeric X user id (rest_id). When provided, screenname is ignored.
max length 32
Response26 fields
statusstringProfile lookup status from the upstream provider.
profilestringX screen name (handle).
rest_idstringNumeric X user id.
namestringDisplay name shown on the profile.
descstringProfile bio / description.
avatarstringProfile avatar image URL.
header_imagestringProfile banner image URL.
blue_verifiedbooleanWhether the account has X blue verification.
protectedbooleanWhether the account is protected (private).
friendsintegerNumber of accounts the user follows.
sub_countintegerFollower count.
statuses_countintegerTotal post count.
media_countintegerTotal media item count.
created_atstringAccount creation timestamp from X.
locationstringProfile location string.
verification_typestringVerification type label from X when present.
idstringNumeric X user id (may duplicate rest_id).
pinned_tweet_ids_strarrayitems1 fieldPinned tweet ids for the profile when present.
pinned_tweet_ids_strarrayitemstweet_idstringNumeric tweet id.
affiliatesobject2 fieldsAffiliate account metadata when present (object or empty array from the provider). Additional provider-specific fields may appear.
affiliatesobjecturlstringAffiliate profile or badge URL when provided.
descriptionstringAffiliate description text when provided.
business_accountarrayitems3 fieldsBusiness account metadata when present (object with counts or array entries depending on the provider response).
business_accountarrayitemscategoryobject2 fieldsBusiness category metadata when provided.
categoryobjectnamestringBusiness category name.
idstringBusiness category id.
HTTP errors: unauthorized, validation_error, insufficient_tokens, payment_required, x_user_not_found, x_twitter_not_configured, x_twitter_upstream_error