Sand AISand AI MAGI-2MAGI-2 jest teraz na SandBase: wideo 1080p z natywnym dźwiękiemWypróbuj teraz

X (Twitter) Community Moderators

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

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

Cena
Od $0.0036USD / wywołanie
Metoda
POST
Odpowiedź
JSON
Parametry
1 wymaganych · 1 opcjonalnych

Playground

Wejście
ID of the community
Cursor for pagination
WyjścieGotowe

Twój wynik pojawi się tutaj

Uzupełnij dane wejściowe, a następnie kliknij Uruchom.

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.

Odkryj więcej

Powiązane APIs

Wszystkie APIs
APICenaOdpowiedź
X (Twitter)Od $0.0036 za wywołanieJSON
X (Twitter)Od $0.00054 za wywołanieJSON
TwitterOd $0.0006 za wywołanieAsynchroniczny JSON
X (Twitter)Od $0.0001 za wywołanieJSON
X (Twitter)Od $0.00045 za wywołanieJSON
X (Twitter)Od $0.00045 za wywołanieJSON

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

Pytania

FAQ

Jak używać API X (Twitter) Community Moderators?

Wyślij żądanie POST do https://api.sandbase.ai/v1/api/twitter/community-moderators z kluczem API SandBase w nagłówku Authorization (Bearer) oraz parametrami w treści JSON. Możesz też wypróbować je w Playground na tej stronie bez pisania kodu.

Ile kosztuje API X (Twitter) Community Moderators?

Od $0.0036 za wywołanie, rozliczane z salda SandBase. Płacisz tylko za wykonane wywołania; nie ma subskrypcji.

Jakie parametry przyjmuje API X (Twitter) Community Moderators?

Wymagane: community_id (string). Opcjonalne: cursor (string). Tabela Parameters oraz Playground na tej stronie zawierają wszystkie pola.

Co zwraca API X (Twitter) Community Moderators?

Odpowiedź JSON zwrócona w tym samym żądaniu HTTP (synchronicznie). README na tej stronie zawiera przykładową odpowiedź.

Czy potrzebuję konta deweloperskiego X (Twitter) lub klucza API?

Nie. X (Twitter) Community Moderators działa przez SandBase, więc jeden klucz API SandBase obejmuje ten endpoint i każde inne API oraz model w katalogu. Nie musisz osobno ubiegać się o dostęp do API X (Twitter).