Sand AISand AI MAGI-2MAGI-2 hiện đã có trên SandBase: video 1080p với âm thanh gốcDùng thử ngay

X (Twitter) Community Moderators

Tài liệu API
https://api.sandbase.ai/v1/api/twitter/community-moderators

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

Giá
Từ $0.0036USD / lượt gọi
Phương thức
POST
Phản hồi
JSON
Tham số
1 bắt buộc · 1 tùy chọn

Phòng thử nghiệm

Đầu vào
ID of the community
Cursor for pagination
Đầu raSẵn sàng

Đầu ra của bạn sẽ xuất hiện ở đây

Hoàn tất đầu vào, rồi nhấp Run.

README API

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.

Khám phá thêm

APIs liên quan

Tất cả APIs
APIGiáPhản hồi
X (Twitter)Từ $0.0036 mỗi lần gọiJSON
X (Twitter)Từ $0.00054 mỗi lần gọiJSON
TwitterTừ $0.0006 mỗi lần gọiJSON bất đồng bộ
X (Twitter)Từ $0.0001 mỗi lần gọiJSON
X (Twitter)Từ $0.00045 mỗi lần gọiJSON
X (Twitter)Từ $0.00045 mỗi lần gọiJSON

Hướng dẫn:X API alternative: pay per call, not per postBest Twitter API in 2026: X API Pricing Compared

Câu hỏi

FAQ

Làm thế nào để dùng API X (Twitter) Community Moderators?

Gửi yêu cầu POST đến https://api.sandbase.ai/v1/api/twitter/community-moderators với khóa API SandBase của bạn trong tiêu đề Authorization (Bearer) và các tham số trong phần thân JSON. Bạn cũng có thể thử trực tiếp trong Playground trên trang này mà không cần viết code.

API X (Twitter) Community Moderators có giá bao nhiêu?

Từ $0.0036 mỗi lần gọi, được tính từ số dư SandBase của bạn. Bạn chỉ bị tính phí cho các lần gọi bạn thực hiện; không có gói đăng ký.

API X (Twitter) Community Moderators chấp nhận những tham số nào?

Bắt buộc: community_id (string). Tùy chọn: cursor (string). Bảng Parameters và Playground trên trang này liệt kê mọi trường.

API X (Twitter) Community Moderators trả về gì?

Phản hồi JSON được trả về trong cùng một yêu cầu HTTP (đồng bộ). README trên trang này có ví dụ phản hồi.

Tôi có cần tài khoản nhà phát triển hoặc API key của X (Twitter) không?

Không. X (Twitter) Community Moderators chạy thông qua SandBase, nên chỉ cần một API key SandBase là đủ cho endpoint này và mọi API cùng model khác trong danh mục. Bạn không cần đăng ký riêng để có quyền truy cập API của X (Twitter).