tweet_idstringจำเป็น
Tweet ID, can be obtained from the tweet link. For example: 1808168603721650364 in https://x.com/elonmusk/status/1808168603721650364
https://api.sandbase.ai/v1/api/twitter/web/retweet-user-listReturns a list of users who reposted a specific post using its tweet ID, including follower counts, media counts, and user identifiers.
[
{
"data": {
"next_cursor": "HBaAgIDs//GEkTQAAA==",
"retweets": [
{
"description": "",
"followers_count": 1076,
"friends_count": 1708,
"media_count": 3809,
"name": "Francisco Javier",
"profile_image": null,
"screen_name": "Juanvicfran",
"statuses_count": 80694,
"user_id": "1861838960109944832"
},
{
"description": "Analysis, assessment, and recommendations regarding the regions",
"followers_count": 2205,
"friends_count": 1185,
"media_count": 8097,
"name": "Shahriyar Gourgi",
"profile_image": null,
"screen_name": "ShahriyarGourgi",
"statuses_count": 236304,
"user_id": "1381309297267777545"
},
{
"description": "",
"followers_count": 747,
"friends_count": 1211,
"media_count": 0,
"name": "Hope McLeod",
"profile_image": null,
"screen_name": "HopeMcL02711048",
"statuses_count": 66173,
"user_id": "1601712182395375617"
},
"… 97 more items in the full response"
]
}
}
]เลือกตัวอย่างเพื่อโหลดอินพุตและผลลัพธ์ลงใน playground
Returns the accounts that reposted a given post on Twitter (X). It needs the tweet_id of the post and returns one profile summary per user, plus a cursor for the next page.
followers_count to find the largest accounts that shared a post.statuses_count and media_count across reposters.curl -X POST "https://api.sandbase.ai/v1/api/twitter/web/retweet-user-list" \
-H "Authorization: Bearer $SANDBASE_API_KEY" \
-H "Content-Type: application/json" \
-d '{"tweet_id": "2107237881668313108"}'
The result is returned in outputs[0].data.
| Name | Type | Required | Description |
|---|---|---|---|
tweet_id | string | Yes | Tweet ID, can be obtained from the tweet link. For example: 1808168603721650364 in https://x.com/elonmusk/status/1808168603721650364 |
cursor | string | No | Cursor, default is None, used for paging, obtained from the last request |
Real response for the request above, trimmed: lists keep their first item and long strings are cut.
{
"next_cursor": "HBaAgIDxlZiekTQAAA==",
"retweets": [
{
"description": "Ras Emilio Heru Selassie 1..2022... X Mark Everything Wynn 93 MGM Macau 2030 D.C…",
"followers_count": 2134,
"friends_count": 7493,
"media_count": 284556,
"name": "Ras Nathan C. Selassie I",
"profile_image": null,
"screen_name": "RasNate001",
"statuses_count": 810547,
"user_id": "108682255"
}
]
}
| Field | Meaning |
|---|---|
retweets[] | One entry per user who reposted the post. |
retweets[].user_id | Numeric ID of the user, returned as a string. |
retweets[].screen_name / retweets[].name | The user's handle and display name. |
retweets[].description | The user's profile bio text. |
retweets[].followers_count / retweets[].friends_count | Number of followers the user has and number of accounts the user follows. |
retweets[].statuses_count / retweets[].media_count | Total posts and total media items counted for the user's account. |
retweets[].profile_image | Profile image value. It is null in the sample response. |
next_cursor | Cursor string for the next page of reposters. |
tweet_id from the post link. In https://x.com/elonmusk/status/1808168603721650364, the ID is 1808168603721650364.next_cursor value from the last response as cursor, with the same tweet_id.tweet_id and user_id values as strings, as they appear in the response.$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/retweet-user-list" \
-H "Authorization: Bearer $SANDBASE_API_KEY" \
-H "Content-Type: application/json" \
-d '{
"tweet_id": "2107237881668313108"
}'ตั้งค่า SandBase API key ของคุณในสภาพแวดล้อมฝั่งเซิร์ฟเวอร์ คำขอจะใช้การยืนยันตัวตนแบบ Bearer
export SANDBASE_API_KEY="YOUR_API_KEY"เก็บ key ไว้บนเซิร์ฟเวอร์ อย่าเปิดเผยในโค้ดฝั่งเบราว์เซอร์
tweet_idstringจำเป็นTweet ID, can be obtained from the tweet link. For example: 1808168603721650364 in https://x.com/elonmusk/status/1808168603721650364
cursorstringCursor, default is None, used for paging, obtained from the last request
บันทึกตัวอย่างการตอบกลับสำหรับ API นี้; จะไม่มีการส่งคำขอจริงเมื่อเปิดดู
[
{
"data": {
"next_cursor": "HBaAgIDs//GEkTQAAA==",
"retweets": [
{
"description": "",
"followers_count": 1076,
"friends_count": 1708,
"media_count": 3809,
"name": "Francisco Javier",
"profile_image": null,
"screen_name": "Juanvicfran",
"statuses_count": 80694,
"user_id": "1861838960109944832"
},
{
"description": "Analysis, assessment, and recommendations regarding the regions",
"followers_count": 2205,
"friends_count": 1185,
"media_count": 8097,
"name": "Shahriyar Gourgi",
"profile_image": null,
"screen_name": "ShahriyarGourgi",
"statuses_count": 236304,
"user_id": "1381309297267777545"
},
{
"description": "",
"followers_count": 747,
"friends_count": 1211,
"media_count": 0,
"name": "Hope McLeod",
"profile_image": null,
"screen_name": "HopeMcL02711048",
"statuses_count": 66173,
"user_id": "1601712182395375617"
},
"… 97 more items in the full response"
]
}
}
]สำรวจเพิ่มเติม
| API | ราคา | การตอบกลับ |
|---|---|---|
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/retweet-user-list โดยใส่ SandBase API key ของคุณใน Authorization header (Bearer) และส่งพารามิเตอร์เป็น JSON body คุณยังสามารถลองใช้ได้ใน Playground บนหน้านี้โดยไม่ต้องเขียนโค้ด
$0.001 ต่อครั้ง ทุกองค์กรจะได้รับคำขอฟรี 100 ครั้งต่อวัน UTC โดยใช้ร่วมกันใน SandBase APIs ที่เข้าเงื่อนไขรวมถึงรายการนี้ หลังจากนั้นแต่ละคำขอจะคิดค่าบริการตามราคานี้จากยอดคงเหลือ SandBase ของคุณ ไม่มีค่าสมาชิกรายเดือน
ที่ต้องระบุ: tweet_id (string). ตัวเลือก: cursor (string). ตาราง Parameters และ Playground ในหน้านี้แสดงทุกฟิลด์
การตอบกลับ JSON ที่ส่งกลับในคำขอ HTTP เดียวกัน (แบบซิงโครนัส) README บนหน้านี้มีตัวอย่างการตอบกลับ
ไม่จำเป็น Twitter (X) Retweet User List ทำงานผ่าน SandBase ดังนั้น SandBase API key เดียวครอบคลุม endpoint นี้และทุก API กับโมเดลอื่นในแค็ตตาล็อก คุณไม่ต้องสมัครขอสิทธิ์เข้าถึง Twitter API แยกต่างหาก