100 free credits. No credit card required. Get a key

Weibo comment replies API

The replies under one Weibo comment.

GET /v1/weibo/comment/replies2 credits per callRefunded on failure
import os, requests

res = requests.get(
    "https://api.groundsocial.dev/v1/weibo/comment/replies?comment_id=5368869734843613",
    headers={"Authorization": f"Bearer {os.environ['GROUNDSOCIAL_API_KEY']}"},
)
res.raise_for_status()
data = res.json()
Response
200 · 2 credits
{
"data": [
{
"id": "5368869822924899",
"created_at": "Tue Nov 24 20:02:57 +0800 2026",
"text": "<span class=\"url-icon\"><img alt=\"[送花花]\" src=\"https://face.t.sinajs.cn/t4/appstyl…",
"like_count": 7083,
"user": {
"id": 6527714590,
"screen_name": "飘飘然她来也",
"profile_image_url": "https://tvax3.sinaimg.cn/crop.0.0.1080.1080.180/0077LCLcly8ie9lsie7omj30u00u0tb7…",
"profile_url": "https://m.weibo.cn/u/6527714590?launchid=10000360-page_H5",
"close_blue_v": false,
"description": "漏移抱歉",
"follow_me": false,
"following": false,
"follow_count": 434,
"followers_count": "3024",
"…": "17 more fields"
},
"source": "来自 湖北",
"rootid": "5368869734843613",
"rootidstr": "5368869734843613",
"floor_number": 0,
"disable_reply": 0,
"…": "18 more fields"
},
"… 9 more"
],
"meta": {
"result_count": 10,
"total": 1516,
"next_token": "383949937421420:0"
}
}

Parameters

NameTypeDescription
comment_idquery · requiredstringThe comment’s id.
limitqueryintegerReplies per page, 1 to 50. Defaults to 20.
afterquerystringThe previous page’s meta.next_token.
sincequerystringOnly rows published on or after this date: YYYY-MM-DD (midnight UTC) or an ISO 8601 timestamp. Example: 2026-01-01.
untilquerystringOnly rows published on or before this date: YYYY-MM-DD (that whole UTC day) or an ISO 8601 timestamp. Example: 2026-12-31.
Response fields

200 with a WeiboComments, in Weibo’s own JSON.

FieldTypeDescription
dataWeiboComment[]
metaobject
Status codes
StatusMeaning
200A page of replies.
400Invalid input. Nothing was charged.
401Missing or invalid API key.
402Not enough credits, a spend cap was reached, or payment is required.
403The target is private, or the account is suspended.
404The user, post or comment does not exist or has nothing public.
429Too many requests. Wait for Retry-After seconds.
503Weibo is temporarily unavailable. Retryable; nothing was charged.

Every error has code, message, hint and retryable. All error codes

Questions

Where is the comment id?

The id of a row from weibo_post_comments.

Weibo is a trademark of Weibo Corporation. We are not affiliated with or endorsed by Weibo Corporation.