community_idstringจำเป็น
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.
เอาต์พุตของคุณจะแสดงที่นี่
กรอกอินพุตให้ครบ แล้วคลิก 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.
เริ่มสร้าง
เอ็นด์พอยต์ของ Platform API ที่มีการยืนยันตัวตนและการติดตามการใช้งานแบบรวมศูนย์
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"
}'ตั้งค่า SandBase API key ของคุณในสภาพแวดล้อมฝั่งเซิร์ฟเวอร์ คำขอจะใช้การยืนยันตัวตนแบบ Bearer
export SANDBASE_API_KEY="YOUR_API_KEY"เก็บ key ไว้บนเซิร์ฟเวอร์ อย่าเปิดเผยในโค้ดฝั่งเบราว์เซอร์
community_idstringจำเป็นCommunity ID
cursorstringCursor (no pagination, has no effect)
บันทึกตัวอย่างการตอบกลับสำหรับ API นี้; จะไม่มีการส่งคำขอจริงเมื่อเปิดดู
ยังไม่มีการเผยแพร่การตอบกลับที่บันทึกไว้ ให้รัน API ใน Playground เพื่อดูการตอบกลับ
สำรวจเพิ่มเติม
| API | ราคา | การตอบกลับ |
|---|---|---|
X (Twitter) | $0.001 ต่อการเรียก | JSON |
Twitter | $0.001 ต่อการเรียก | JSON |
Twitter | $0.001 ต่อการเรียก | JSON |
Twitter | $0.001 ต่อการเรียก | JSON |
Twitter | $0.001 ต่อการเรียก | JSON |
Twitter | $0.001 ต่อการเรียก | JSON |
คู่มือ:X API alternative: pay per call, not per postBest Twitter API in 2026: X API Pricing Compared
คำถาม
ส่งคำขอ POST ไปที่ https://api.sandbase.ai/v1/api/twitter/web/community-members โดยใส่ SandBase API key ของคุณใน Authorization header (Bearer) และส่งพารามิเตอร์เป็น JSON body คุณยังสามารถลองใช้ได้ใน Playground บนหน้านี้โดยไม่ต้องเขียนโค้ด
$0.001 ต่อครั้ง คิดจากยอดคงเหลือ SandBase ของคุณ คุณจะถูกเรียกเก็บเฉพาะคำขอที่คุณส่งเท่านั้น ไม่มีค่าสมาชิกรายเดือน
ที่ต้องระบุ: community_id (string). ตัวเลือก: cursor (string). ตาราง Parameters และ Playground ในหน้านี้แสดงทุกฟิลด์
การตอบกลับ JSON ที่ส่งกลับในคำขอ HTTP เดียวกัน (แบบซิงโครนัส) README บนหน้านี้มีตัวอย่างการตอบกลับ
ไม่จำเป็น Twitter Community members (no pagination) ทำงานผ่าน SandBase ดังนั้น SandBase API key เดียวครอบคลุม endpoint นี้และทุก API กับโมเดลอื่นในแค็ตตาล็อก คุณไม่ต้องสมัครขอสิทธิ์เข้าถึง X (Twitter) API แยกต่างหาก