Get Twitter User About by Screen Name
Get Twitter User About for a specific twitter user. get account_based_in,location_accurate
Back to API Reference
/Twitter User About Endpoints
GET
/twitter/{screen_name}/aboutAuthorization
AuthorizationBearer token · headerrequiredGlobal API Bearer Token for TwexAPI. Included as: Authorization: Bearer <YOUR_TWEXAPI_KEY>.
Path Parameters
screen_namestringrequiredThe screen name of the twitter user to get about.
Responses
200The Twitter User About object with its information.
codeintegerHTTP status code
default: 200
msgstringResponse message
default: "success"
dataTwitterUserAboutResponse | anyTwitter User About data
Show propertiesHide properties
Any of:
TwitterUserAboutResponse
user_idstringrequiredTwitter user ID
avatarstringrequiredProfile avatar image URL
namestringrequiredUser display name
screen_namestringrequiredTwitter username (handle)
created_atstringrequiredAccount creation date in Twitter format
profile_image_shapestringrequiredProfile image shape (e.g., Circle, Square)
verificationbooleanrequiredWhether the user account is verified
userLabelDisplayTypestringrequiredUser label display type (e.g., Badge)
userLabelTypestringrequiredUser label type (e.g., BusinessLabel)
is_blue_verifiedbooleanrequiredWhether the user has blue verification badge (Twitter Blue/X Premium)
privacy_policy_urlstringrequiredPrivacy policy or learn more URL
account_based_instringrequiredCountry or region where the account is based
location_accuratebooleanrequiredWhether the location information is accurate
affiliate_usernamestringrequiredAffiliated username (e.g., business account username)
sourcestringrequiredSource of account creation (e.g., 'United States App Store')
username_changes_countintegerrequiredNumber of times the username has been changed
override_verified_yearintegerrequiredOverride verified year (if applicable, negative values indicate special cases)
verified_since_msecintegerrequiredTimestamp in milliseconds when the account was verified (negative values indicate special cases)
any
any422Validation Error
detailValidationError[]Show propertiesHide properties
Array of
ValidationErrorlocstring | integer[]requiredShow propertiesHide properties
Array of
string | integerAny of:
string
stringinteger
integermsgstringrequiredtypestringrequiredinputanyctxobject⚡Interactive ConsoleGET
⚡Interactive Console / Try APIGETLive Console
🌐Target Server:
https://api.twexapi.io● Production Ready
🔍
Public Data Read (TwexAPI Key Only, No Twitter Cookie Required)
This endpoint queries public Twitter data — no Twitter account or Cookie required! Simply enter your TwexAPI Platform Key (Bearer Token) in the "API Authorization" section below to test.
🔑API Authorization
⚙️Parameters (1)
📡
No Response Yet
Configure parameters in the Request tab and click Send Request below.
Request
curl -X GET "https://api.twexapi.io/twitter/e/about" \
-H "Authorization: Bearer YOUR_TOKEN"const response = await fetch("https://api.twexapi.io/twitter/e/about", {
method: "GET",
headers: {
"Authorization": "Bearer YOUR_TOKEN"
}
});import requests
response = requests.get(
"https://api.twexapi.io/twitter/e/about",
headers={
"Authorization": "Bearer YOUR_TOKEN"
},
)Response
{
"code": 200,
"msg": "success",
"data": {
"user_id": "44196397",
"avatar": "https://pbs.twimg.com/profile_images/1983681414370619392/oTT3nm5Z_normal.jpg",
"name": "Elon Musk",
"screen_name": "elonmusk",
"created_at": "Tue Jun 02 20:12:29 +0000 2009",
"profile_image_shape": "Circle",
"verification": false,
"userLabelDisplayType": "Badge",
"userLabelType": "BusinessLabel",
"is_blue_verified": true,
"privacy_policy_url": "https://help.twitter.com/managing-your-account/about-twitter-verified-accounts",
"account_based_in": "United States",
"location_accurate": true,
"affiliate_username": "X",
"source": "United States App Store",
"username_changes_count": 0,
"override_verified_year": -3000,
"verified_since_msec": -156836000000000
}
}{
"detail": [
{
"loc": [
"string"
],
"msg": "string",
"type": "string",
"input": null,
"ctx": {}
}
]
}