Get Following (v3)
Get following list of a user. Page size 10-100; use cursor for more pages. $0.05/1000 users.
Volver a la referencia de API
/Followers & Following Endpoints
POST
/v3/twitter/users/followingAutorización de API
AuthorizationBearer token · headerrequeridoToken Bearer global para TwexAPI. Incluido como: Authorization: Bearer <YOUR_TWEXAPI_KEY>.
Cuerpo de la solicitud
requeridoapplication/jsonusernamestringrequeridoTwitter username (with or without @).
countinteger | anyNumber of users to return per page (min 10, max 100).
default: 20
Mostrar propiedadesOcultar propiedades
Any of:
integer
integerany
anycursorstring | anyCursor para paginación
Mostrar propiedadesOcultar propiedades
Any of:
string
stringany
anyRespuestas
200Following page with cursor pagination.
codeintegerrequeridoCódigo de estado HTTP (200 indica éxito)
msgstringrequeridoMensaje de respuesta (ej. 'success')
dataVerifiedFollowersData | anyCarga de datos devuelta por el endpoint
Mostrar propiedadesOcultar propiedades
Any of:
VerifiedFollowersData
usersUserInfo[]requeridoFollower users on this page
Mostrar propiedadesOcultar propiedades
Array of
UserInfouserIdstringrequeridoUser ID
isBlueVerifiedbooleanrequeridoBlue verification status
createdAtstringrequeridoAccount creation date
createdAtDatetimestring | anyAccount creation datetime in ISO format
Mostrar propiedadesOcultar propiedades
Any of:
string
stringany
anydefaultProfilebooleanrequeridoDefault profile flag
defaultProfileImagebooleanrequeridoDefault profile image flag
descriptionstringrequeridoBiografía del perfil
locationstringrequeridoLocation
fastFollowersCountintegerrequeridoFast followers count
favouritesCountintegerrequeridoLikes count
followersCountintegerrequeridoFollowers count
followingCountintegerrequeridoFollowing count
hasCustomTimelinesbooleanrequeridoHas custom timelines flag
isTranslatorbooleanrequeridoIs translator flag
listedCountintegerrequeridoListed count
mediaCountintegerrequeridoMedia count
namestringrequeridoNombre mostrado del usuario
normalFollowersCountintegerrequeridoNormal followers count
pinnedTweetIdsStrany[] | anyPinned tweet IDs
Mostrar propiedadesOcultar propiedades
Any of:
any[]
Array of
anyanyany
anypossiblySensitivebooleanrequeridoPossibly sensitive flag
profileImageUrlHttpsstringrequeridoProfile image URL
usernamestringrequeridoUsername
statusesCountintegerrequeridoTweets count
translatorTypestring | anyTranslator type
Mostrar propiedadesOcultar propiedades
Any of:
string
stringany
anyverifiedbooleanrequeridoLegacy verification status
verified_typestring | anyVerification badge type: blue, business, government, etc.
Mostrar propiedadesOcultar propiedades
Any of:
string
stringany
anywithheldInCountriesany[] | anyWithheld in countries
Mostrar propiedadesOcultar propiedades
Any of:
any[]
Array of
anyanyany
anyprotectedbooleanrequeridoProtected account flag
urlstring | anyUser profile URL
Mostrar propiedadesOcultar propiedades
Any of:
string
stringany
anydescriptionUrlsany[] | anyDescription URLs
Mostrar propiedadesOcultar propiedades
Any of:
any[]
Array of
anyanyany
anyurlsany[] | anyUser URLs
Mostrar propiedadesOcultar propiedades
Any of:
any[]
Array of
anyanyany
anypinnedTweetIdsany[] | anyPinned tweet IDs
Mostrar propiedadesOcultar propiedades
Any of:
any[]
Array of
anyanyany
anyhas_next_pagebooleanrequeridoIndica si hay más páginas disponibles
next_cursorstring | anyCursor para paginación de la siguiente página
Mostrar propiedadesOcultar propiedades
Any of:
string
stringany
anyany
any422Error de validación de parámetros
detailValidationError[]Mostrar propiedadesOcultar propiedades
Array of
ValidationErrorlocstring | integer[]requeridoMostrar propiedadesOcultar propiedades
Array of
string | integerAny of:
string
stringinteger
integermsgstringrequeridoMensaje de respuesta (ej. 'success')
typestringrequeridoinputanyctxobject⚡Consola interactivaPOST
⚡Consola interactiva / Probar APIPOSTLive Console
🌐Servidor objetivo:
https://api.twexapi.io● Producción lista
🔍
Lectura de datos públicos (Solo clave TwexAPI, sin cookie de Twitter)
Este endpoint consulta datos públicos de Twitter: ¡no se requiere cuenta ni Cookie de Twitter! Simplemente ingrese su clave TwexAPI (Bearer Token) en "Autorización API" para probar.
🔑Autorización API
📝Cuerpo de la solicitudapplication/json
📡
暂无响应数据
请在「请求配置」中确认参数后,点击底部的「发送请求」按钮。
Solicitud
curl -X POST "https://api.twexapi.io/v3/twitter/users/following" \
-H "Authorization: Bearer YOUR_TOKEN" \
-H "Content-Type: application/json" \
-d '{
"username": "elonmusk",
"count": 20,
"cursor": ""
}'const response = await fetch("https://api.twexapi.io/v3/twitter/users/following", {
method: "POST",
headers: {
"Authorization": "Bearer YOUR_TOKEN",
"Content-Type": "application/json"
},
body: JSON.stringify({
"username": "elonmusk",
"count": 20,
"cursor": ""
})
});import requests
response = requests.post(
"https://api.twexapi.io/v3/twitter/users/following",
headers={
"Authorization": "Bearer YOUR_TOKEN",
"Content-Type": "application/json"
},
json={
"username": "elonmusk",
"count": 20,
"cursor": ""
},
)Respuesta
{
"code": 200,
"msg": "success",
"data": {
"users": [
{
"userId": "string",
"isBlueVerified": true,
"createdAt": "string",
"createdAtDatetime": "string",
"defaultProfile": true,
"defaultProfileImage": true,
"description": "string",
"location": "string",
"fastFollowersCount": 0,
"favouritesCount": 0,
"followersCount": 0,
"followingCount": 0,
"hasCustomTimelines": true,
"isTranslator": true,
"listedCount": 0,
"mediaCount": 0,
"name": "string",
"normalFollowersCount": 0,
"pinnedTweetIdsStr": [
null
],
"possiblySensitive": true,
"profileImageUrlHttps": "string",
"username": "string",
"statusesCount": 0,
"translatorType": "string",
"verified": true,
"verified_type": "blue",
"withheldInCountries": [
null
],
"protected": true,
"url": "string",
"descriptionUrls": [
null
],
"urls": [
null
],
"pinnedTweetIds": [
null
]
}
],
"has_next_page": true,
"next_cursor": ""
}
}{
"detail": [
{
"loc": [
"string"
],
"msg": "string",
"type": "string",
"input": null,
"ctx": {}
}
]
}