X 아티클 일괄 조회
X 아티클 일괄 조회.
API 참조로 돌아가기
/Article Endpoints
POST
/x/articleAPI 인증
AuthorizationBearer token · header필수TwexAPI 전역 인증 토큰 (Bearer Token). 헤더에 포함되어야 합니다: Authorization: Bearer <YOUR_TWEXAPI_KEY>.
요청 본문
필수application/jsonArray of
stringstring응답
200A list of objects containing detailed article data for each valid ID provided.
codeinteger필수HTTP 상태 코드 (200은 성공)
msgstring필수응답 메시지 (예: 'success')
dataXArticleModel[]필수엔드포인트가 반환한 핵심 데이터
속성 표시속성 숨기기
Array of
XArticleModeltweet_idstring | any트윗 고유 ID
속성 표시속성 숨기기
Any of:
string
stringany
anyfull_textstring | any트윗 전체 텍스트
속성 표시속성 숨기기
Any of:
string
stringany
anycreated_atstring | any작성 일시 (UTC 기준)
속성 표시속성 숨기기
Any of:
string
stringany
anylangstring | anyThe language
속성 표시속성 숨기기
Any of:
string
stringany
anybookmark_countinteger | any북마크 추가 수
속성 표시속성 숨기기
Any of:
integer
integerany
anyfavorite_countinteger | any좋아요 수
속성 표시속성 숨기기
Any of:
integer
integerany
anyreply_countinteger | any답글 수
속성 표시속성 숨기기
Any of:
integer
integerany
anyretweet_countinteger | any리트윗 수
속성 표시속성 숨기기
Any of:
integer
integerany
anyquote_countinteger | anyQuote count
속성 표시속성 숨기기
Any of:
integer
integerany
anyview_countstring | any조회수 (Impression)
속성 표시속성 숨기기
Any of:
string
stringany
anyview_count_statestring | anyView count state
속성 표시속성 숨기기
Any of:
string
stringany
anyconversation_idstring | anyConversation ID
속성 표시속성 숨기기
Any of:
string
stringany
anyauthor_user_idstring | anyAuthor user ID
속성 표시속성 숨기기
Any of:
string
stringany
anyauthor_screen_namestring | any작성자 트위터 아이디 (@ 제외)
속성 표시속성 숨기기
Any of:
string
stringany
anyauthor_namestring | any작성자 표시 이름
속성 표시속성 숨기기
Any of:
string
stringany
anyauthor_is_blue_verifiedboolean | anyWhether author is blue verified
속성 표시속성 숨기기
Any of:
boolean
booleanany
anyauthor_verifiedboolean | anyWhether author is verified
속성 표시속성 숨기기
Any of:
boolean
booleanany
anyauthor_is_verified_organization_affiliateboolean | anyWhether author is verified organization
속성 표시속성 숨기기
Any of:
boolean
booleanany
anyarticle_idstring | anyArticle ID
속성 표시속성 숨기기
Any of:
string
stringany
anyarticle_titlestring | anyArticle title
속성 표시속성 숨기기
Any of:
string
stringany
anyarticle_preview_textstring | anyArticle preview text
속성 표시속성 숨기기
Any of:
string
stringany
anyarticle_summary_textstring | anyArticle summary text
속성 표시속성 숨기기
Any of:
string
stringany
anyarticle_cover_image_urlstring | anyArticle cover image URL
속성 표시속성 숨기기
Any of:
string
stringany
anyarticle_blocksArticleBlock[]Article formatting blocks
속성 표시속성 숨기기
Array of
ArticleBlocktypestring필수The type of the article block.
textstring필수메시지 본문
entityRangesArticleBlockRange[]The entity ranges of the article block.
속성 표시속성 숨기기
Array of
ArticleBlockRangekeyinteger필수The key of the entity range.
lengthinteger필수The length of the entity range.
offsetinteger필수The offset of the entity range.
article_plain_textstring | anyArticle plain text
속성 표시속성 숨기기
Any of:
string
stringany
anyarticle_markdownstring | anyArticle markdown
속성 표시속성 숨기기
Any of:
string
stringany
anyarticle_media_image_urlsstring[]Article media image URLs
422요청 매개변수 유효성 검사 오류
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/article" \
-H "Authorization: Bearer YOUR_TOKEN" \
-H "Content-Type: application/json" \
-d '[
"1803006263529541838",
"1803006263529541839"
]'const response = await fetch("https://api.twexapi.io/x/article", {
method: "POST",
headers: {
"Authorization": "Bearer YOUR_TOKEN",
"Content-Type": "application/json"
},
body: JSON.stringify([
"1803006263529541838",
"1803006263529541839"
])
});import requests
response = requests.post(
"https://api.twexapi.io/x/article",
headers={
"Authorization": "Bearer YOUR_TOKEN",
"Content-Type": "application/json"
},
json=[
"1803006263529541838",
"1803006263529541839"
],
)응답 예시
{
"code": 0,
"msg": "string",
"data": [
{
"tweet_id": "string",
"full_text": "string",
"created_at": "string",
"lang": "string",
"bookmark_count": 0,
"favorite_count": 0,
"reply_count": 0,
"retweet_count": 0,
"quote_count": 0,
"view_count": "string",
"view_count_state": "string",
"conversation_id": "string",
"author_user_id": "string",
"author_screen_name": "string",
"author_name": "string",
"author_is_blue_verified": true,
"author_verified": true,
"author_is_verified_organization_affiliate": true,
"article_id": "string",
"article_title": "string",
"article_preview_text": "string",
"article_summary_text": "string",
"article_cover_image_url": "string",
"article_blocks": [
{
"type": "string",
"text": "string",
"entityRanges": [
{
"key": 0,
"length": 0,
"offset": 0
}
]
}
],
"article_plain_text": "string",
"article_markdown": "string",
"article_media_image_urls": [
"string"
]
}
]
}{
"detail": [
{
"loc": [
"string"
],
"msg": "string",
"type": "string",
"input": null,
"ctx": {}
}
]
}