List Weibo post comments
List the top comments on a Weibo post, about 20, with likes, region and reply counts.
Headers
Get your API keyAPI key (`sfk_...`)
The post's id: its 16 digits (as in m.weibo.cn/detail/5365286204084354), its short code (the last part of weibo.com/1195230310/Rrookh8wG) or a whole post link.
min 1 chars · max 512 chars
Endpoint-specific response payload.
`empty` when Weibo shows no comments: the post has none, has them turned off, or no post has this id. The post endpoint tells them apart.
one of: found, empty
The post's top comments, as Weibo ranks them logged out: up to 20. `page.truncated` says whether there are more.
Comment id.
The comment as plain text, with emoji as `[name]`.
When it was posted, ISO 8601 UTC.
The region Weibo shows it was posted from, when shown.
Likes. Null on the first replies shown under a comment, which Weibo sends without a like count.
Pictures posted with the comment.
Who wrote it; null when Weibo hides the account.
Weibo account id, the same on every endpoint: pass it as `profileId` to the profile endpoints.
Screen name.
Profile picture.
Profile page.
True when Weibo verified the account.
How many replies the comment has. Pass its `id` as `commentId` to the replies endpoint.
True when the post's author liked this comment.
The first replies, as Weibo shows them under the comment logged out (up to 2). `replyCount` says how many there are; the replies endpoint returns more.
Comment id.
The comment as plain text, with emoji as `[name]`.
When it was posted, ISO 8601 UTC.
The region Weibo shows it was posted from, when shown.
Likes. Null on the first replies shown under a comment, which Weibo sends without a like count.
Pictures posted with the comment.
Who wrote it; null when Weibo hides the account.
Weibo account id, the same on every endpoint: pass it as `profileId` to the profile endpoints.
Screen name.
Profile picture.
Profile page.
True when Weibo verified the account.
Pagination state. Weibo shows logged-out visitors the first page of a list, so there is never a next page.
Whether another page is available.
Cursor to pass in the next request when more pages exist; null on the last page.
True when the list has more rows than Weibo shows logged out: it stops here before its end.
How many rows the list has in all, as Weibo counts them.
Metadata describing the request and billing outcome.
Unique request identifier for tracing this API call.
min 1 chars
Credits charged for this request.
≥ 0
Public API version that served the response.
one of: v1
Present, and `true`, only when the source couldn't be reached and this is the last good answer for the same request instead, up to 24 hours old. Absent on every live answer.
one of: true
When a stale answer (`stale: true`) was originally fetched (ISO 8601, UTC). Absent on every live answer.
Code example
curl "https://api.socialfetch.dev/v1/weibo/posts/5365286204084354/comments" \
-H "x-api-key: YOUR_API_KEY"Responses
The top comments on a Weibo post.