Skip to main content

GET /v1/twitter/user/user_posts_v1

Twitter User Posts API (V1)

stable · 20 credits per success

Retrieve the posts published by an X (Twitter) user by Rest ID, with cursor pagination. Use it to browse a known account's timeline or continue through its public posting history.

Sign up for 500 credits and run with your own API key. Sign up free

Request

curl
curl -s 'https://api.wellbyte.net/v1/twitter/user/user_posts_v1?cursor=demo&restId=demo' \
  -H "Authorization: Bearer dg_live_…"

Response

Sample captured 2026-09-23

data{
code:0
data{
user{ 15 items }
pinned{ 15 items }
status:"ok"
timeline[ 2 items ]
next_cursor:"DAAHCgABHS3cTNz__-oLAAIAAAATMjEwMjQxNTMwNzAyNTYwNDkxNQgAAwAAAAIAAA"
prev_cursor:"DAAHCgABHS3cTN0AJxELAAIAAAATMjEwMjUyMDI4MzYxODAxNzM1NQgAAwAAAAEAAA"
}
meta{
endpoint:"twitter.user.user_posts_v1"
cache_hit:false
elapsed_ms:0
request_id:"req_sample"
credits_charged:0
}
message:"ok"
}

No calls yet. Get one green run first, then switch to your own data.

    Request parameters

    NameTypeInRequiredDescriptionExample
    cursorstringqueryno用于浏览长时线内容的分页游标。demo
    restIdstringqueryyesX 用户的唯一数字标识符(Rest ID)。demo

    Response fields

    Field dictionary coming soon — the executable panel shows the live shape.

    Errors

    codeHTTPMeaningBilled
    40001400Invalid parametersno
    40102401Invalid or revoked API Keyno
    40201402Insufficient creditsno
    40402404Resource not foundno
    42201422Quality gate failedno
    42901429Rate limit exceededno
    50401504Upstream timeoutno
    50201502Upstream errorno

    Billing

    Success costs 20 credits. Any failure — including a 200 that fails the quality gate — costs 0.

    All Twitter/X endpoints →

    Search

    Search endpoints and docs