list_idstringobbligatorio
List ID
https://api.sandbase.ai/v1/api/twitter/web/list-membersGet list members on Twitter. Returns the platform data as structured JSON.
Il tuo output apparirà qui
Completa gli input, poi fai clic su Esegui.
Returns the members of a Twitter list as structured JSON. Each member includes profile details such as name, handle, follower count and account creation date. You need the list_id of the list.
curl -X POST "https://api.sandbase.ai/v1/api/twitter/web/list-members" \
-H "Authorization: Bearer $SANDBASE_API_KEY" \
-H "Content-Type: application/json" \
-d '{"list_id": "84839422"}'
The result is returned in outputs[0].data.
| Name | Type | Required | Description |
|---|---|---|---|
list_id | string | Yes | List ID |
cursor | string | No | Cursor |
Real response for the request above, trimmed: lists keep their first item and long strings are cut.
{
"members": [
{
"affiliates": {
"label": {
"badge": {
"url": "https://pbs.twimg.com/profile_images/1955359038532653056/OSHY3ewP_bigger.jpg"
},
"description": "X",
"url": {
"url": "https://twitter.com/X",
"urlType": "DeepLink"
},
"userLabelDisplayType": "Badge",
"userLabelType": "BusinessLabel"
}
},
"blue_verified": true,
"business_account": null,
"created_at": "Wed Oct 21 22:04:47 +0000 2020",
"description": "Empowering users to create a better-informed world.\n\nWe're open source and data …",
"followers_count": 1191871,
"friends_count": 0,
"location": "",
"media_count": 114,
"name": "Community Notes",
"profile_image": null,
"screen_name": "CommunityNotes"
}
],
"more_users": true,
"next_cursor": "4611686021428553846|2117523434526212074",
"status": "ok"
}
| Field | Meaning |
|---|---|
members[] | One entry per list member on the current page. |
members[].user_id | Numeric ID of the account, returned as a string. |
members[].screen_name / members[].name | The account handle and the display name. |
members[].description | The profile bio text of the member. |
members[].followers_count / members[].friends_count | Number of followers and number of accounts the member follows (friends_count). |
members[].statuses_count / members[].media_count | Number of posts and number of media items counted on the account. |
members[].created_at | When the account was created, in the format Wed Oct 21 22:04:47 +0000 2020. |
members[].blue_verified / members[].verified | Flags for the paid verified badge and the legacy verified status. |
members[].affiliates.label.description | Name of the organization shown in the business label badge. Accounts without a label return affiliates as an empty list. |
more_users / next_cursor | more_users is true when more members remain. next_cursor holds the value to send as cursor for the next page. |
list_id is the number at the end of a list URL, for example 84839422.next_cursor value from the response as cursor, and repeat while more_users is true.null or empty, such as profile_image, website and business_account, so handle missing values.$0.001 per successful call. Failed calls are not charged. It is included in the daily free quota of each organization.
Inizia a costruire
Endpoint API della piattaforma con autenticazione unificata e tracciamento dell'utilizzo.
curl -X POST "https://api.sandbase.ai/v1/api/twitter/web/list-members" \
-H "Authorization: Bearer $SANDBASE_API_KEY" \
-H "Content-Type: application/json" \
-d '{
"list_id": "84839422"
}'Imposta la tua SandBase API key nell'ambiente del server. Le richieste usano l'autenticazione Bearer.
export SANDBASE_API_KEY="YOUR_API_KEY"Conserva la tua key sul server. Non esporla nel codice del browser.
list_idstringobbligatorioList ID
cursorstringCursor
Risposta di esempio salvata per questa API; durante la visualizzazione non viene eseguita alcuna richiesta live.
Nessuna risposta salvata è stata pubblicata. Esegui l'API in Playground per ispezionarne la risposta.
Esplora altro
| API | Prezzo | Risposta |
|---|---|---|
Twitter List membersQuesta API X (Twitter) | $0.001 per chiamata | JSON |
Twitter | $0.001 per chiamata | JSON |
Twitter | $0.001 per chiamata | JSON |
Twitter | $0.001 per chiamata | JSON |
Twitter | $0.001 per chiamata | JSON |
Twitter | $0.001 per chiamata | JSON |
Guide:X API alternative: pay per call, not per postBest Twitter API in 2026: X API Pricing Compared
Domande
Invia una richiesta POST a https://api.sandbase.ai/v1/api/twitter/web/list-members con la tua chiave API di SandBase nell'header Authorization (Bearer) e i parametri nel body JSON. Puoi anche provarla nel Playground di questa pagina senza scrivere codice.
$0.001 per chiamata, addebitato dal tuo saldo SandBase. Paghi solo le chiamate che effettui; non c'è alcun abbonamento.
Richiesti: list_id (string). Facoltativi: cursor (string). La tabella dei parametri e il Playground di questa pagina elencano tutti i campi.
Una risposta JSON restituita nella stessa richiesta HTTP (sincrona). Il README di questa pagina include una risposta di esempio.
No. Twitter List members funziona tramite SandBase, quindi una sola chiave API SandBase copre questo endpoint e tutte le altre API e modelli del catalogo. Non è necessario richiedere separatamente l'accesso alle API X (Twitter).