본문으로 건너뛰기
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필수
쿠키에서 추출한 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
대화형 콘솔 / API 테스트GET
Live Console
🌐대상 서버:https://api.twexapi.io
● 프로덕션 준비 완료
✍️
쓰기 작업 인증 정보 가이드 (TwexAPI 키 + Twitter 쿠키)

1. TwexAPI 플랫폼 키 (Bearer Token): 요청 과금 및 인증을 위해 아래 "API 인증"에 입력하세요.

2. 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
    ]
  }
}