본문으로 건너뛰기
Twexapi
한국어
Esc
이동열기⌘J미리보기

계정 가입 국가 조회

계정 가입 국가 조회.

API 참조로 돌아가기
/Twitter Account Based in Endpoints
POST/twitter/account/based
API 인증
AuthorizationBearer token · header필수
TwexAPI 전역 인증 토큰 (Bearer Token). 헤더에 포함되어야 합니다: Authorization: Bearer <YOUR_TWEXAPI_KEY>.
요청 본문
필수application/json
Array of string
string
응답
200The Twitter Account Based in data.
codeinteger
HTTP 상태 코드 (200은 성공)
default: 200
msgstring
응답 메시지 (예: 'success')
default: "success"
dataTwitterUserAboutResponse[] | any
엔드포인트가 반환한 핵심 데이터
속성 표시
Any of:
TwitterUserAboutResponse[]
Array of TwitterUserAboutResponse
user_idstring필수
트위터 사용자 고유 ID
avatarstring필수
Profile avatar image URL
namestring필수
사용자 이름
screen_namestring필수
트위터 사용자명 (@ 제외)
created_atstring필수
작성 일시 (UTC 기준)
profile_image_shapestring필수
Profile image shape (e.g., Circle, Square)
verificationboolean필수
Whether the user account is verified
userLabelDisplayTypestring필수
User label display type (e.g., Badge)
userLabelTypestring필수
User label type (e.g., BusinessLabel)
is_blue_verifiedboolean필수
Whether the user has blue verification badge (Twitter Blue/X Premium)
privacy_policy_urlstring필수
Privacy policy or learn more URL
account_based_instring필수
Country or region where the account is based
location_accurateboolean필수
Whether the location information is accurate
affiliate_usernamestring필수
Affiliated username (e.g., business account username)
sourcestring필수
Source of account creation (e.g., 'United States App Store')
username_changes_countinteger필수
Number of times the username has been changed
override_verified_yearinteger필수
Override verified year (if applicable, negative values indicate special cases)
verified_since_msecinteger필수
Timestamp in milliseconds when the account was verified (negative values indicate special cases)
any
any
422요청 매개변수 유효성 검사 오류
detailValidationError[]
속성 표시
Array of ValidationError
locstring | integer[]필수
속성 표시
Array of string | integer
Any of:
string
string
integer
integer
msgstring필수
응답 메시지 (예: 'success')
typestring필수
inputany
ctxobject
대화형 콘솔POST
대화형 콘솔 / API 테스트POST
Live Console
🌐대상 서버:https://api.twexapi.io
● 프로덕션 준비 완료
🔍
공개 데이터 조회 (TwexAPI 키만 필요, Twitter 쿠키 불필요)

이 엔드포인트는 공개 Twitter 데이터를 조회합니다. Twitter 계정이나 쿠키가 필요하지 않습니다! 아래 "API 인증"에 TwexAPI 플랫폼 키 (Bearer Token)를 입력하여 바로 테스트하세요.

🔑API 인증
📝요청 본문application/json
📡
暂无响应数据

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

요청 예시
curl -X POST "https://api.twexapi.io/twitter/account/based" \
  -H "Authorization: Bearer YOUR_TOKEN" \
  -H "Content-Type: application/json" \
  -d '[
  "screen_name",
  "elonmusk"
]'
응답 예시
{
  "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
    }
  ]
}