community_idstringwymagane
Community ID
https://api.sandbase.ai/v1/api/twitter/web/community-membersGet community members (no pagination) on Twitter. Returns the platform data as structured JSON.
Twój wynik pojawi się tutaj
Uzupełnij dane wejściowe, a następnie kliknij Uruchom.
This API returns a list of members of a Twitter Community. It needs a community_id and returns each member's name, handle, user ID, profile image and Blue verification flag.
user_id values to look up full profiles in other APIs.curl -X POST "https://api.sandbase.ai/v1/api/twitter/web/community-members" \
-H "Authorization: Bearer $SANDBASE_API_KEY" \
-H "Content-Type: application/json" \
-d '{"community_id": "1493290339532222469"}'
The result is returned in outputs[0].data.
| Name | Type | Required | Description |
|---|---|---|---|
community_id | string | Yes | Community ID |
cursor | string | No | Cursor (no pagination, has no effect) |
Real response for the request above, trimmed: lists keep their first item and long strings are cut.
{
"members": [
{
"blue_verified": true,
"name": "DustyBC Crypto",
"profile_image": "https://pbs.twimg.com/profile_images/1644089081360445442/XLMlSx4u_normal.jpg",
"screen_name": "DustyBC",
"user_id": "913778551555608576"
}
],
"next_cursor": "CycRAAAAAAwABAwKmwzBVQo+vRNHWkZXlyACCm07AAABfvmCq3QADJorCj69f/////////8KbTt/////…",
"status": "ok"
}
| Field | Meaning |
|---|---|
members[] | List of Community members returned in this response. |
members[].user_id | Numeric ID of the member's account, as a string. |
members[].screen_name | The member's handle, without the @ sign. |
members[].name | The member's display name. |
members[].blue_verified | true if the account has Blue verification, false if not. |
members[].profile_image | URL of the member's profile image. The URL points to a small _normal size version. |
next_cursor | Cursor string returned with the list. |
status | Request status. ok means the call worked. |
community_id from a Community search or from the Community info API. Try Twitter Search communities or Twitter Community info.cursor parameter has no effect, even though the response includes next_cursor.user_id or screen_name from each member with Twitter (X) User Profile to get full profile details.$0.001 per successful call. Failed calls are not charged. It is included in the daily free quota of each organization.
Zacznij tworzyć
Punkt końcowy API platformy z jednolitym uwierzytelnianiem i śledzeniem użycia.
curl -X POST "https://api.sandbase.ai/v1/api/twitter/web/community-members" \
-H "Authorization: Bearer $SANDBASE_API_KEY" \
-H "Content-Type: application/json" \
-d '{
"community_id": "1493290339532222469"
}'Ustaw klucz API SandBase w środowisku serwera. Żądania używają uwierzytelniania Bearer.
export SANDBASE_API_KEY="YOUR_API_KEY"Przechowuj klucz na serwerze. Nie ujawniaj go w kodzie przeglądarkowym.
community_idstringwymaganeCommunity ID
cursorstringCursor (no pagination, has no effect)
Zapisany przykładowy response dla tego API; podczas wyświetlania nie jest wykonywane żadne żądanie na żywo.
Nie opublikowano zapisanego response. Uruchom API w Playground, aby sprawdzić jego odpowiedź.
Odkryj więcej
| API | Cena | Odpowiedź |
|---|---|---|
X (Twitter) | $0.001 za wywołanie | JSON |
Twitter | $0.001 za wywołanie | JSON |
Twitter | $0.001 za wywołanie | JSON |
Twitter | $0.001 za wywołanie | JSON |
Twitter | $0.001 za wywołanie | JSON |
Twitter | $0.001 za wywołanie | JSON |
Przewodniki:X API alternative: pay per call, not per postBest Twitter API in 2026: X API Pricing Compared
Pytania
Wyślij żądanie POST do https://api.sandbase.ai/v1/api/twitter/web/community-members 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.
$0.001 za wywołanie, rozliczane z salda SandBase. Płacisz tylko za wykonane wywołania; nie ma subskrypcji.
Wymagane: community_id (string). Opcjonalne: cursor (string). Tabela Parameters oraz Playground na tej stronie zawierają wszystkie pola.
Odpowiedź JSON zwrócona w tym samym żądaniu HTTP (synchronicznie). README na tej stronie zawiera przykładową odpowiedź.
Nie. Twitter Community members (no pagination) 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).