コンテンツにスキップ
Twexapi
日本語
Esc
移動開く⌘Jプレビュー

ユーザータイムラインのページネーション取得

ユーザータイムラインのページネーション取得.

POST/twitter/{screen_name}/timeline/page
API 認証
AuthorizationBearer token · header必須
TwexAPIのグローバル認証トークン (Bearer Token)。ヘッダーに含める必要があります:Authorization: Bearer <YOUR_TWEXAPI_KEY>。
パスパラメータ
screen_namestring必須
Twitterユーザー名(Handle、@なし)
リクエストボディ
必須application/json
next_cursorstring | any
次ページ取得用のカーソル(Cursor)。has_next_page が true の場合に指定
プロパティを表示
Any of:
string
string
any
any
countinteger
Maximum 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).
codeinteger
HTTP ステータスコード(200 は成功)
default: 200
msgstring
レスポンスメッセージ(例: 'success')
default: "success"
dataUserTweetItem[]必須
返却されるコアデータオブジェクトまたは配列
プロパティを表示
Array of UserTweetItem
tweet_idstring必須
ツイートの一意のID
is_paid_promotionboolean
Whether the tweet is associated with a paid promotion
default: false
full_textstring | any
ツイートの完全な本文テキスト
プロパティを表示
Any of:
string
string
any
any
created_atstring | any
作成日時(UTC標準時)
プロパティを表示
Any of:
string
string
any
any
langstring | any
ツイートの言語コード(例: 'ja', 'en')
プロパティを表示
Any of:
string
string
any
any
conversation_idstring | any
Conversation ID
プロパティを表示
Any of:
string
string
any
any
bookmark_countinteger
ブックマーク追加数
default: 0
favorite_countinteger
いいね(Favorite)数
default: 0
reply_countinteger
リプライ返信数
default: 0
retweet_countinteger
リツイート数
default: 0
quote_countinteger
引用リツイート数
default: 0
view_countstring | any
インプレッション・閲覧数
プロパティを表示
Any of:
string
string
any
any
view_count_statestring | any
View count state
プロパティを表示
Any of:
string
string
any
any
author_user_idstring | any
Author user ID
プロパティを表示
Any of:
string
string
any
any
author_screen_namestring | any
投稿者のTwitterユーザー名(@なし)
プロパティを表示
Any of:
string
string
any
any
author_namestring | any
投稿者の表示名
プロパティを表示
Any of:
string
string
any
any
author_is_blue_verifiedboolean | any
認証バッジ(X Premium)の有無
プロパティを表示
Any of:
boolean
boolean
any
any
author_verifiedboolean | any
Legacy verification flag
プロパティを表示
Any of:
boolean
boolean
any
any
author_is_verified_organization_affiliateboolean | any
Verified organization affiliate flag
プロパティを表示
Any of:
boolean
boolean
any
any
has_next_pageboolean必須
次ページが存在するかどうか(true の場合さらにデータあり)
next_cursorstring | any
次ページ取得用のカーソル(Cursor)。has_next_page が true の場合に指定
プロパティを表示
Any of:
string
string
any
any
requested_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 ValidationError
locstring | integer[]必須
プロパティを表示
Array of string | integer
Any of:
string
string
integer
integer
msgstring必須
レスポンスメッセージ(例: 'success')
typestring必須
inputany
ctxobject
インタラクティブテストPOST
インタラクティブテスト / Try APIPOST
Live Console
🌐対象サーバー:https://api.twexapi.io
● 本番環境レディ
🔍
公開データ取得(TwexAPIキーのみ、Twitter Cookie不要)

本エンドポイントは公開Twitterデータの検索・取得用です。TwitterアカウントやCookieは一切不要です!下記の「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
}'
レスポンス例
{
  "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
}