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.
Начните разработку
Конечная точка платформенного 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 в окружении сервера. Запросы используют аутентификацию Bearer.
export SANDBASE_API_KEY="YOUR_API_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 (X) Retweet User ListЭтот 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 в заголовке Authorization (Bearer), а параметры — в теле JSON. Вы также можете попробовать это в Playground на этой странице без написания кода.
$0.001 за вызов. Каждой организации предоставляется 100 бесплатных вызовов в сутки по UTC, общих для всех подходящих API SandBase, включая этот; после этого каждый вызов тарифицируется по этой цене и списывается с баланса SandBase. Подписка не требуется.
Обязательные: tweet_id (string). Необязательные: cursor (string). В таблице Parameters и в Playground на этой странице перечислены все поля.
JSON-ответ, возвращаемый в том же HTTP-запросе (синхронно). В README на этой странице приведен пример ответа.
Нет. Twitter (X) Retweet User List работает через SandBase, поэтому один API key SandBase покрывает этот endpoint и все остальные API и модели в каталоге. Вам не нужно отдельно запрашивать доступ к API Twitter.