X user_followers API

REST 呼び出し1回で X の user_followers データを取得——全プラットフォーム共通の安定した JSON スキーマに正規化。

  • 公開エンドポイント 1 件
  • GET /v1/x/users/{username}/followers

契約サマリー(英語): List followers (capability x.user_followers)

正規化されたレスポンスエンティティ
x/user_followers
capability
x.user_followers

すべてのレスポンスには新鮮度(cache / default / live)と課金メタデータも含まれます。

活用シーン

  • {{platform}} アカウントのオーディエンスを分析:正規化・ページネーション済みの JSON でフォロワー・フォロー中リストを取得。
  • アカウント間の共通フォロワーを検出し、オーディエンスの関係やエンゲージメントグループを見つけます。
  • 提携前にオーディエンスの品質と重複を評価。生ページのエクスポートは不要です。

レスポンスフィールド

x user_followers response (normalized envelope)

Paginated followers of a user as normalized user entities (capability x.user_followers). Page size follows the request's `limit` parameter (1..100, default 20). Envelope of GET /v1/x/users/{username}/followers.

フィールド型必須説明
dataprofile[]必須—
next_cursorstring | null必須Opaque pagination cursor; null when the list is exhausted.
meta.request_idstring必須—
meta.freshness.modecache | default | live必須—
meta.freshness.age_secondsinteger | null任意—
meta.freshness.source_layercache | db | upstream必須—
meta.freshness.staleboolean任意—
meta.billing.cache_hitboolean必須—
meta.billing.amount_creditsinteger必須Credits actually charged for this request (the settlement unit; 1 credit = $0.0001, permanent).

フィールドの注記は契約英語の原文のまま表示されます。

レスポンスメタデータ

フィールド型必須説明
modecache | default | live必須Effective mode after merging param > max_age > source policy (D-004).
age_secondsinteger | null任意Age of served data; null when unknown.
source_layercache | db | upstream必須Which layer served the response (PRD §10).
staleboolean任意True when stale data was served under stale_if_error / SWR (D-004).
billing.amount_creditsinteger必須Micro-USD (1e-6 USD) actually charged for this request.
billing.cache_hitboolean必須—

フィールドの注記は契約英語の原文のまま表示されます。

リクエストとレスポンスの例

GET/v1/x/users/{username}/followers
curl -H "Authorization: Bearer $MESHDATA_API_KEY" \
  "https://api.fetchpi.com/v1/x/users/newdev/followers"
{
  "data": [
    {
      "id": "2244994945",
      "platform": "x",
      "type": "profile",
      "username": "newdev",
      "display_name": "New Dev",
      "description": "Building data APIs.",
      "url": "https://x.com/newdev",
      "profile_image_url": "https://cdn.example.com/avatar/newdev.jpg",
      "banner_image_url": null,
      "location": "Berlin",
      "verified": false,
      "created_at": "2019-04-01T10:15:00Z",
      "metrics": {
        "followers": 1204,
        "following": 312,
        "posts": 870,
        "likes": 15200
      },
      "fetched_at": "2026-09-18T09:00:00Z"
    }
  ],
  "next_cursor": null,
  "meta": {
    "request_id": "req_01HTXQ8Z9HTQ",
    "freshness": {
      "mode": "default",
      "age_seconds": 0,
      "source_layer": "upstream",
      "stale": false
    },
    "billing": {
      "amount_credits": 200,
      "cache_hit": false
    }
  }
}

無料デモ

無料アカウントを作成して API キーを取得すれば、ブラウザ版 Playground からこのエンドポイントを呼び出せます。

Playground で試す

このエンドポイントのパラメータ表・エラーコード・レスポンスの詳細は API ドキュメントにあります。

エンドポイントリファレンスを開く

よくある質問

長いフォロワーリストはどう扱われますか?

リストはカーソルページネーション対応——返された cursor で次ページを要求し、必要な分だけ取得できます。

このエンドポイントを無料で試せますか?

はい——アカウント登録後に API キーを取得すれば、コンソールの Playground から呼び出せます。

user_followers ケイパビリティの課金は?

Data API はリクエスト単位のクレジット課金で、cache/live の新鮮度により倍率が変わります。最新のケイパビリティ別価格は料金ページをご確認ください。

料金

リクエスト単位のクレジット課金、cache/live の新鮮度オプション対応——最新価格は料金ページをご確認ください。