tweet_idstringwajib
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"
]
}
}
]Pilih contoh untuk memuat input dan hasilnya ke 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.
Mulai membangun
Endpoint API platform dengan autentikasi dan pelacakan penggunaan terpadu.
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"
}'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.
tweet_idstringwajibTweet 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
Contoh respons yang disimpan untuk API ini; tidak ada permintaan langsung yang dibuat saat melihatnya.
[
{
"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"
]
}
}
]Jelajahi lebih lanjut
| API | Harga | Respons |
|---|---|---|
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/retweet-user-list 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. Setiap organisasi mendapat 100 panggilan gratis per hari UTC, dibagi di seluruh API SandBase yang memenuhi syarat termasuk yang ini; setelah itu setiap panggilan ditagihkan dengan harga ini dari saldo SandBase Anda. Tidak ada langganan.
Wajib: tweet_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 (X) Retweet User List 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 Twitter secara terpisah.