계정 유효성 검증
계정 유효성 검증.
API 참조로 돌아가기
/Users Endpoints
POST
/x/account/verifyAPI 인증
AuthorizationBearer token · header필수TwexAPI 전역 인증 토큰 (Bearer Token). 헤더에 포함되어야 합니다: Authorization: Bearer <YOUR_TWEXAPI_KEY>.
요청 본문
필수application/jsonArray of
stringstring응답
200A verification object containing the account's badge type and affiliation details.
codeinteger필수HTTP 상태 코드 (200은 성공)
msgstring필수응답 메시지 (예: 'success')
dataAccountVerifyModel[]필수엔드포인트가 반환한 핵심 데이터
속성 표시속성 숨기기
Array of
AccountVerifyModeluser_idstring | any트위터 사용자 고유 ID
속성 표시속성 숨기기
Any of:
string
stringany
anyscreen_namestring | any트위터 사용자명 (@ 제외)
속성 표시속성 숨기기
Any of:
string
stringany
anyis_blue_verifiedboolean | any속성 표시속성 숨기기
Any of:
boolean
booleanany
anyis_verified_organization_affiliateboolean | any속성 표시속성 숨기기
Any of:
boolean
booleanany
anyis_verifiedboolean | anyTrue if is_blue_verified or is_verified_organization_affiliate is True
속성 표시속성 숨기기
Any of:
boolean
booleanany
any422요청 매개변수 유효성 검사 오류
detailValidationError[]속성 표시속성 숨기기
Array of
ValidationErrorlocstring | integer[]필수속성 표시속성 숨기기
Array of
string | integerAny of:
string
stringinteger
integermsgstring필수응답 메시지 (예: 'success')
typestring필수inputanyctxobject⚡대화형 콘솔POST
⚡대화형 콘솔 / API 테스트POSTLive Console
🌐대상 서버:
https://api.twexapi.io● 프로덕션 준비 완료
🔍
공개 데이터 조회 (TwexAPI 키만 필요, Twitter 쿠키 불필요)
이 엔드포인트는 공개 Twitter 데이터를 조회합니다. Twitter 계정이나 쿠키가 필요하지 않습니다! 아래 "API 인증"에 TwexAPI 플랫폼 키 (Bearer Token)를 입력하여 바로 테스트하세요.
🔑API 인증
📝요청 본문application/json
📡
暂无响应数据
请在「请求配置」中确认参数后,点击底部的「发送请求」按钮。
요청 예시
curl -X POST "https://api.twexapi.io/x/account/verify" \
-H "Authorization: Bearer YOUR_TOKEN" \
-H "Content-Type: application/json" \
-d '[
"1696160451770429440",
"elonmusk"
]'const response = await fetch("https://api.twexapi.io/x/account/verify", {
method: "POST",
headers: {
"Authorization": "Bearer YOUR_TOKEN",
"Content-Type": "application/json"
},
body: JSON.stringify([
"1696160451770429440",
"elonmusk"
])
});import requests
response = requests.post(
"https://api.twexapi.io/x/account/verify",
headers={
"Authorization": "Bearer YOUR_TOKEN",
"Content-Type": "application/json"
},
json=[
"1696160451770429440",
"elonmusk"
],
)응답 예시
{
"code": 0,
"msg": "string",
"data": [
{
"user_id": "string",
"screen_name": "string",
"is_blue_verified": true,
"is_verified_organization_affiliate": true,
"is_verified": true
}
]
}{
"detail": [
{
"loc": [
"string"
],
"msg": "string",
"type": "string",
"input": null,
"ctx": {}
}
]
}