Post Comments
Retrieves comments for a Weibo post identified by MID, with optional maxId cursor pagination and time or hot sorting. Use it to review audience discussion, continue through comment pages, or support moderation and feedback analysis.
Parameters
| Name | Required | Type | Description | Example | Allowed values |
|---|---|---|---|---|---|
mid |
Required | string | Weibo post mid. | 5338970373226793 |
— |
sort |
Optional | string | Sort order for the result set. Available Values: - `TIME`: Time - `HOT`: Hot | TIME |
TIMEHOT |
max_id |
Optional | string | Pagination cursor returned by the previous response. | — | — |
Code samples
curl -G "https://api.mofa-ai.com/v1/weibo/get_post_comments_v1" \
-H "Authorization: Bearer $MOFA_API_KEY" \
--data-urlencode 'mid=5338970373226793' \
--data-urlencode 'sort=TIME'
import os
import requests
resp = requests.get(
"https://api.mofa-ai.com/v1/weibo/get_post_comments_v1",
headers={"Authorization": f"Bearer {os.environ['MOFA_API_KEY']}"},
params={
"mid": "5338970373226793",
"sort": "TIME",
},
timeout=60,
)
body = resp.json()
if body["success"]:
print(body["cost_usd"], body["data"])
else:
print(body["error"], body["message"])
const url = new URL("https://api.mofa-ai.com/v1/weibo/get_post_comments_v1");
url.search = new URLSearchParams({
mid: "5338970373226793",
sort: "TIME",
});
const resp = await fetch(url, {
headers: { Authorization: `Bearer ${process.env.MOFA_API_KEY}` },
});
const body = await resp.json();
if (body.success) console.log(body.cost_usd, body.data);
else console.error(body.error, body.message);
Try it
Sign in to call this endpoint from this page. Successful calls are billed to your balance, failed calls are free, and new accounts get $0.50 of trial credit.
Example response
Captured 2026-11-07, took 2604 ms · Request parameters {"mid": "5338970373226793", "sort": "TIME"}
JSON
{
"success": true,
"code": 0,
"message": "success",
"request_id": "req_5f1c2a9be04d7c3a81f6e2d0",
"endpoint": "weibo.get_post_comments_v1",
"cost_usd": 0.02,
"data": {
"code": 0,
"data": {
"ok": 1,
"data": [
{
"id": 5338994019926748,
"mid": "5338994019926748",
"rid": "0_0_0_163414082480157947_0_0_0",
"text": "希望中埃友谊长存",
"user": {
"id": 7747944241,
"url": "",
"svip": 0,
"vvip": 0,
"idstr": "7747944241",
"domain": "",
"gender": "m",
"mbrank": 0,
"mbtype": 0,
"pc_new": 0,
"v_plus": 0,
"weihao": "",
"location": "辽宁",
"verified": false,
"avatar_hd": "https://tvax2.sinaimg.cn/crop.0.0.1080.1080.1024/008slAeBly8h0duoe5g71j30u00u0di1.jpg?KID=imgbed,tva&Expires=1794106681&ssig=A%2FH9cgNTSm",
"follow_me": false,
"following": false,
"icon_list": [],
"description": "",
"profile_url": "/u/7747944241",
"screen_name": "普莱斯加雷泽诺夫",
"avatar_large": "https://tvax2.sinaimg.cn/crop.0.0.1080.1080.180/008slAeBly8h0duoe5g71j30u00u0di1.jpg?KID=imgbed,tva&Expires=1794106681&ssig=F215aBuuWa",
"planet_video": true,
"user_ability": 2097152,
"friends_count": 409,
"verified_type": -1,
"statuses_count": 21,
"followers_count": 53,
"cover_image_phone": "https://ww1.sinaimg.cn/crop.0.0.640.640.640/549d0121tw1egm1kjly3jj20hs0hsq4f.jpg",
"profile_image_url": "https://tvax2.sinaimg.cn/crop.0.0.1080.1080.50/008slAeBly8h0duoe5g71j30u00u0di1.jpg?KID=imgbed,tva&Expires=1794106681&ssig=23A6wmmvQ%2B",
"followers_count_str": "53",
"status_total_counter": {
"like_cnt": "60",
"total_cnt": "60",
"repost_cnt": "0",
"comment_cnt": "0",
"total_cnt_format": 60
}
},
"idstr": "5338994019926748",
"liked": false,
"max_id": 0,
"rootid": 5338994019926748,
"source": "来自 辽宁",
"cmt_ext": "level_type:1",
"pic_num": 0,
"comments": [],
"isExpand": false,
"since_id": 0,
"text_raw": "希望中埃友谊长存",
"rootidstr": "5338994019926748",
"created_at": "Thu Sep 03 09:27:11 +0800 2026",
"hasvisible": false,
"like_counts": 3,
"next_cursor": 0,
"source_type": 4,
"url_objects": [],
"allow_follow": false,
"degrade_type": "normal",
"floor_number": 41,
"readtimetype": "comment",
"total_number": 0,
"biz_mark_type": 0,
"disable_reply": 0,
"item_category": "comment",
"report_scheme": "sinaweibo://mpdialog?scheme=sinaweibo%3A%2F%2Fwbox%3Fid%3Dt8wto09182%26page%3Dpages%2Fcomplaint%2Fcomplaint%26comment%3D%25E5%25B8%258C%25E6%259C%259B%25E4%25B8%25AD%25E5%259F%2583%25E5%258F%258B%25E8…",
"analysis_extra": "author_uid:2656274875|mid:5338970373226793|rid:163414082480157947",
"comment_bubble": {
"id": "tie_0001",
"name": "铁粉专属",
"icon_url": "https://h5.sinaimg.cn/upload/100/1720/2023/06/14/commentbubble_tie_66A6FF.png",
"end_color": "#1A66A6FF",
"obtain_type": 3,
"start_color": "#0066A6FF",
"end_color_dark": "#3366A6FF",
"start_color_dark": "#0066A6FF"
},
"restrict_state": 0,
"previous_cursor": 0,
"restrictOperate": 0,
"source_allowclick": 0,
"match_ai_play_picture": false
},
{
"id": 5338989760086349,
"mid": "5338989760086349",
"rid": "0_0_0_163414082480157947_0_0_0",
"text": "友好交流,共同发展。",
"user": {
"id": 7962202207,
"url": "",
"svip": 1,
"vvip": 0,
"idstr": "7962202207",
"domain": "",
"gender": "f",
"mbrank": 3,
"mbtype": 12,
"pc_new": 0,
"v_plus": 0,
"weihao": "",
"location": "其他",
"verified": false,
"avatar_hd": "https://tvax1.sinaimg.cn/crop.0.0.1080.1080.1024/008GQAwfly8ienakyvksqj30u00u0q4z.jpg?KID=imgbed,tva&Expires=1794106681&ssig=wjtchSx3Ps",
"follow_me": false,
"following": false,
"icon_list": [
{
"data": {
"svip": 1,
"vvip": 0,
"mbrank": 3,
"mbtype": 12
},
"type": "vip"
}
],
"description": "我们发现不是孩子不优秀,是自己要求孩子完美的心遮住了看见孩子优秀的眼睛。",
"profile_url": "/u/7962202207",
"screen_name": "华夏之彦",
"avatar_large": "https://tvax1.sinaimg.cn/crop.0.0.1080.1080.180/008GQAwfly8ienakyvksqj30u00u0q4z.jpg?KID=imgbed,tva&Expires=1794106681&ssig=5gih1%2FtN2c",
"planet_video": false,
"user_ability": 2359296,
"friends_count": 211,
"verified_type": -1,
"statuses_count": 344,
"followers_count": 88,
"cover_image_phone": "https://wx3.sinaimg.cn/crop.0.0.640.640.640/002TLsr9ly1iabh433qorj61o01o04q402.jpg;https://ww1.sinaimg.cn/crop.0.0.640.640.640/549d0121tw1egm1kjly3jj20hs0hsq4f.jpg",
"profile_image_url": "https://tvax1.sinaimg.cn/crop.0.0.1080.1080.50/008GQAwfly8ienakyvksqj30u00u0q4z.jpg?KID=imgbed,tva&Expires=1794106681&ssig=RcPIsGzvIj",
"followers_count_str": "88",
"status_total_counter": {
"like_cnt": "179",
"total_cnt": "207",
"repost_cnt": "1",
"comment_cnt": "27",
"total_cnt_format": 207
}
},
"idstr": "5338989760086349",
"liked": false,
"max_id": 0,
"rootid": 5338989760086349,
"source": "来自 河北",
"cmt_ext": "level_type:1",
"pic_num": 0,
"comments": [],
"isExpand": false,
"since_id": 0,
"text_raw": "友好交流,共同发展。",
"rootidstr": "5338989760086349",
"created_at": "Thu Sep 03 09:10:15 +0800 2026",
"hasvisible": false,
"like_counts": 3,
"next_cursor": 0,
"source_type": 4,
"url_objects": [],
"allow_follow": false,
"degrade_type": "normal",
"floor_number": 37,
"readtimetype": "comment",
…
Truncated for display; the full response is longer.