コンテンツにスキップ
Twexapi
日本語
Esc
移動開く⌘Jプレビュー

auth_tokenによるユーザー情報取得

auth_tokenによるユーザー情報取得.

GET/twitter/{auth_token}/user_info
API 認証
AuthorizationBearer token · header必須
TwexAPIのグローバル認証トークン (Bearer Token)。ヘッダーに含める必要があります:Authorization: Bearer <YOUR_TWEXAPI_KEY>。
パスパラメータ
auth_tokenstring必須
ブラウザCookieから取得したauth_token
レスポンス
200Twitter user info
codeinteger必須
HTTP ステータスコード(200 は成功)
msgstring必須
レスポンスメッセージ(例: 'success')
dataUserInfo | any必須
返却されるコアデータオブジェクトまたは配列
プロパティを表示
Any of:
UserInfo
userIdstring必須
User ID
isBlueVerifiedboolean必須
Blue verification status
createdAtstring必須
Account creation date
createdAtDatetimestring | any
Account creation datetime in ISO format
プロパティを表示
Any of:
string
string
any
any
defaultProfileboolean必須
Default profile flag
defaultProfileImageboolean必須
Default profile image flag
descriptionstring必須
プロフィール自己紹介文(Bio)
locationstring必須
Location
fastFollowersCountinteger必須
Fast followers count
favouritesCountinteger必須
Likes count
followersCountinteger必須
Followers count
followingCountinteger必須
Following count
hasCustomTimelinesboolean必須
Has custom timelines flag
isTranslatorboolean必須
Is translator flag
listedCountinteger必須
Listed count
mediaCountinteger必須
Media count
namestring必須
ユーザー表示名
normalFollowersCountinteger必須
Normal followers count
pinnedTweetIdsStrany[] | any
Pinned tweet IDs
プロパティを表示
Any of:
any[]
Array of any
any
any
any
possiblySensitiveboolean必須
Possibly sensitive flag
profileImageUrlHttpsstring必須
Profile image URL
usernamestring必須
Username
statusesCountinteger必須
Tweets count
translatorTypestring | any
Translator type
プロパティを表示
Any of:
string
string
any
any
verifiedboolean必須
Legacy verification status
verified_typestring | any
Verification badge type: blue, business, government, etc.
プロパティを表示
Any of:
string
string
any
any
withheldInCountriesany[] | any
Withheld in countries
プロパティを表示
Any of:
any[]
Array of any
any
any
any
protectedboolean必須
Protected account flag
urlstring | any
User profile URL
プロパティを表示
Any of:
string
string
any
any
descriptionUrlsany[] | any
Description URLs
プロパティを表示
Any of:
any[]
Array of any
any
any
any
urlsany[] | any
User URLs
プロパティを表示
Any of:
any[]
Array of any
any
any
any
pinnedTweetIdsany[] | any
Pinned tweet IDs
プロパティを表示
Any of:
any[]
Array of any
any
any
any
any
any
422パラメータバリデーションエラー
detailValidationError[]
プロパティを表示
Array of ValidationError
locstring | integer[]必須
プロパティを表示
Array of string | integer
Any of:
string
string
integer
integer
msgstring必須
レスポンスメッセージ(例: 'success')
typestring必須
inputany
ctxobject
インタラクティブテストGET
インタラクティブテスト / Try APIGET
Live Console
🌐対象サーバー:https://api.twexapi.io
● 本番環境レディ
✍️
書き込み操作の認証情報ガイド(TwexAPIキー + Twitter Cookie)

1. TwexAPIプラットフォームキー (Bearer Token): 下記の「API認証」に入力してください(API呼び出しと課金認証に使用)。

2. TwitterアカウントCookie: ツイート・いいね・フォロー等の書き込み操作のため、下記リクエストボディの cookie フィールドに対象TwitterアカウントのCookie(例: auth_token=...; ct0=...)を入力してください。

🔑API 認証
⚙️リクエストパラメータ (1)
📡
暂无响应数据

请在「请求配置」中确认参数后,点击底部的「发送请求」按钮。

リクエスト例
curl -X GET "https://api.twexapi.io/twitter/string/user_info" \
  -H "Authorization: Bearer YOUR_TOKEN"
レスポンス例
{
  "code": 0,
  "msg": "string",
  "data": {
    "userId": "string",
    "isBlueVerified": true,
    "createdAt": "string",
    "createdAtDatetime": "string",
    "defaultProfile": true,
    "defaultProfileImage": true,
    "description": "string",
    "location": "string",
    "fastFollowersCount": 0,
    "favouritesCount": 0,
    "followersCount": 0,
    "followingCount": 0,
    "hasCustomTimelines": true,
    "isTranslator": true,
    "listedCount": 0,
    "mediaCount": 0,
    "name": "string",
    "normalFollowersCount": 0,
    "pinnedTweetIdsStr": [
      null
    ],
    "possiblySensitive": true,
    "profileImageUrlHttps": "string",
    "username": "string",
    "statusesCount": 0,
    "translatorType": "string",
    "verified": true,
    "verified_type": "blue",
    "withheldInCountries": [
      null
    ],
    "protected": true,
    "url": "string",
    "descriptionUrls": [
      null
    ],
    "urls": [
      null
    ],
    "pinnedTweetIds": [
      null
    ]
  }
}