tweet_idstringobligatoire
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"
]
}
}
]Sélectionnez un exemple pour charger ses entrées et son résultat dans le 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.
Commencer à construire
Point de terminaison de l'API de la plateforme avec authentification unifiée et suivi de l'utilisation.
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"
}'Définissez votre clé API SandBase dans l'environnement de votre serveur. Les requêtes utilisent l'authentification Bearer.
export SANDBASE_API_KEY="YOUR_API_KEY"Conservez votre clé côté serveur. Ne l'exposez pas dans le code du navigateur.
tweet_idstringobligatoireTweet 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
Exemple de réponse enregistré pour cette API ; aucune requête en direct n'est effectuée lors de l'affichage.
[
{
"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"
]
}
}
]Explorer plus
| API | Prix | Réponse |
|---|---|---|
Twitter (X) Retweet User ListCette API Twitter | $0.001 par appel | JSON |
Twitter | $0.001 par appel | JSON |
Twitter | $0.001 par appel | JSON |
Twitter | $0.001 par appel | JSON |
Twitter | $0.001 par appel | JSON |
Twitter | $0.001 par appel | JSON |
Guides :X API alternative: pay per call, not per postBest Twitter API in 2026: X API Pricing Compared
Questions
Envoyez une requête POST à https://api.sandbase.ai/v1/api/twitter/web/retweet-user-list avec votre clé API SandBase dans l’en-tête Authorization (Bearer) et les paramètres dans un corps JSON. Vous pouvez aussi l’essayer dans le Playground sur cette page sans écrire de code.
$0.001 par appel. Chaque organisation bénéficie de 100 appels gratuits par jour UTC, partagés entre les API SandBase éligibles, y compris celle-ci ; au-delà, chaque appel est facturé à ce tarif depuis votre solde SandBase. Aucun abonnement.
Obligatoire : tweet_id (string). Facultatif : cursor (string). Le tableau des paramètres et le Playground sur cette page listent tous les champs.
Une réponse JSON renvoyée dans la même requête HTTP (synchrone). Le README sur cette page inclut un exemple de réponse.
Non. Twitter (X) Retweet User List fonctionne via SandBase, donc une seule clé API SandBase couvre ce point de terminaison ainsi que toutes les autres API et tous les modèles du catalogue. Vous n’avez pas besoin de demander un accès API Twitter séparément.