community_idstringwajib
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.
Output Anda akan muncul di sini
Lengkapi input, lalu klik Run.
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.
Mulai membangun
Endpoint API platform dengan autentikasi dan pelacakan penggunaan terpadu.
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"
}'Atur SandBase API key Anda di environment server Anda. Permintaan menggunakan autentikasi Bearer.
export SANDBASE_API_KEY="YOUR_API_KEY"Simpan key Anda di server. Jangan tampilkan di kode browser.
community_idstringwajibCommunity ID
cursorstringCursor (no pagination, has no effect)
Contoh respons yang disimpan untuk API ini; tidak ada permintaan langsung yang dibuat saat melihatnya.
Belum ada respons tersimpan yang dipublikasikan. Jalankan API di Playground untuk melihat responsnya.
Jelajahi lebih lanjut
| API | Harga | Respons |
|---|---|---|
X (Twitter) | $0.001 per panggilan | JSON |
Twitter | $0.001 per panggilan | JSON |
Twitter | $0.001 per panggilan | JSON |
Twitter | $0.001 per panggilan | JSON |
Twitter | $0.001 per panggilan | JSON |
Twitter | $0.001 per panggilan | JSON |
Panduan:X API alternative: pay per call, not per postBest Twitter API in 2026: X API Pricing Compared
Pertanyaan
Kirim permintaan POST ke https://api.sandbase.ai/v1/api/twitter/web/community-members dengan kunci API SandBase Anda di header Authorization (Bearer) dan parameter sebagai body JSON. Anda juga dapat mencobanya di Playground di halaman ini tanpa menulis kode.
$0.001 per panggilan, ditagihkan dari saldo SandBase Anda. Anda hanya dikenai biaya untuk panggilan yang Anda lakukan; tidak ada langganan.
Wajib: community_id (string). Opsional: cursor (string). Tabel Parameters dan Playground di halaman ini mencantumkan setiap field.
Respons JSON yang dikembalikan dalam permintaan HTTP yang sama (sinkron). README di halaman ini menyertakan contoh respons.
Tidak. Twitter Community members (no pagination) berjalan melalui SandBase, jadi satu kunci API SandBase mencakup endpoint ini dan setiap API serta model lain di katalog. Anda tidak perlu mendaftar akses API X (Twitter) secara terpisah.