Sand AISand AI MAGI-2MAGI-2 現已登上 SandBase:支援原生音訊的 1080p 影片立即試用

X (Twitter) Community Moderators

API 文件
https://api.sandbase.ai/v1/api/twitter/community-moderators

Moderators of an X Community by community ID, with profile details and cursor pagination.

價格
自 $0.0036 起美元/次呼叫
方法
POST
回應
JSON
參數
1 個必填 · 1 個選填

Playground

輸入
ID of the community
Cursor for pagination
輸出就緒

您的輸出會顯示在這裡

完成輸入後,點擊執行。

API README

X (Twitter) Community Moderators API

Returns the moderators of an X Community, with profile details for each moderator. It needs a community_id and supports cursor pagination.

Use cases

  • List who runs a community before you join it or contact its admins.
  • Check follower counts of a community's moderators to judge how much reach the community has.
  • Find moderators who accept direct messages by filtering on can_dm.
  • Track changes in a community's moderator team by comparing id values over time.

Request

curl -X POST "https://api.sandbase.ai/v1/api/twitter/community-moderators" \
  -H "Authorization: Bearer $SANDBASE_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{"community_id": "1493446837214187523"}'

The result is returned in outputs[0].data.

Parameters

NameTypeRequiredDescription
community_idstringYesID of the community
cursorstringNoCursor for pagination

Example response

Real response for the request above, trimmed: lists keep their first item and long strings are cut.

{
  "has_next": false,
  "has_next_page": false,
  "moderators": [
    {
      "can_dm": true,
      "created_at": "Mon Jan 15 23:55:33 +0000 2007",
      "description": "🚧 https://t.co/aMZ4K3azU0 🏠 https://t.co/1KH3Ex4L2r 🤑 https://t.co/z2G662Uvhl 👀 …",
      "email": null,
      "favourites_count": 38120,
      "followers_count": 90269,
      "following_count": 977,
      "friends_count": 977,
      "id": "641633",
      "isBlueVerified": true,
      "location": "",
      "media_tweets_count": 4910
    }
  ],
  "msg": "success",
  "next_cursor": null,
  "status": "success"
}

Response fields

FieldMeaning
moderators[].idNumeric ID of the moderator's X account, returned as a string.
moderators[].screen_name / moderators[].nameThe moderator's @handle and display name.
moderators[].descriptionThe profile bio text. Links appear as shortened t.co URLs.
moderators[].followers_count / moderators[].following_countNumber of accounts that follow the moderator, and number of accounts the moderator follows.
moderators[].statuses_count / moderators[].media_tweets_countTotal posts by the account, and the count of posts that contain media.
moderators[].isBlueVerified / moderators[].verifiedVerification flags for the account. isBlueVerified can be true while verified is false.
moderators[].can_dmWhether the account can receive direct messages, as a boolean.
moderators[].created_atWhen the account was created, in a format like Mon Jan 15 23:55:33 +0000 2007.
has_next / next_cursorShow whether more moderators exist. next_cursor is null when there are no more pages.

Notes

Pricing

Billed at the actual cost of each call, about $0.0036 for the request above. Failed calls are not charged.

探索更多

相關 APIs

所有 APIs
API價格回應
X (Twitter)每次呼叫 $0.0036 起JSON
X (Twitter)每次呼叫 $0.00054 起JSON
Twitter每次呼叫 $0.0006 起非同步 JSON
X (Twitter)每次呼叫 $0.0001 起JSON
X (Twitter)每次呼叫 $0.00045 起JSON
X (Twitter)每次呼叫 $0.00045 起JSON

指南:X API alternative: pay per call, not per postBest Twitter API in 2026: X API Pricing Compared

問題

常見問題

我要如何使用 X (Twitter) Community Moderators API?

使用 POST 請求將您的 SandBase API 金鑰放在 Authorization 標頭(Bearer)中,並以 JSON 主體傳入參數,即可呼叫 https://api.sandbase.ai/v1/api/twitter/community-moderators。您也可以直接在本頁的 Playground 試用,不必撰寫程式碼。

X (Twitter) Community Moderators API 的費用是多少?

每次起 $0.0036,並從您的 SandBase 餘額中扣款。您只會為實際發出的呼叫付費;沒有訂閱方案。

X (Twitter) Community Moderators API 接受哪些參數?

必要:community_id (string)。 選填:cursor (string)。 本頁的 Parameters 表格與 Playground 會列出每個欄位。

X (Twitter) Community Moderators API 會回傳什麼?

在同一個 HTTP 請求中回傳的 JSON 回應(同步)。 本頁的 README 包含範例回應。

我需要 X (Twitter) 開發者帳號或 API 金鑰嗎?

不需要。X (Twitter) Community Moderators 是透過 SandBase 運作,因此一組 SandBase API 金鑰即可使用此端點以及目錄中的其他所有 API 和模型。您不需要另外申請 X (Twitter) API 存取權。