사용자 ID 기준 프로필 조회
사용자 ID 기준 프로필 조회.
API 참조로 돌아가기
/Users Endpoints
POST
/twitter/users/by_idsAPI 인증
AuthorizationBearer token · header필수TwexAPI 전역 인증 토큰 (Bearer Token). 헤더에 포함되어야 합니다: Authorization: Bearer <YOUR_TWEXAPI_KEY>.
요청 본문
필수application/jsonArray of
stringstring응답
200A list of User objects.
codeinteger필수HTTP 상태 코드 (200은 성공)
msgstring필수응답 메시지 (예: 'success')
dataUserModel[]필수엔드포인트가 반환한 핵심 데이터
속성 표시속성 숨기기
Array of
UserModelidstring필수User ID
namestring필수사용자 이름
screen_namestring필수트위터 사용자명 (@ 제외)
created_atstring | any작성 일시 (UTC 기준)
속성 표시속성 숨기기
Any of:
string
stringany
anycreated_at_datetimestring | anyAccount creation datetime in ISO format
속성 표시속성 숨기기
Any of:
string
stringany
anycan_dmboolean | anyWhether the user can be direct messaged
default: false
속성 표시속성 숨기기
Any of:
boolean
booleanany
anycan_media_tagboolean | anyWhether the user can be tagged in media
default: false
속성 표시속성 숨기기
Any of:
boolean
booleanany
anydefault_profileboolean | anyWhether the user has a default profile
default: false
속성 표시속성 숨기기
Any of:
boolean
booleanany
anydefault_profile_imageboolean | anyWhether the user has a default profile image
default: false
속성 표시속성 숨기기
Any of:
boolean
booleanany
anydescriptionstring | any프로필 자기소개 (Bio)
default: ""
속성 표시속성 숨기기
Any of:
string
stringany
anydescription_urlsstring[]List of URLs found in the user's description
default: []
urlsurlModel[] | anyList of URLs found in the user's profile
속성 표시속성 숨기기
Any of:
urlModel[]
Array of
urlModelurlstring필수URL
expanded_urlstring | anyExpanded URL
속성 표시속성 숨기기
Any of:
string
stringany
anydisplay_urlstring | anyDisplay URL
속성 표시속성 숨기기
Any of:
string
stringany
anyany
anyfast_followers_countinteger | anyCount of fast followers
default: 0
속성 표시속성 숨기기
Any of:
integer
integerany
anyfavourites_countinteger | anyNumber of tweets the user has liked
default: 0
속성 표시속성 숨기기
Any of:
integer
integerany
anyfollowers_countinteger | any총 팔로워 수
default: 0
속성 표시속성 숨기기
Any of:
integer
integerany
anyfollowing_countinteger | any총 팔로잉 수
default: 0
속성 표시속성 숨기기
Any of:
integer
integerany
anyhas_custom_timelinesboolean | anyWhether the user has custom timelines
default: false
속성 표시속성 숨기기
Any of:
boolean
booleanany
anyis_blue_verifiedboolean | anyBlue verification status
default: false
속성 표시속성 숨기기
Any of:
boolean
booleanany
anyverified_typestring | anyVerification badge type when not blue-only: blue, business, government, etc.
속성 표시속성 숨기기
Any of:
string
stringany
anyis_verifiedboolean | anyTrue if the account has any verification badge (blue, business, government, or legacy verified)
default: false
속성 표시속성 숨기기
Any of:
boolean
booleanany
anyprofile_image_shapestring | anyProfile image shape (Circle or Square; Square often indicates business/government)
속성 표시속성 숨기기
Any of:
string
stringany
anyis_translatorboolean | anyWhether the user is a translator
default: false
속성 표시속성 숨기기
Any of:
boolean
booleanany
anylisted_countinteger | anyNumber of public lists the user is a member of
default: 0
속성 표시속성 숨기기
Any of:
integer
integerany
anylocationstring | anyUser's location
default: ""
속성 표시속성 숨기기
Any of:
string
stringany
anymedia_countinteger | anyNumber of media tweets posted by the user
default: 0
속성 표시속성 숨기기
Any of:
integer
integerany
anynormal_followers_countinteger | anyCount of normal followers
default: 0
속성 표시속성 숨기기
Any of:
integer
integerany
anypinned_tweet_idsstring[]List of pinned tweet IDs
default: []
possibly_sensitiveboolean | anyWhether the user's profile may contain sensitive content
default: false
속성 표시속성 숨기기
Any of:
boolean
booleanany
anyprofile_banner_urlstring | anyURL of the user's profile banner
속성 표시속성 숨기기
Any of:
string
stringany
anyprofile_image_urlstring | anyURL of the user's profile image
속성 표시속성 숨기기
Any of:
string
stringany
anyprotectedboolean | anyWhether the user's tweets are protected
default: false
속성 표시속성 숨기기
Any of:
boolean
booleanany
anystatuses_countinteger | anyNumber of tweets posted by the user
default: 0
속성 표시속성 숨기기
Any of:
integer
integerany
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/twitter/users/by_ids" \
-H "Authorization: Bearer YOUR_TOKEN" \
-H "Content-Type: application/json" \
-d '[
"44196397",
"1696160451770429440"
]'const response = await fetch("https://api.twexapi.io/twitter/users/by_ids", {
method: "POST",
headers: {
"Authorization": "Bearer YOUR_TOKEN",
"Content-Type": "application/json"
},
body: JSON.stringify([
"44196397",
"1696160451770429440"
])
});import requests
response = requests.post(
"https://api.twexapi.io/twitter/users/by_ids",
headers={
"Authorization": "Bearer YOUR_TOKEN",
"Content-Type": "application/json"
},
json=[
"44196397",
"1696160451770429440"
],
)응답 예시
{
"code": 0,
"msg": "string",
"data": [
{
"id": "1717001045992251392",
"name": "Cryptoklepto",
"screen_name": "CK_Cryptoklepto",
"created_at": "Mon Oct 28 02:32:47 +0000 2024",
"created_at_datetime": "2024-10-28T02:32:47.000Z",
"can_dm": false,
"can_media_tag": false,
"default_profile": false,
"default_profile_image": false,
"description": "",
"description_urls": [],
"urls": [
{
"url": "https://www.google.com",
"expanded_url": "https://www.google.com",
"display_url": "www.google.com"
}
],
"fast_followers_count": 0,
"favourites_count": 0,
"followers_count": 0,
"following_count": 0,
"has_custom_timelines": false,
"is_blue_verified": false,
"verified_type": "government",
"is_verified": false,
"profile_image_shape": "Circle",
"is_translator": false,
"listed_count": 0,
"location": "New York, USA",
"media_count": 0,
"normal_followers_count": 0,
"pinned_tweet_ids": [],
"possibly_sensitive": false,
"profile_banner_url": "string",
"profile_image_url": "string",
"protected": false,
"statuses_count": 0
}
]
}{
"detail": [
{
"loc": [
"string"
],
"msg": "string",
"type": "string",
"input": null,
"ctx": {}
}
]
}