公開ポストの取得
Xエンドポイントを使えば、「公開ポストの取得」をドキュメント化された入力とJSONレスポンスによる再現可能なAPIリクエストに変えられます。
X (formerly known as Twitter)
公開Xポストとプロフィールのデータを構造化JSONに変換し、ソーシャルリスニング、クリエイターリサーチ、公共性のあるモニタリングに活用できます。
公開されているXのポスト、プロフィール、プロフィール最初のポスト一覧を、ドキュメント化されたCrawlora APIエンドポイントで取得できます。
エンドポイントファミリー
2
ドキュメント化されたパラメータ
8
サンプル数
3
ライブカタログスナップショット
稼働エンドポイント
3
メソッド
GET
必須パラメータ
6
スキーマ参照
3
{
"platform": "X",
"endpoint": "x-post",
"method": "GET",
"path": "/x/post/{id}",
"auth": "apiKey"
}ユースケース
公開されているXのポスト、プロフィール、プロフィール最初のポスト一覧を、ドキュメント化されたCrawlora APIエンドポイントで取得できます。
Xエンドポイントを使えば、「公開ポストの取得」をドキュメント化された入力とJSONレスポンスによる再現可能なAPIリクエストに変えられます。
Xエンドポイントを使えば、「プロフィールのエンリッチ」をドキュメント化された入力とJSONレスポンスによる再現可能なAPIリクエストに変えられます。
Xエンドポイントを使えば、「プロフィール最新ポストのモニタリング」をドキュメント化された入力とJSONレスポンスによる再現可能なAPIリクエストに変えられます。
マネージド実行
以下の数値はすべて、稼働中のXエンドポイントカタログから取得しています(エンドポイント3件、ドキュメント化されたリクエストパラメータ8個、公開レスポンススキーマ3件)。DocsとPlaygroundが参照しているカタログと同じものです。
Xのエンドポイントは3件、2つのリクエストファミリーに分類されています(Profile、Post)。
これらのXエンドポイントには8個のリクエストパラメータがドキュメント化されており、うち6個が必須です。統合コードを書く前に入力仕様をすべて確認できます。
3件のXエンドポイントのうち3件が実際のサンプルレスポンスを、3件がドキュメント化されたレスポンススキーマを備えています。最初のリクエストの前に実データの形に合わせて実装できます。
Xのエンドポイントは成功時のスキーマに加えてエラーレスポンス(400、404、503)もドキュメント化しています。ブロック、レート制限、レコード欠損は空データではなく型付きのエラーとして返ります。
Xのエンドポイントは3個のホスト型MCPツールとして提供されており、エージェントは同じパラメータと同じJSON契約のまま、追加の実装なしに同じルートを呼び出せます。
カバレッジマップ
これらのカードは稼働中のエンドポイントカタログから生成されるため、このページはDocsとPlaygroundが使うAPIサーフェスをそのまま反映します。
/x/profile/{username}
/x/post/{id}
エンドポイントカタログ
/x/post/{id}Returns a public X post by numeric post id, including author, text, visible metrics, and a quoted post preview when present.
レスポンスに関する注記
- Returns 404 when the post is not public or the optional `username` does not match the post author. - Returns 503 when X does not provide the public page payload or the payload shape is not parseable. Example response: ```json { "code": 200, "msg": "OK", "data": { "id": "2071148560779976947", "url": "https://x.com/Ansel_Flipradio/status/2071148560779976947", "text": "Example public post text", "author": { "id": "1634026666518519808", "username": "Ansel_Flipradio", "name": "Fear_Nation_世界苦茶", "url": "https://x.com/Ansel_Flipradio" }, "metrics": { "replies": 12, "reposts": 5, "likes": 62, "bookmarks": 4, "views": 15115 } } } ```
MCPツール x_post
/x/profile/{username}Returns public profile details for an X username, including visible counts and profile media when available.
レスポンスに関する注記
- Returns 404 when the profile is not public or the returned profile does not match the requested username. - Returns 503 when X does not provide the public page payload or the payload shape is not parseable. - `verified_type` distinguishes the flavor of the checkmark (e.g. `Business`, `Government`) and is only present for gold/grey verified accounts; ordinary blue-verified accounts omit it. - `affiliate_label` is the small highlighted-affiliation badge X shows next to the display name (e.g. `Prime Video`) and is only present when the account has one. Example response: ```json { "code": 200, "msg": "OK", "data": { "id": "1634026666518519808", "username": "Ansel_Flipradio", "name": "Fear_Nation_世界苦茶", "url": "https://x.com/Ansel_Flipradio", "avatar_url": "https://pbs.twimg.com/profile_images/example_normal.jpg", "banner_url": "https://pbs.twimg.com/profile_banners/example/banner", "is_blue_verified": true, "verified_type": "Business", "affiliate_label": "Prime Video", "description": "Public profile description", "external_url": "https://example.com", "metrics": { "followers": 39608, "following": 188, "posts": 5498 } } } ```
MCPツール x_profile
/x/profile/{username}/postsReturns posts present in the first public profile page payload for an X username. The endpoint does not paginate replies, media-only tabs, or search results.
レスポンスに関する注記
- Returns only posts available in the initial public profile page payload. - Returns 404 when the profile is not public or the returned profile does not match the requested username. - Returns 503 when X does not provide the public page payload or the payload shape is not parseable. Example response: ```json { "code": 200, "msg": "OK", "data": { "username": "Ansel_Flipradio", "url": "https://x.com/Ansel_Flipradio", "count": 1, "posts": [ { "id": "1860888559739343022", "url": "https://x.com/Ansel_Flipradio/status/1860888559739343022", "text": "Example public profile post text", "author": { "id": "1634026666518519808", "username": "Ansel_Flipradio", "name": "Fear_Nation_世界苦茶", "url": "https://x.com/Ansel_Flipradio" } } ] } } ```
MCPツール x_profile_posts
関連API
Social & Creator Platforms
Build creator intelligence, video research, transcript, and audience-comment workflows without maintaining YouTube scrapers.
Social & Creator Platforms
Turn Twitch's public channel, stream, clip, and team data into structured JSON — live status and viewer counts, top games, clips, VODs, and team rosters — as normalized JSON. Credential-free.
Social & Creator Platforms
Track creator, content, hashtag, music, trend, and public ad creative signals from TikTok with production-ready API routes.
Xのスクレイピング方法
Xの公開ページはインタラクティブな閲覧向けにレンダリングされており、単純なJSONエクスポートはできません。CrawloraのXエンドポイントは、公開ポストとプロフィールのデータを構造化JSONで返します。
公開ポストのURL/ステータスID、ユーザー名、またはプロフィールの最初に表示されるポストページを指定します。
ポストID(任意でユーザー名)またはプロフィールのユーザー名を、CrawloraのXエンドポイントに渡します。
ポスト本文、投稿者情報、プロフィールの各種カウント、認証状態、表示可能なタイムライン項目を取得できます。
再実行すれば、公開ポストの詳細やプロフィールのシグナルを最新化し、リサーチとモニタリングに使えます。
FAQ
公開XのポストIDまたはユーザー名をCrawloraのXエンドポイントに送るだけで、公開ポスト、プロフィール、プロフィール最初のポスト一覧を構造化JSONで取得できます。公開データのみを収集し、Xの利用規約を遵守してください。
はい。CrawloraのXエンドポイントは公開Webページを対象としており、お客様のアカウントCookie、OAuthトークン、ログイン状態は不要です。
公開されているポストとプロフィールのデータ収集は、Xの利用規約、robotsディレクティブ、レート制限、適用法を遵守する限り、一般的に許容されます。収集権限のある公開データが対象です。
X's official API is tiered and expensive: Free allows one tweet lookup every 15 minutes, Basic ($100/month) caps out at 10,000 tweets and 7 days of search history, and full-archive access needs the Pro ($5,000/month) or Enterprise (from $42,000/month) tier. Crawlora reads the same public posts and profiles without a developer app, approval, or tier.