Obtener artículos de un usuario por página
Fetch one page of X Articles by screen_name. Requires only a TwexAPI Bearer key. The request body is optional; omitted or null count defaults to 20, and integer values are clamped to 1–20. Pass next_cursor from the previous response to continue. The current implementation returns a continuation cursor only when at least count articles were parsed and the upstream supplied a cursor; a short or empty page therefore ends pagination. A missing user or exhausted result quota returns an empty page.
Volver a la referencia de API
/Article Endpoints
POST
/twitter/{screen_name}/articles/pageAutorización de API
AuthorizationBearer token · headerrequeridoToken Bearer global para TwexAPI. Incluido como: Authorization: Bearer <YOUR_TWEXAPI_KEY>.
Parámetros de ruta
screen_namestringrequeridoX username with or without @.
matches \S
Cuerpo de la solicitud
application/jsonAny of:
object
countinteger | anyOmitted or null uses 20. Values below 1 are clamped to 1 and values above 20 to 20.
default: 20
Mostrar propiedadesOcultar propiedades
Any of:
integer
integerany
anynext_cursorstring | anyMostrar propiedadesOcultar propiedades
Any of:
string
stringany
anyany
anyRespuestas
200Success
codeintegerrequeridomsgstringrequeridodataXArticleModel[]requeridoMostrar propiedadesOcultar propiedades
Array of
XArticleModeltweet_idstring | anyID numérico único del tweet
Mostrar propiedadesOcultar propiedades
Any of:
string
stringany
anyfull_textstring | anyTexto completo del tweet
Mostrar propiedadesOcultar propiedades
Any of:
string
stringany
anycreated_atstring | anyFecha y hora de creación (UTC)
Mostrar propiedadesOcultar propiedades
Any of:
string
stringany
anylangstring | anyThe language
Mostrar propiedadesOcultar propiedades
Any of:
string
stringany
anybookmark_countinteger | anyNúmero de marcadores
Mostrar propiedadesOcultar propiedades
Any of:
integer
integerany
anyfavorite_countinteger | anyNúmero de me gusta
Mostrar propiedadesOcultar propiedades
Any of:
integer
integerany
anyreply_countinteger | anyNúmero de respuestas
Mostrar propiedadesOcultar propiedades
Any of:
integer
integerany
anyretweet_countinteger | anyNúmero de retweets
Mostrar propiedadesOcultar propiedades
Any of:
integer
integerany
anyquote_countinteger | anyQuote count
Mostrar propiedadesOcultar propiedades
Any of:
integer
integerany
anyview_countstring | anyNúmero de visualizaciones
Mostrar propiedadesOcultar propiedades
Any of:
string
stringany
anyview_count_statestring | anyView count state
Mostrar propiedadesOcultar propiedades
Any of:
string
stringany
anyconversation_idstring | anyConversation ID
Mostrar propiedadesOcultar propiedades
Any of:
string
stringany
anyauthor_user_idstring | anyAuthor user ID
Mostrar propiedadesOcultar propiedades
Any of:
string
stringany
anyauthor_screen_namestring | anyNombre de usuario del autor (sin @)
Mostrar propiedadesOcultar propiedades
Any of:
string
stringany
anyauthor_namestring | anyNombre mostrado del autor
Mostrar propiedadesOcultar propiedades
Any of:
string
stringany
anyauthor_is_blue_verifiedboolean | anyWhether author is blue verified
Mostrar propiedadesOcultar propiedades
Any of:
boolean
booleanany
anyauthor_verifiedboolean | anyWhether author is verified
Mostrar propiedadesOcultar propiedades
Any of:
boolean
booleanany
anyauthor_is_verified_organization_affiliateboolean | anyWhether author is verified organization
Mostrar propiedadesOcultar propiedades
Any of:
boolean
booleanany
anyarticle_idstring | anyArticle ID
Mostrar propiedadesOcultar propiedades
Any of:
string
stringany
anyarticle_titlestring | anyArticle title
Mostrar propiedadesOcultar propiedades
Any of:
string
stringany
anyarticle_preview_textstring | anyArticle preview text
Mostrar propiedadesOcultar propiedades
Any of:
string
stringany
anyarticle_summary_textstring | anyArticle summary text
Mostrar propiedadesOcultar propiedades
Any of:
string
stringany
anyarticle_cover_image_urlstring | anyArticle cover image URL
Mostrar propiedadesOcultar propiedades
Any of:
string
stringany
anyarticle_blocksArticleBlock[]Article formatting blocks
Mostrar propiedadesOcultar propiedades
Array of
ArticleBlocktypestringrequeridoThe type of the article block.
textstringrequeridoTexto del mensaje
entityRangesArticleBlockRange[]The entity ranges of the article block.
Mostrar propiedadesOcultar propiedades
Array of
ArticleBlockRangekeyintegerrequeridoThe key of the entity range.
lengthintegerrequeridoThe length of the entity range.
offsetintegerrequeridoThe offset of the entity range.
article_plain_textstring | anyArticle plain text
Mostrar propiedadesOcultar propiedades
Any of:
string
stringany
anyarticle_markdownstring | anyArticle markdown
Mostrar propiedadesOcultar propiedades
Any of:
string
stringany
anyarticle_media_image_urlsstring[]Article media image URLs
has_next_pagebooleanrequeridonext_cursorstring | anyrequeridoMostrar propiedadesOcultar propiedades
Any of:
string
stringany
any403Authentication or credit access denied
codeintegerrequeridomsgstringrequeridodataany[] | anyrequeridoMostrar propiedadesOcultar propiedades
Any of:
any[]
Array of
anyanyany
any422Invalid request
codeintegerrequeridomsgstringrequeridodataany[] | anyrequeridoMostrar propiedadesOcultar propiedades
Any of:
any[]
Array of
anyanyany
any500Upstream or server error
codeintegerrequeridomsgstringrequeridodataany[] | anyrequeridoMostrar propiedadesOcultar propiedades
Any of:
any[]
Array of
anyanyany
any⚡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
⚙️Parámetros (1)
📝Cuerpo de la solicitudapplication/json
📡
暂无响应数据
请在「请求配置」中确认参数后,点击底部的「发送请求」按钮。
Solicitud
curl -X POST "https://api.twexapi.io/twitter/example_user/articles/page" \
-H "Authorization: Bearer YOUR_TOKEN" \
-H "Content-Type: application/json" \
-d '{
"count": 20,
"next_cursor": null
}'const response = await fetch("https://api.twexapi.io/twitter/example_user/articles/page", {
method: "POST",
headers: {
"Authorization": "Bearer YOUR_TOKEN",
"Content-Type": "application/json"
},
body: JSON.stringify({
"count": 20,
"next_cursor": null
})
});import requests
response = requests.post(
"https://api.twexapi.io/twitter/example_user/articles/page",
headers={
"Authorization": "Bearer YOUR_TOKEN",
"Content-Type": "application/json"
},
json={
"count": 20,
"next_cursor": None
},
)Respuesta
{
"code": 200,
"msg": "success",
"data": [],
"has_next_page": false,
"next_cursor": null
}{
"code": 403,
"msg": "Authentication or credit access denied",
"data": []
}{
"code": 422,
"msg": "Invalid request",
"data": []
}{
"code": 500,
"msg": "Upstream or server error",
"data": []
}