사용자 타임라인 페이징 조회
사용자 타임라인 페이징 조회.
API 참조로 돌아가기
/Timeline Endpoints
POST
/twitter/{screen_name}/timeline/pageAPI 인증
AuthorizationBearer token · header필수TwexAPI 전역 인증 토큰 (Bearer Token). 헤더에 포함되어야 합니다: Authorization: Bearer <YOUR_TWEXAPI_KEY>.
경로 매개변수
screen_namestring필수트위터 사용자명 (@ 제외)
요청 본문
필수application/jsonnext_cursorstring | any다음 페이지 조회를 위한 커서 (Cursor)
속성 표시속성 숨기기
Any of:
string
stringany
anycountintegerMaximum number of tweets to return for this page.
min 1 · max 100 · default: 20
응답
200Current page data and pagination metadata (has_next_page, next_cursor).
codeintegerHTTP 상태 코드 (200은 성공)
default: 200
msgstring응답 메시지 (예: 'success')
default: "success"
dataUserTweetItem[]필수엔드포인트가 반환한 핵심 데이터
속성 표시속성 숨기기
Array of
UserTweetItemtweet_idstring필수트윗 고유 ID
is_paid_promotionbooleanWhether the tweet is associated with a paid promotion
default: false
full_textstring | any트윗 전체 텍스트
속성 표시속성 숨기기
Any of:
string
stringany
anycreated_atstring | any작성 일시 (UTC 기준)
속성 표시속성 숨기기
Any of:
string
stringany
anylangstring | anyTweet language
속성 표시속성 숨기기
Any of:
string
stringany
anyconversation_idstring | anyConversation ID
속성 표시속성 숨기기
Any of:
string
stringany
anybookmark_countinteger북마크 추가 수
default: 0
favorite_countinteger좋아요 수
default: 0
reply_countinteger답글 수
default: 0
retweet_countinteger리트윗 수
default: 0
quote_countintegerQuote count
default: 0
view_countstring | any조회수 (Impression)
속성 표시속성 숨기기
Any of:
string
stringany
anyview_count_statestring | anyView count state
속성 표시속성 숨기기
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 | anyBlue verification flag
속성 표시속성 숨기기
Any of:
boolean
booleanany
anyauthor_verifiedboolean | anyLegacy verification flag
속성 표시속성 숨기기
Any of:
boolean
booleanany
anyauthor_is_verified_organization_affiliateboolean | anyVerified organization affiliate flag
속성 표시속성 숨기기
Any of:
boolean
booleanany
anyhas_next_pageboolean필수다음 페이지 데이터 존재 여부
next_cursorstring | any다음 페이지 조회를 위한 커서 (Cursor)
속성 표시속성 숨기기
Any of:
string
stringany
anyrequested_countinteger필수Original count requested by the client.
effective_countinteger필수Count after credit throttling was applied.
parsed_countinteger필수Number of tweets actually parsed from the response.
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 인증
⚙️요청 파라미터 (1)
📝요청 본문application/json
📡
暂无响应数据
请在「请求配置」中确认参数后,点击底部的「发送请求」按钮。
요청 예시
curl -X POST "https://api.twexapi.io/twitter/Ian_Codes/timeline/page" \
-H "Authorization: Bearer YOUR_TOKEN" \
-H "Content-Type: application/json" \
-d '{
"next_cursor": "",
"count": 20
}'const response = await fetch("https://api.twexapi.io/twitter/Ian_Codes/timeline/page", {
method: "POST",
headers: {
"Authorization": "Bearer YOUR_TOKEN",
"Content-Type": "application/json"
},
body: JSON.stringify({
"next_cursor": "",
"count": 20
})
});import requests
response = requests.post(
"https://api.twexapi.io/twitter/Ian_Codes/timeline/page",
headers={
"Authorization": "Bearer YOUR_TOKEN",
"Content-Type": "application/json"
},
json={
"next_cursor": "",
"count": 20
},
)응답 예시
{
"code": 200,
"msg": "success",
"data": [
{
"tweet_id": "string",
"is_paid_promotion": false,
"full_text": "string",
"created_at": "string",
"lang": "string",
"conversation_id": "string",
"bookmark_count": 0,
"favorite_count": 0,
"reply_count": 0,
"retweet_count": 0,
"quote_count": 0,
"view_count": "string",
"view_count_state": "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
}
],
"has_next_page": true,
"next_cursor": "DAAHCgABHFeD5h9__-cLAAIAAAATMjAzODIzMzA5NTM4ODY4MDU5NAgAAwAAAAIAAA",
"requested_count": 0,
"effective_count": 0,
"parsed_count": 0
}{
"detail": [
{
"loc": [
"string"
],
"msg": "string",
"type": "string",
"input": null,
"ctx": {}
}
]
}