Kullanıcının makalelerini sayfa bazında getir
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.
API Belgelerine Dön
/Article Endpoints
POST
/twitter/{screen_name}/articles/pageAPI Yetkilendirmesi
AuthorizationBearer token · headerzorunluTwexAPI genel Bearer Token kimlik bilgisi. İstek başlığı: Authorization: Bearer <YOUR_TWEXAPI_KEY>.
Yol Parametreleri
screen_namestringzorunluX username with or without @.
matches \S
İstek Gövdesi
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
Özellikleri gösterÖzellikleri gizle
Any of:
integer
integerany
anynext_cursorstring | anyÖzellikleri gösterÖzellikleri gizle
Any of:
string
stringany
anyany
anyYanıtlar
200Success
codeintegerzorunlumsgstringzorunludataXArticleModel[]zorunluÖzellikleri gösterÖzellikleri gizle
Array of
XArticleModeltweet_idstring | anyTweetin benzersiz ID'si
Özellikleri gösterÖzellikleri gizle
Any of:
string
stringany
anyfull_textstring | anyTweetin tam metni
Özellikleri gösterÖzellikleri gizle
Any of:
string
stringany
anycreated_atstring | anyOluşturulma zamanı (UTC)
Özellikleri gösterÖzellikleri gizle
Any of:
string
stringany
anylangstring | anyThe language
Özellikleri gösterÖzellikleri gizle
Any of:
string
stringany
anybookmark_countinteger | anyYer işareti sayısı
Özellikleri gösterÖzellikleri gizle
Any of:
integer
integerany
anyfavorite_countinteger | anyBeğeni sayısı
Özellikleri gösterÖzellikleri gizle
Any of:
integer
integerany
anyreply_countinteger | anyYanıt sayısı
Özellikleri gösterÖzellikleri gizle
Any of:
integer
integerany
anyretweet_countinteger | anyRetweet sayısı
Özellikleri gösterÖzellikleri gizle
Any of:
integer
integerany
anyquote_countinteger | anyQuote count
Özellikleri gösterÖzellikleri gizle
Any of:
integer
integerany
anyview_countstring | anyGörüntülenme sayısı
Özellikleri gösterÖzellikleri gizle
Any of:
string
stringany
anyview_count_statestring | anyView count state
Özellikleri gösterÖzellikleri gizle
Any of:
string
stringany
anyconversation_idstring | anyConversation ID
Özellikleri gösterÖzellikleri gizle
Any of:
string
stringany
anyauthor_user_idstring | anyAuthor user ID
Özellikleri gösterÖzellikleri gizle
Any of:
string
stringany
anyauthor_screen_namestring | anyYazarın Twitter kullanıcı adı (@ olmadan)
Özellikleri gösterÖzellikleri gizle
Any of:
string
stringany
anyauthor_namestring | anyYazarın görünen adı
Özellikleri gösterÖzellikleri gizle
Any of:
string
stringany
anyauthor_is_blue_verifiedboolean | anyWhether author is blue verified
Özellikleri gösterÖzellikleri gizle
Any of:
boolean
booleanany
anyauthor_verifiedboolean | anyWhether author is verified
Özellikleri gösterÖzellikleri gizle
Any of:
boolean
booleanany
anyauthor_is_verified_organization_affiliateboolean | anyWhether author is verified organization
Özellikleri gösterÖzellikleri gizle
Any of:
boolean
booleanany
anyarticle_idstring | anyArticle ID
Özellikleri gösterÖzellikleri gizle
Any of:
string
stringany
anyarticle_titlestring | anyArticle title
Özellikleri gösterÖzellikleri gizle
Any of:
string
stringany
anyarticle_preview_textstring | anyArticle preview text
Özellikleri gösterÖzellikleri gizle
Any of:
string
stringany
anyarticle_summary_textstring | anyArticle summary text
Özellikleri gösterÖzellikleri gizle
Any of:
string
stringany
anyarticle_cover_image_urlstring | anyArticle cover image URL
Özellikleri gösterÖzellikleri gizle
Any of:
string
stringany
anyarticle_blocksArticleBlock[]Article formatting blocks
Özellikleri gösterÖzellikleri gizle
Array of
ArticleBlocktypestringzorunluThe type of the article block.
textstringzorunluMesaj metni
entityRangesArticleBlockRange[]The entity ranges of the article block.
Özellikleri gösterÖzellikleri gizle
Array of
ArticleBlockRangekeyintegerzorunluThe key of the entity range.
lengthintegerzorunluThe length of the entity range.
offsetintegerzorunluThe offset of the entity range.
article_plain_textstring | anyArticle plain text
Özellikleri gösterÖzellikleri gizle
Any of:
string
stringany
anyarticle_markdownstring | anyArticle markdown
Özellikleri gösterÖzellikleri gizle
Any of:
string
stringany
anyarticle_media_image_urlsstring[]Article media image URLs
has_next_pagebooleanzorunlunext_cursorstring | anyzorunluÖzellikleri gösterÖzellikleri gizle
Any of:
string
stringany
any403Authentication or credit access denied
codeintegerzorunlumsgstringzorunludataany[] | anyzorunluÖzellikleri gösterÖzellikleri gizle
Any of:
any[]
Array of
anyanyany
any422Invalid request
codeintegerzorunlumsgstringzorunludataany[] | anyzorunluÖzellikleri gösterÖzellikleri gizle
Any of:
any[]
Array of
anyanyany
any500Upstream or server error
codeintegerzorunlumsgstringzorunludataany[] | anyzorunluÖzellikleri gösterÖzellikleri gizle
Any of:
any[]
Array of
anyanyany
any⚡Etkileşimli KonsolPOST
⚡Etkileşimli Konsol / API TestiPOSTLive Console
🌐Hedef Sunucu:
https://api.twexapi.io● Canlı Ortam Hazır
🔍
Genel Veri Okuma (Yalnızca TwexAPI Anahtarı, Twitter Çerezi Gerekmez)
Bu uç nokta herkese açık Twitter verilerini sorgular — Twitter hesabı veya Çerez gerekmez! Test etmek için aşağıdaki "API Yetkilendirmesi"ne TwexAPI Anahtarınızı (Bearer Token) girmeniz yeterlidir.
🔑API Yetkilendirmesi
⚙️Parametreler (1)
📝İstek Gövdesiapplication/json
📡
暂无响应数据
请在「请求配置」中确认参数后,点击底部的「发送请求」按钮。
İstek
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
},
)Yanıt
{
"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": []
}