帖子评论

检索由MID标识的微博帖子的评论,支持可选的maxId游标分页以及时间或热度排序。用于查看受众讨论、继续翻阅评论区或支持审核和反馈分析。

接口 ID
GET /v1/weibo/get_post_comments_v1
接口 ID
weibo.get_post_comments_v1
价格
$0.02 / 次成功调用 · 失败不收费

参数

参数 必填 类型 说明 示例 可选值
mid 必填 string 微博帖子 mid。 5338970373226793 —
sort 可选 string 结果集的排序顺序。 可用值: - `TIME`: 时间 - `HOT`: 热门 TIME TIMEHOT
max_id 可选 string 由先前响应返回的分页游标。 — —

代码示例

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'

在线试用

登录后可以在这里直接调用此接口,按价格从余额扣费,失败不收费。新账户赠送 $0.50 试用额度。

登录后试用

响应示例

采集于 2026-11-07,耗时 2604 ms · 请求参数 {"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",
  …

示例较长,此处截断显示。