tweet_idstringwymagane
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"
]
}
}
]Wybierz przykład, aby wczytać jego dane wejściowe i wynik do playgroundu.
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.
Zacznij tworzyć
Punkt końcowy API platformy z jednolitym uwierzytelnianiem i śledzeniem użycia.
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"
}'Ustaw klucz API SandBase w środowisku serwera. Żądania używają uwierzytelniania Bearer.
export SANDBASE_API_KEY="YOUR_API_KEY"Przechowuj klucz na serwerze. Nie ujawniaj go w kodzie przeglądarkowym.
tweet_idstringwymaganeTweet 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
Zapisany przykładowy response dla tego API; podczas wyświetlania nie jest wykonywane żadne żądanie na żywo.
[
{
"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"
]
}
}
]Odkryj więcej
| API | Cena | Odpowiedź |
|---|---|---|
Twitter | $0.001 za wywołanie | JSON |
Twitter | $0.001 za wywołanie | JSON |
Twitter | $0.001 za wywołanie | JSON |
Twitter | $0.001 za wywołanie | JSON |
Twitter | $0.001 za wywołanie | JSON |
Twitter | $0.001 za wywołanie | JSON |
Przewodniki:X API alternative: pay per call, not per postBest Twitter API in 2026: X API Pricing Compared
Pytania
Wyślij żądanie POST do https://api.sandbase.ai/v1/api/twitter/web/retweet-user-list z kluczem API SandBase w nagłówku Authorization (Bearer) oraz parametrami w treści JSON. Możesz też wypróbować je w Playground na tej stronie bez pisania kodu.
$0.001 za wywołanie. Każda organizacja otrzymuje 100 bezpłatnych wywołań na dzień UTC, współdzielonych między kwalifikującymi się API SandBase, w tym to; potem każde wywołanie jest rozliczane według tej stawki z salda SandBase. Nie ma subskrypcji.
Wymagane: tweet_id (string). Opcjonalne: cursor (string). Tabela Parameters oraz Playground na tej stronie zawierają wszystkie pola.
Odpowiedź JSON zwrócona w tym samym żądaniu HTTP (synchronicznie). README na tej stronie zawiera przykładową odpowiedź.
Nie. Twitter (X) Retweet User List działa przez SandBase, więc jeden klucz API SandBase obejmuje ten endpoint i każde inne API oraz model w katalogu. Nie musisz osobno ubiegać się o dostęp do API Twitter.