Xクリエイターのポストを取得

5 件のエンドポイント • ベース: https://openapi.scdata.cc

持久化データベースからXクリエイターのポストをページ単位で返します。各項目には投稿日時、キャプション、エンゲージメント数が含まれ、パフォーマンス推移の把握や代表コンテンツの選定に適しています。

GET/api/v1/x/user/posts

クォータ消費: このエンドポイントへの成功したリクエスト 1 件あたり、プランのクォータが 1 単位消費されます。

リクエストパラメータ

必須パラメータ

名前位置型説明
usernamequerystringX handle
example: elonmusk

任意パラメータ

名前位置型説明
publish_at_startquerystringPublish time from
example: 2026-01-01
publish_at_endquerystringPublish time to
example: 2026-09-01
post_idquerystringPost ID
example: 1519480761749016577
media_typequerystringMedia type (0 = text, 1 = image, 2 = video, 3 = GIF)
example: 2
post_typequerystringPost type (1 = original, 2 = repost, 3 = quote, 4 = thread, 5 = reply)
example: 1
exclude_retweetquerystringExclude reposts (1 = exclude)
example: 1
is_paidquerystringSponsored post (1 = yes)
example: 1
sort_byquerystringSort field (publish_at, view_count, like_count, engagement_rate)
example: publish_at
sort_orderquerystringSort direction (asc, desc), default desc
example: desc
pagequeryintegerPage number
page_sizequeryintegerPage size

レスポンスフィールド

名前型説明
successbooleanSuccess
codeintegerCode
messagestringMessage
dataobject-
data.itemsarray<object>Items
data.totalintegerTotal
data.pageintegerPage
data.page_sizeintegerPage Size
data.total_pagesintegerTotal Pages

お試し実行

https://openapi.scdata.cc/api/v1/x/user/posts
ダッシュボードのAPIキーを選択
リクエストを送信する前にAPIキーを入力してください。ダッシュボードを開く

クエリパラメータ

username*
publish_at_start
publish_at_end
post_id
media_type
post_type
exclude_retweet
is_paid
sort_by
sort_order
page
page_size

cURL の例

bash
curl -X GET "https://openapi.scdata.cc/api/v1/x/user/posts?username=elonmusk" \
-H "Authorization: YOUR_API_KEY"

レスポンス例 (200 application/json)

json
{
"success": true,
"code": 200,
"message": "Request successful",
"data": {
"items": [
{
"post_id": "1519480761749016577",
"post_url": "https://x.com/elonmusk/status/1519480761749016577",
"description": "Next I’m buying Coca-Cola to put the cocaine back in",
"duration": 0,
"publish_at": "2022-04-28 08:56:58",
"language": "en",
"media_type": "text",
"post_type": "original",
"is_pinned": false,
"is_sensitive": false,
"is_paid": false,
"view_count": 0,
"like_count": 4198044,
"comment_count": 167757,
"retweet_count": 577720,
"quote_count": 168195,
"bookmark_count": 22534,
"engagement_count": 5111716,
"engagement_rate": "2.12",
"source": "Twitter for iPhone",
"post_username": "elonmusk",
"post_user_url": "https://x.com/elonmusk",
"post_user_follower_count": 241536070,
"last_update_at": "2026-09-02 16:22:17"
}
],
"total": 112,
"page": 1,
"page_size": 1,
"total_pages": 112
}
}

ユースケース

  • コンテンツ実績のレビュー — クリエイターの最新ポストのエンゲージメントを比較し、どの形式やテーマが受けているかを把握します。
  • ブランドセーフティ確認 — 提携前に最近のキャプションやテーマを確認し、クリエイターのコンテンツがブランドに合うかを判断します。

関連エンドポイント