Saltar al contenido
Twexapi
Español
Esc
↑↓navegar↵abrir⌘Jvista previa

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.

POST/twitter/{screen_name}/articles/page
Autorización de API
AuthorizationBearer token · headerrequerido
Token Bearer global para TwexAPI. Incluido como: Authorization: Bearer <YOUR_TWEXAPI_KEY>.
Parámetros de ruta
screen_namestringrequerido
X username with or without @.
matches \S
Cuerpo de la solicitud
application/json
Any of:
object
countinteger | any
Omitted or null uses 20. Values below 1 are clamped to 1 and values above 20 to 20.
default: 20
Mostrar propiedades
Any of:
integer
integer
any
any
next_cursorstring | any
Mostrar propiedades
Any of:
string
string
any
any
any
any
Respuestas
200Success
codeintegerrequerido
msgstringrequerido
dataXArticleModel[]requerido
Mostrar propiedades
Array of XArticleModel
tweet_idstring | any
ID numérico único del tweet
Mostrar propiedades
Any of:
string
string
any
any
full_textstring | any
Texto completo del tweet
Mostrar propiedades
Any of:
string
string
any
any
created_atstring | any
Fecha y hora de creación (UTC)
Mostrar propiedades
Any of:
string
string
any
any
langstring | any
The language
Mostrar propiedades
Any of:
string
string
any
any
bookmark_countinteger | any
Número de marcadores
Mostrar propiedades
Any of:
integer
integer
any
any
favorite_countinteger | any
Número de me gusta
Mostrar propiedades
Any of:
integer
integer
any
any
reply_countinteger | any
Número de respuestas
Mostrar propiedades
Any of:
integer
integer
any
any
retweet_countinteger | any
Número de retweets
Mostrar propiedades
Any of:
integer
integer
any
any
quote_countinteger | any
Quote count
Mostrar propiedades
Any of:
integer
integer
any
any
view_countstring | any
Número de visualizaciones
Mostrar propiedades
Any of:
string
string
any
any
view_count_statestring | any
View count state
Mostrar propiedades
Any of:
string
string
any
any
conversation_idstring | any
Conversation ID
Mostrar propiedades
Any of:
string
string
any
any
author_user_idstring | any
Author user ID
Mostrar propiedades
Any of:
string
string
any
any
author_screen_namestring | any
Nombre de usuario del autor (sin @)
Mostrar propiedades
Any of:
string
string
any
any
author_namestring | any
Nombre mostrado del autor
Mostrar propiedades
Any of:
string
string
any
any
author_is_blue_verifiedboolean | any
Whether author is blue verified
Mostrar propiedades
Any of:
boolean
boolean
any
any
author_verifiedboolean | any
Whether author is verified
Mostrar propiedades
Any of:
boolean
boolean
any
any
author_is_verified_organization_affiliateboolean | any
Whether author is verified organization
Mostrar propiedades
Any of:
boolean
boolean
any
any
article_idstring | any
Article ID
Mostrar propiedades
Any of:
string
string
any
any
article_titlestring | any
Article title
Mostrar propiedades
Any of:
string
string
any
any
article_preview_textstring | any
Article preview text
Mostrar propiedades
Any of:
string
string
any
any
article_summary_textstring | any
Article summary text
Mostrar propiedades
Any of:
string
string
any
any
article_cover_image_urlstring | any
Article cover image URL
Mostrar propiedades
Any of:
string
string
any
any
article_blocksArticleBlock[]
Article formatting blocks
Mostrar propiedades
Array of ArticleBlock
typestringrequerido
The type of the article block.
textstringrequerido
Texto del mensaje
entityRangesArticleBlockRange[]
The entity ranges of the article block.
Mostrar propiedades
Array of ArticleBlockRange
keyintegerrequerido
The key of the entity range.
lengthintegerrequerido
The length of the entity range.
offsetintegerrequerido
The offset of the entity range.
article_plain_textstring | any
Article plain text
Mostrar propiedades
Any of:
string
string
any
any
article_markdownstring | any
Article markdown
Mostrar propiedades
Any of:
string
string
any
any
article_media_image_urlsstring[]
Article media image URLs
has_next_pagebooleanrequerido
next_cursorstring | anyrequerido
Mostrar propiedades
Any of:
string
string
any
any
403Authentication or credit access denied
codeintegerrequerido
msgstringrequerido
dataany[] | anyrequerido
Mostrar propiedades
Any of:
any[]
Array of any
any
any
any
422Invalid request
codeintegerrequerido
msgstringrequerido
dataany[] | anyrequerido
Mostrar propiedades
Any of:
any[]
Array of any
any
any
any
500Upstream or server error
codeintegerrequerido
msgstringrequerido
dataany[] | anyrequerido
Mostrar propiedades
Any of:
any[]
Array of any
any
any
any
⚡Consola interactivaPOST
⚡Consola interactiva / Probar APIPOST
Live 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
}'
Respuesta
{
  "code": 200,
  "msg": "success",
  "data": [],
  "has_next_page": false,
  "next_cursor": null
}