Weibo User Posts
https://api.sandbase.ai/v1/api/weibo/web-v2/user-postsGet the posts published by a Weibo user: text, publish time, images, videos and repost, comment and like counts, with pagination.
- Price
- Free
- Method
- POST
- Response
- JSON
- Parameters
- 1 required · 3 optional
Try the model
Playground
[
{
"data": {
"code": 200,
"data": {
"message": "Invalid uid. Pass the numeric Weibo user id, for example 7277477906.",
"message_zh": "uid 非法。请传入纯数字的微博用户 ID,例如 7277477906。",
"ok": 0,
"param": "uid"
},
"docs": null,
"message": "Invalid uid. Pass the numeric Weibo user id, for example 7277477906.",
"message_zh": "uid 非法。请传入纯数字的微博用户 ID,例如 7277477906。",
"params": {
"feature": "0",
"page": "1",
"since_id": "",
"uid": "example"
},
"request_id": "a558d6fd-9290-4cfb-ac9f-3dc0a119f0e7",
"router": "/api/weibo/web_v2/fetch_user_posts",
"time": "2026-08-20 17:39:29",
"time_stamp": 1787218769,
"time_zone": "Asia/Shanghai"
}
}
]Examples
Select an example to load its inputs and result into the playground.
Model card
Specifications
Pricing
- Base price
- Free
Request & response
- Method
- POST
- Request body
- application/json
- Response
- application/json
- Execution
- sync
Parameters
- uid
- string · required
- feature
- integer · optional
- page
- integer · optional
- since_id
- string · optional
Access
- Provider
- API
- Platform API
- Base URL
- https://api.sandbase.ai
- Endpoint
- /v1/api/weibo/web-v2/user-posts
- Authentication
- Bearer API key
API README
Weibo User Posts API
Pass a Weibo user ID and get that account's posts with engagement metrics, page by page.
Use cases
- Monitor official accounts and media.
- Analyze content performance of an account.
- Archive posts.
Request
curl -X POST "https://api.sandbase.ai/v1/api/weibo/web-v2/user-posts" \
-H "Authorization: Bearer $SANDBASE_API_KEY" \
-H "Content-Type: application/json" \
-d '{"uid": "2803301701"}'
Parameters
| Name | Type | Required | Description |
|---|---|---|---|
uid | string | Yes | User ID (required) |
page | integer | No | Page number, starts from 1 (default 1) |
feature | integer | No | Data feature value (default 0) |
since_id | string | No | Pagination identifier for next page |
Example response
Real response for the request above, trimmed to the main fields. User names and long IDs are masked.
{
"data": {
"since_id": "<since_id>",
"list": [
{
"id": 5348998178410235,
"created_at": "Thu Oct 01 00:00:08 +0800 2026",
"reposts_count": 825698,
"comments_count": 19113,
"attitudes_count": 103953,
"text_raw": "【此刻,转发接力:#我爱你中国#[心]】#庆祝新中国成立77周年#,今天共同传递:惟愿山河锦绣、国泰民安!祝福伟大祖国…",
"user": {
"id": 2803301701,
"screen_name": "人民日报"
}
}
]
}
}
Notes
- Paginate with
pageorsince_idfrom the previous response.
Related APIs
- Weibo Advanced Search: Search Weibo posts by keyword with filters for time range, post type (hot, original, verified, media) and content type (images, video, links).
- Weibo Real-Time Hot Search: Get the Weibo real-time hot search ranking: trending keywords with rank, heat value and labels such as new or hot.
- Weibo Hot Search List: Get the complete real-time Weibo hot search ranking (top 50): keyword, rank, heat tag and search link for each trending topic.
Start building
Send your first request
Platform API endpoint with unified authentication and usage tracking.
# The quoted heredoc keeps Unicode and shell metacharacters unchanged.
result=$(curl --fail-with-body --silent \
-X POST "https://api.sandbase.ai/v1/api/weibo/web-v2/user-posts" \
-H "Authorization: Bearer $SANDBASE_API_KEY" \
-H "Content-Type: application/json" \
--data-binary @- <<'SANDBASE_JSON'
{
"uid": "example"
}
SANDBASE_JSON
)
printf '%s\n' "$result"Explore more
Related APIs
| API | Price | Response | Released |
|---|---|---|---|
Weibo User PostsThis API Weibo | Free | JSON | Jul 31, 2026 |
Weibo | Free | JSON | Jul 31, 2026 |
Weibo | Free | JSON | Jul 31, 2026 |
Weibo | Free | JSON | Jul 31, 2026 |
Weibo | Free | JSON | Jul 31, 2026 |
Weibo | Free | JSON | Jul 31, 2026 |
Questions
FAQ
How do I use the Weibo User Posts API?
Send a POST request to https://api.sandbase.ai/v1/api/weibo/web-v2/user-posts with your SandBase API key in the Authorization header (Bearer) and the parameters as a JSON body. You can also try it in the Playground on this page without writing code.
How much does the Weibo User Posts API cost?
Weibo User Posts is free to call on SandBase. You only need a SandBase account and API key.
What parameters does the Weibo User Posts API accept?
Required: uid (string). Optional: feature (integer), page (integer) and since_id (string). The Parameters table and the Playground on this page list every field.
What does the Weibo User Posts API return?
A JSON response returned in the same HTTP request (synchronous). The README on this page includes a sample response.
Do I need a Weibo developer account or API key?
No. Weibo User Posts runs through SandBase, so one SandBase API key covers this endpoint and every other API and model in the catalog. You do not need to apply for Weibo API access separately.
