Get X user info
Look up an X (Twitter) user profile by handle 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 handle 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
x-twitter.user_infoParameters2 fields
user_namestringOptionalX 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, user_name 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_strstring[]Pinned tweet ids for the profile when present.
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_accountobject4 fieldsBusiness account metadata when present (object with counts or empty array from the provider when not applicable).
business_accountobjectaffiliates_countintegerNumber of affiliate accounts when provided.
categoryobject2 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