WellbyteWellbyte

GET /v1/weibo/web_v2/search_user_posts

Search user posts

stable · 2 credits per success

Search for content containing specific keywords in a specified user's posts.;uid: User ID (required);q: Search keyword (optional, empty string means search all content);page: Page number, starts from 1 (default 1);starttime: Start timestamp (optional, Unix timestamp format);endtime: End timestamp (optional, Unix timestamp format);hasori: Include original posts (default 1 include);hasret: Include …

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

Request

curl -s 'https://api.wellbyte.net/v1/weibo/web_v2/search_user_posts?q=demo&uid=7277477906&page=1&hasori=1&haspic=1&hasret=1&endtime=1772294400&hastext=1&hasmusic=1&hasvideo=1&starttime=1772294400' \
  -H "Authorization: Bearer dg_live_…"

Response

Sample captured 2026-08-27

data{
code:0
data{
list[ 0 items ]
total:0
}
meta{
endpoint:"weibo.web_v2.search_user_posts"
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
    qstringqueryno搜索关键词demo
    uidstringqueryyes用户ID7277477906
    pageintegerqueryno页数1
    hasoriintegerqueryno是否包含原创微博,1=包含,0=不包含1
    haspicintegerqueryno是否包含图片微博,1=包含,0=不包含1
    hasretintegerqueryno是否包含转发微博,1=包含,0=不包含1
    endtimeintegerqueryno结束时间戳1772294400
    hastextintegerqueryno是否包含文字微博,1=包含,0=不包含1
    hasmusicintegerqueryno是否包含音乐微博,1=包含,0=不包含1
    hasvideointegerqueryno是否包含视频微博,1=包含,0=不包含1
    starttimeintegerqueryno开始时间戳1772294400

    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 2 credits. Any failure — including a 200 from upstream that fails the quality gate — costs 0.

    Search

    Search endpoints and docs