Kullanıcı Genel Profilini Getir
Kullanıcı Genel Profilini Getir.
API Belgelerine Dön
/Twitter User About Endpoints
GET
/twitter/{screen_name}/aboutAPI Yetkilendirmesi
AuthorizationBearer token · headerzorunluTwexAPI genel Bearer Token kimlik bilgisi. İstek başlığı: Authorization: Bearer <YOUR_TWEXAPI_KEY>.
Yol Parametreleri
screen_namestringzorunluTwitter kullanıcı adı (@ olmadan)
Yanıtlar
200The Twitter User About object with its information.
codeintegerHTTP durum kodu (200 başarılı anlamına gelir)
default: 200
msgstringYanıt mesajı (örn: 'success')
default: "success"
dataTwitterUserAboutResponse | anyUç nokta tarafından döndürülen ana veri
Özellikleri gösterÖzellikleri gizle
Any of:
TwitterUserAboutResponse
user_idstringzorunluKullanıcının benzersiz Twitter ID'si
avatarstringzorunluProfile avatar image URL
namestringzorunluKullanıcının görünen adı
screen_namestringzorunluTwitter kullanıcı adı (@ olmadan)
created_atstringzorunluOluşturulma zamanı (UTC)
profile_image_shapestringzorunluProfile image shape (e.g., Circle, Square)
verificationbooleanzorunluWhether the user account is verified
userLabelDisplayTypestringzorunluUser label display type (e.g., Badge)
userLabelTypestringzorunluUser label type (e.g., BusinessLabel)
is_blue_verifiedbooleanzorunluWhether the user has blue verification badge (Twitter Blue/X Premium)
privacy_policy_urlstringzorunluPrivacy policy or learn more URL
account_based_instringzorunluCountry or region where the account is based
location_accuratebooleanzorunluWhether the location information is accurate
affiliate_usernamestringzorunluAffiliated username (e.g., business account username)
sourcestringzorunluSource of account creation (e.g., 'United States App Store')
username_changes_countintegerzorunluNumber of times the username has been changed
override_verified_yearintegerzorunluOverride verified year (if applicable, negative values indicate special cases)
verified_since_msecintegerzorunluTimestamp in milliseconds when the account was verified (negative values indicate special cases)
any
any422Parametre Doğrulama Hatası
detailValidationError[]Özellikleri gösterÖzellikleri gizle
Array of
ValidationErrorlocstring | integer[]zorunluÖzellikleri gösterÖzellikleri gizle
Array of
string | integerAny of:
string
stringinteger
integermsgstringzorunluYanıt mesajı (örn: 'success')
typestringzorunluinputanyctxobject⚡Etkileşimli KonsolGET
⚡Etkileşimli Konsol / API TestiGETLive Console
🌐Hedef Sunucu:
https://api.twexapi.io● Canlı Ortam Hazır
🔍
Genel Veri Okuma (Yalnızca TwexAPI Anahtarı, Twitter Çerezi Gerekmez)
Bu uç nokta herkese açık Twitter verilerini sorgular — Twitter hesabı veya Çerez gerekmez! Test etmek için aşağıdaki "API Yetkilendirmesi"ne TwexAPI Anahtarınızı (Bearer Token) girmeniz yeterlidir.
🔑API Yetkilendirmesi
⚙️Parametreler (1)
📡
暂无响应数据
请在「请求配置」中确认参数后,点击底部的「发送请求」按钮。
İstek
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"
},
)Yanıt
{
"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": {}
}
]
}