list_idstringจำเป็น
List ID
https://api.sandbase.ai/v1/api/twitter/web/list-membersGet list members on Twitter. Returns the platform data as structured JSON.
เอาต์พุตของคุณจะแสดงที่นี่
กรอกอินพุตให้ครบ แล้วคลิก Run
Returns the members of a Twitter list as structured JSON. Each member includes profile details such as name, handle, follower count and account creation date. You need the list_id of the list.
curl -X POST "https://api.sandbase.ai/v1/api/twitter/web/list-members" \
-H "Authorization: Bearer $SANDBASE_API_KEY" \
-H "Content-Type: application/json" \
-d '{"list_id": "84839422"}'
The result is returned in outputs[0].data.
| Name | Type | Required | Description |
|---|---|---|---|
list_id | string | Yes | List ID |
cursor | string | No | Cursor |
Real response for the request above, trimmed: lists keep their first item and long strings are cut.
{
"members": [
{
"affiliates": {
"label": {
"badge": {
"url": "https://pbs.twimg.com/profile_images/1955359038532653056/OSHY3ewP_bigger.jpg"
},
"description": "X",
"url": {
"url": "https://twitter.com/X",
"urlType": "DeepLink"
},
"userLabelDisplayType": "Badge",
"userLabelType": "BusinessLabel"
}
},
"blue_verified": true,
"business_account": null,
"created_at": "Wed Oct 21 22:04:47 +0000 2020",
"description": "Empowering users to create a better-informed world.\n\nWe're open source and data …",
"followers_count": 1191871,
"friends_count": 0,
"location": "",
"media_count": 114,
"name": "Community Notes",
"profile_image": null,
"screen_name": "CommunityNotes"
}
],
"more_users": true,
"next_cursor": "4611686021428553846|2117523434526212074",
"status": "ok"
}
| Field | Meaning |
|---|---|
members[] | One entry per list member on the current page. |
members[].user_id | Numeric ID of the account, returned as a string. |
members[].screen_name / members[].name | The account handle and the display name. |
members[].description | The profile bio text of the member. |
members[].followers_count / members[].friends_count | Number of followers and number of accounts the member follows (friends_count). |
members[].statuses_count / members[].media_count | Number of posts and number of media items counted on the account. |
members[].created_at | When the account was created, in the format Wed Oct 21 22:04:47 +0000 2020. |
members[].blue_verified / members[].verified | Flags for the paid verified badge and the legacy verified status. |
members[].affiliates.label.description | Name of the organization shown in the business label badge. Accounts without a label return affiliates as an empty list. |
more_users / next_cursor | more_users is true when more members remain. next_cursor holds the value to send as cursor for the next page. |
list_id is the number at the end of a list URL, for example 84839422.next_cursor value from the response as cursor, and repeat while more_users is true.null or empty, such as profile_image, website and business_account, so handle missing values.$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/list-members" \
-H "Authorization: Bearer $SANDBASE_API_KEY" \
-H "Content-Type: application/json" \
-d '{
"list_id": "84839422"
}'ตั้งค่า SandBase API key ของคุณในสภาพแวดล้อมฝั่งเซิร์ฟเวอร์ คำขอจะใช้การยืนยันตัวตนแบบ Bearer
export SANDBASE_API_KEY="YOUR_API_KEY"เก็บ key ไว้บนเซิร์ฟเวอร์ อย่าเปิดเผยในโค้ดฝั่งเบราว์เซอร์
list_idstringจำเป็นList ID
cursorstringCursor
บันทึกตัวอย่างการตอบกลับสำหรับ API นี้; จะไม่มีการส่งคำขอจริงเมื่อเปิดดู
ยังไม่มีการเผยแพร่การตอบกลับที่บันทึกไว้ ให้รัน API ใน Playground เพื่อดูการตอบกลับ
สำรวจเพิ่มเติม
| API | ราคา | การตอบกลับ |
|---|---|---|
Twitter List membersAPI นี้ 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/list-members โดยใส่ SandBase API key ของคุณใน Authorization header (Bearer) และส่งพารามิเตอร์เป็น JSON body คุณยังสามารถลองใช้ได้ใน Playground บนหน้านี้โดยไม่ต้องเขียนโค้ด
$0.001 ต่อครั้ง คิดจากยอดคงเหลือ SandBase ของคุณ คุณจะถูกเรียกเก็บเฉพาะคำขอที่คุณส่งเท่านั้น ไม่มีค่าสมาชิกรายเดือน
ที่ต้องระบุ: list_id (string). ตัวเลือก: cursor (string). ตาราง Parameters และ Playground ในหน้านี้แสดงทุกฟิลด์
การตอบกลับ JSON ที่ส่งกลับในคำขอ HTTP เดียวกัน (แบบซิงโครนัส) README บนหน้านี้มีตัวอย่างการตอบกลับ
ไม่จำเป็น Twitter List members ทำงานผ่าน SandBase ดังนั้น SandBase API key เดียวครอบคลุม endpoint นี้และทุก API กับโมเดลอื่นในแค็ตตาล็อก คุณไม่ต้องสมัครขอสิทธิ์เข้าถึง X (Twitter) API แยกต่างหาก