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?

向 https://api.sandbase.ai/v1/api/twitter/community-moderators 发送 POST 请求,在 Authorization 请求头中使用您的 SandBase API key(Bearer),并将参数作为 JSON 请求体传入。您也可以直接在本页的 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 key 吗?

不需要。X (Twitter) Community Moderators 通过 SandBase 运行,因此一个 SandBase API key 即可覆盖此端点以及目录中的其他所有 API 和模型。您无需单独申请 X (Twitter) API 访问权限。