Sand AISand AI MAGI-2MAGI-2 现已上线 SandBase:支持原生音频的 1080p 视频立即试用

Weibo Post Comments

API 文档
https://api.sandbase.ai/v1/api/weibo/web-v2/post-comments

Get the first-level comments on a Weibo post: comment text, author, time, likes and reply counts, with cursor pagination.

价格
$0.001美元 / 次调用
方法
POST
响应
JSON
参数
1 个必填 · 2 个可选
每天 100 次免费调用每天前 100 次调用免费(按组织共享)· UTC 00:00 重置。之后按次计费。

Playground

输入
Weibo post ID (required)
Number of comments (default 10)
Pagination cursor, pass empty for first request, use returned max_id for subsequent requests
输出示例
响应outputs · 34.2 KB · 751 行
[
  {
    "data": {
      "data": [
        {
          "allow_follow": false,
          "analysis_extra": "author_uid:1727858283|mid:5350554563773695|rid:164215643652145150",
          "biz_mark_type": 0,
          "cmt_ext": "level_type:1",
          "comment_bubble": {
            "end_color": "#1AFEAD3A",
            "end_color_dark": "#33FEAD3A",
            "icon_url": "https://h5.sinaimg.cn/upload/100/1720/2023/06/14/commentbubble_jin_FEAD3A.png",
            "id": "jin_0001",
            "name": "金粉专属",
            "obtain_type": 3,
            "start_color": "#00FEAD3A",
            "start_color_dark": "#00FEAD3A"
          },
          "comments": [
            {
              "allow_follow": false,
              "analysis_extra": "author_uid:1727858283|mid:5350554563773695|rid:164215643652145150",
              "biz_mark_type": 0,
              "blogger_icons": [
                {
                  "actionlog": {
                    "act_code": "3671",
                    "ext": "status:author"
                  },
                  "length": "1.33",
                  "name": "blogger",
                  "url": "https://h5.sinaimg.cn/upload/116/1347/2020/12/15/bozhu.png"
                }
              ],
              "cmt_ext": "level_type:2",
              "created_at": "Mon Oct 05 07:49:58 +0800 2026",
              "degrade_type": "normal",
              "disable_reply": 0,
              "floor_number": 0,
              "gid": 5350565966251040,
              "id": 5350565966251040,
              "idstr": "5350565966251040",
              "is_mblog_author": true,
              "is_sub_cmt": true,
              "item_category": "comment",
              "like_count": 3,
              "like_counts": 3,
              "liked": false,
              "match_ai_play_picture": false,
              "mid": "5350565966251040",
              "pic_num": 0,
              "readtimetype": "comment_reply",
              "reply_comment": {
                "allow_follow": false,
                "biz_mark_type": 0,
                "comment_badge": [
                  {
                    "actionlog": {
                      "act_code": "3671",
                      "ext": "status:fans"
                    },
                    "length": 1.33,
                    "name": "loyal_fans",
                    "new_icon": true,
                    "pic_url": "https://h5.sinaimg.cn/upload/114/962/2022/07/08/member_0_bigfan2_3.png",
                    "scheme": "https://kefu.weibo.com/faqdetail?id=20848",
                    "type_and_level": "2_3"
                  }
                ],
                "created_at": "Mon Oct 05 07:09:09 +0800 2026",
                "disable_reply": 0,
                "floor_number": 2,
                "id": 5350555695188006,
                "idstr": "5350555695188006",
                "item_category": "comment",
                "match_ai_play_picture": false,
                "mid": "5350555695188006",
                "pic_num": 0,
                "restrictOperate": 0,
                "restrict_state": 0,
                "rid": "0_0_0_164215643652145150_0_0_0",
                "rootid": 5350555695188006,
                "rootidstr": "5350555695188006",
                "scheme": "sinaweibo://detail?mblogid=&anchor_id=5350555695188006&is_show_bulletin=",
                "text": "也就是28天每天要么上新一个新功能/重置一次吗? 还挺好的![打call]刚开了Pro会员又可以尽情蹬了[打call]",
                "url_objects": [],
                "user": {
                  "avatar_hd": "https://tvax4.sinaimg.cn/crop.0.0.828.828.1024/df82fe49ly8gf2p7ewq9uj20n00n0ab1.jpg?KID=imgbed,tva&Expires=1791294558&ssig=Z0CQLsk3PX",
                  "avatar_large": "https://tvax4.sinaimg.cn/crop.0.0.828.828.180/df82fe49ly8gf2p7ewq9uj20n00n0ab1.jpg?KID=imgbed,tva&Expires=1791294558&ssig=HPgOjINfJ%2B",
                  "cover_image_phone": "https://wx3.sinaimg.cn/crop.0.0.640.640.640/df82fe49ly1gzinquca07j20u00u0tat.jpg",
                  "description": "出兵缉拿关于哆啦A梦的黑帖 势在必得!🗝",
                  "domain": "",
                  "follow_me": false,
                  "followers_count": 6232,
                  "followers_count_str": "6232",
                  "following": false,
                  "friends_count": 1063,
                  "gender": "m",
                  "icon_list": [],
                  "id": 3749903945,
                  "idstr": "3749903945",
                  "location": "其他",
                  "mbrank": 7,
                  "mbtype": 2,
                  "pc_new": 7,
                  "planet_video": false,
                  "profile_image_url": "https://tvax4.sinaimg.cn/crop.0.0.828.828.50/df82fe49ly8gf2p7ewq9uj20n00n0ab1.jpg?KID=imgbed,tva&Expires=1791294558&ssig=5P1F54qYkt",
                  "profile_url": "/u/3749903945",
                  "screen_name": "哆啦A梦反黑站",
                  "status_total_counter": {
                    "comment_cnt": "1,746",
                    "like_cnt": "2,931",
                    "repost_cnt": "68",
                    "total_cnt": "4,745",
                    "total_cnt_format": 4745
                  },
                  "statuses_count": 880,
                  "svip": 0,
                  "url": "",
                  "user_ability": 3408904,
                  "v_plus": 0,
                  "verified": false,
                  "verified_type": -1,
                  "vvip": 0,
                  "weihao": ""
                }
              },
              "report_scheme": "sinaweibo://mpdialog?scheme=sinaweibo%3A%2F%2Fwbox%3Fid%3Dt8wto09182%26page%3Dpages%2Fcomplaint%2Fcomplaint%26comment%3D%25E5%259B%259E%25E5%25A4%258D%2540%25E5%2593%2586%25E5%2595%25A6A%25E6%25A2%25A6%25E5%258F%258D%25E9%25BB%2591%25E7%25AB%2599%253A%25E5%25A6%2582%25E6%259E%259C%25E4%25B8%258D%25E4%25B8%258A%25E6%2589%258D%25E9%2587%258D%25E7%25BD%25AE%26nickname%3D%25E5%25AE%259D%25E7%258E%2589xp%26ct_type%3D2%26rid%3D5350565966251040%26ct_time%3D1791283758291%26ct_sign%3D1263918780%26luicode%3D",
              "restrictOperate": 1,
              "restrict_state": 0,
              "rid": "0_0_0_164215643652145150_0_0_0",
              "rootid": 5350555695188006,
              "rootidstr": "5350555695188006",
              "safe_tags": 4294967296,
              "shouldShowColon": 1,
              "source": "来自 美国",
              "source_allowclick": 0,
              "source_type": 4,
              "text": "如果不上才重置",
              "text_raw": "如果不上才重置",
              "url_objects": [],
              "user": {
                "avatar_hd": "https://tva3.sinaimg.cn/crop.0.0.180.180.1024/66fd066bjw1e8qgp5bmzyj2050050aa8.jpg?KID=imgbed,tva&Expires=1791294558&ssig=ywWC4cJ6h0",
                "avatar_large": "https://tva3.sinaimg.cn/crop.0.0.180.180.180/66fd066bjw1e8qgp5bmzyj2050050aa8.jpg?KID=imgbed,tva&Expires=1791294558&ssig=Cs7VBM21l2",
                "cover_image_phone": "https://ww1.sinaimg.cn/crop.0.0.640.640.640/549d0121tw1egm1kjly3jj20hs0hsq4f.jpg",
                "description": "传播技术。不争论,只拉黑。个人网站:https://baoyu.io",
                "domain": "dotey",
                "follow_me": false,
                "followers_count": 1151752,
                "followers_count_str": "115.2万",
                "following": false,
                "friends_count": 563,
                "gender": "m",
                "icon_list": [
                  {
                    "data": {
                      "mbrank": 2,
                      "mbtype": 12,
                      "svip": 1,
                      "vvip": 1
                    },
                    "type": "vip"
                  }
                ],
                "id": 1727858283,
                "idstr": "1727858283",
                "location": "海外 美国",
                "mbrank": 2,
                "mbtype": 12,
                "pc_new": 7,
                "planet_video": false,
                "profile_image_url": "https://tva3.sinaimg.cn/crop.0.0.180.180.50/66fd066bjw1e8qgp5bmzyj2050050aa8.jpg?KID=imgbed,tva&Expires=1791294558&ssig=d7%2FRN4IPBa",
                "profile_url": "/u/1727858283",
                "screen_name": "宝玉xp",
                "status_total_counter": {
                  "comment_cnt": "237,053",
                  "like_cnt": "1,923,416",
                  "repost_cnt": "1,982,297",
                  "total_cnt": "4,142,766",
                  "total_cnt_format": "414.3万"
                },
                "statuses_count": 60742,
                "svip": 1,
                "url": "http://www.openlab.net.cn",
                "user_ability": 11799048,
                "v_plus": 0,
                "verified": true,
                "verified_reason": "前微软Asp.Net最有价值专家  2025微博年度新知博主 科技博主",
                "verified_type": 0,
                "verified_type_ext": 1,
                "vvip": 1,
                "weihao": ""
              }
            },
            {
              "allow_follow": false,
              "analysis_extra": "author_uid:1727858283|mid:5350554563773695|rid:164215643652145150",
              "biz_mark_type": 0,
              "cmt_ext": "level_type:2",
              "created_at": "Mon Oct 05 10:05:48 +0800 2026",
              "degrade_type": "normal",
              "disable_reply": 0,
              "floor_number": 0,
              "gid": 5350600151928779,
              "id": 5350600151928779,
              "idstr": "5350600151928779",
              "is_sub_cmt": true,
              "item_category": "comment",
              "like_count": 5,
              "like_counts": 5,
              "liked": false,
              "match_ai_play_picture": false,
              "mid": "5350600151928779",
              "pic_num": 0,
              "readtimetype": "comment_reply",
              "reply_comment": {
                "allow_follow": false,
                "biz_mark_type": 0,
                "comment_badge": [
                  {
                    "actionlog": {
                      "act_code": "3671",
                      "ext": "status:fans"
                    },
                    "length": 1.33,
                    "name": "loyal_fans",
                    "new_icon": true,
                    "pic_url": "https://h5.sinaimg.cn/upload/114/962/2022/07/08/member_0_bigfan2_3.png",
                    "scheme": "https://kefu.weibo.com/faqdetail?id=20848",
                    "type_and_level": "2_3"
                  }
                ],
                "created_at": "Mon Oct 05 07:50:25 +0800 2026",
                "disable_reply": 0,
                "floor_number": 0,
                "id": 5350566081333267,
                "idstr": "5350566081333267",
                "item_category": "comment",
                "match_ai_play_picture": false,
                "mid": "5350566081333267",
                "pic_num": 0,
                "restrictOperate": 0,
                "restrict_state": 0,
                "rid": "0_0_0_164215643652145150_0_0_0",
                "rootid": 5350555695188006,
                "rootidstr": "5350555695188006",
                "scheme": "sinaweibo://detailbulletincomment?comment_id=5350555695188006&anchor_id=5350566081333267&is_show_bulletin=2",
                "text": "回复@宝玉xp:可别每天都上一个无关痛痒的小功能🙏🏻",
                "url_objects": [],
                "user": {
                  "avatar_hd": "https://tvax4.sinaimg.cn/crop.0.0.828.828.1024/df82fe49ly8gf2p7ewq9uj20n00n0ab1.jpg?KID=imgbed,tva&Expires=1791294558&ssig=Z0CQLsk3PX",
                  "avatar_large": "https://tvax4.sinaimg.cn/crop.0.0.828.828.180/df82fe49ly8gf2p7ewq9uj20n00n0ab1.jpg?KID=imgbed,tva&Expires=1791294558&ssig=HPgOjINfJ%2B",
                  "cover_image_phone": "https://wx3.sinaimg.cn/crop.0.0.640.640.640/df82fe49ly1gzinquca07j20u00u0tat.jpg",
                  "description": "出兵缉拿关于哆啦A梦的黑帖 势在必得!🗝",
                  "domain": "",
                  "follow_me": false,
                  "followers_count": 6232,
                  "followers_count_str": "6232",
                  "following": false,
                  "friends_count": 1063,
                  "gender": "m",
                  "icon_list": [],
                  "id": 3749903945,
                  "idstr": "3749903945",
                  "location": "其他",
                  "mbrank": 7,
                  "mbtype": 2,
                  "pc_new": 7,
                  "planet_video": false,
                  "profile_image_url": "https://tvax4.sinaimg.cn/crop.0.0.828.828.50/df82fe49ly8gf2p7ewq9uj20n00n0ab1.jpg?KID=imgbed,tva&Expires=1791294558&ssig=5P1F54qYkt",
                  "profile_url": "/u/3749903945",
                  "screen_name": "哆啦A梦反黑站",
                  "status_total_counter": {
                    "comment_cnt": "1,746",
                    "like_cnt": "2,931",
                    "repost_cnt": "68",
                    "total_cnt": "4,745",
                    "total_cnt_format": 4745
                  },
                  "statuses_count": 880,
                  "svip": 0,
                  "url": "",
                  "user_ability": 3408904,
                  "v_plus": 0,
                  "verified": false,
                  "verified_type": -1,
                  "vvip": 0,
                  "weihao": ""
                }
              },
              "reply_original_text": "只要把下一次的更新拆成28个小版本就行了[doge]",
              "report_scheme": "sinaweibo://mpdialog?scheme=sinaweibo%3A%2F%2Fwbox%3Fid%3Dt8wto09182%26page%3Dpages%2Fcomplaint%2Fcomplaint%26comment%3D%25E5%259B%259E%25E5%25A4%258D%2540%25E5%2593%2586%25E5%2595%25A6A%25E6%25A2%25A6%25E5%258F%258D%25E9%25BB%2591%25E7%25AB%2599%253A%25E5%258F%25AA%25E8%25A6%2581%25E6%258A%258A%25E4%25B8%258B%25E4%25B8%2580%25E6%25AC%25A1%25E7%259A%2584%25E6%259B%25B4%25E6%2596%25B0%25E6%258B%2586%25E6%2588%259028%25E4%25B8%25AA%25E5%25B0%258F%25E7%2589%2588%25E6%259C%25AC%25E5%25B0%25B1%25E8%25A1%258C%25E4%25BA%2586%255Bdoge%255D%26nickname%3D%25E6%2599%25BA%25E5%2595%2586%25E5%25B7%25B2%25E…",
              "restrictOperate": 0,
              "restrict_state": 0,
              "rid": "0_0_0_164215643652145150_0_0_0",
              "rootid": 5350555695188006,
              "rootidstr": "5350555695188006",
              "shouldShowColon": 0,
              "source": "来自 天津",

示例

选择一个示例,将其输入和结果加载到 playground 中。

API README

Weibo Post Comments API

Returns the first-level comments on a Weibo post, with comment text, author, time, like count and reply count. It needs the Weibo post id. Results come in pages that you walk through with the max_id cursor.

Use cases

  • Read the most recent reactions to a brand post on Weibo.
  • Rank comments by like_counts to find the most supported opinions on a post.
  • Export comment text and author follower counts for sentiment analysis.
  • Find comments with replies and fetch those replies in a second call.

Request

curl -X POST "https://api.sandbase.ai/v1/api/weibo/web-v2/post-comments" \
  -H "Authorization: Bearer $SANDBASE_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{"id": "5350554563773695"}'

The result is returned in outputs[0].data.

Parameters

NameTypeRequiredDescription
idstringYesWeibo post ID (required)
countintegerNoNumber of comments (default 10)
max_idstringNoPagination cursor, pass empty for first request, use returned max_id for subsequent requests

Example response

Real response for the request above, trimmed: lists keep their first item and long strings are cut.

{
  "data": [
    {
      "allow_follow": false,
      "analysis_extra": "author_uid:1727858283|mid:5350554563773695|rid:162412728022526544",
      "biz_mark_type": 0,
      "cmt_ext": "level_type:1",
      "comment_bubble": {
        "end_color": "#1AFEAD3A",
        "end_color_dark": "#33FEAD3A",
        "icon_url": "https://h5.sinaimg.cn/upload/100/1720/2023/06/14/commentbubble_jin_FEAD3A.png",
        "id": "jin_0001",
        "name": "金粉专属",
        "obtain_type": 3,
        "start_color": "#00FEAD3A",
        "start_color_dark": "#00FEAD3A"
      },
      "comments": [
        {
          "allow_follow": false,
          "analysis_extra": "author_uid:1727858283|mid:5350554563773695|rid:162412728022526544",
          "biz_mark_type": 0,
          "blogger_icons": [
            {
              "actionlog": {
                "act_code": "3671",
                "ext": "status:author"
              },
              "length": "1.33",
              "name": "blogger",
              "url": "https://h5.sinaimg.cn/upload/116/1347/2020/12/15/bozhu.png"
            }
          ],
          "cmt_ext": "level_type:2",
          "created_at": "Mon Oct 05 07:49:58 +0800 2026",
          "degrade_type": "normal",
          "disable_reply": 0
        }
      ],
      "created_at": "Mon Oct 05 07:09:09 +0800 2026",
      "degrade_type": "normal",
      "disable_reply": 0,
      "floor_number": 2,
      "id": 5350555695188006,
      "idstr": "5350555695188006"
    }
  ],
  "filter_group": [
    {
      "isDefault": 1,
      "param": "flow=0",
      "scheme": "",
      "title": "按热度"
    }
  ],
  "max_id": 138895166347417,
  "ok": 1,
  "rootComment": [],
  "tip_msg": "",
  "total_number": 36,
  "trendsText": "已加载全部评论"
}

Response fields

FieldMeaning
data[].text_rawPlain text of the comment. Emoji appear as bracket tags such as [打call]. The text field holds the same comment as HTML with image tags.
data[].id / data[].idstrID of the comment, as a number and as a string. Use the string form to avoid number precision loss.
data[].created_atTime the comment was posted, in a format like Mon Oct 05 07:09:09 +0800 2026.
data[].like_countsNumber of likes on the comment.
data[].total_numberNumber of replies to this comment. The data[].comments[] list holds a few of those replies, and data[].more_info.text shows a label such as 共3条回复.
data[].sourceLocation label shown with the comment, for example 来自 上海.
data[].user.followers_countFollower count of the commenter. data[].user.description holds the commenter's profile bio and data[].user.avatar_large holds the avatar URL.
data[].floor_numberFloor position of the comment in the thread.
max_idCursor for the next page. Pass it as max_id in the next request.
total_numberTotal comment count reported for the post. trendsText holds a status message such as 已加载全部评论.

Notes

  • Leave max_id empty on the first call. For later pages, pass the top-level max_id from the previous response.
  • count sets how many comments to return per page and defaults to 10.
  • The filter_group list shows two sort modes, flow=0 (by heat, the default) and flow=1 (by time).
  • To read all replies under a comment, call Weibo Post Sub-Comments. For the post itself, use Weibo Post Detail.

Pricing

$0.001 per successful call. Failed calls are not charged. It is included in the daily free quota of each organization.

探索更多

相关 APIs

全部 APIs
API价格响应
Weibo$0.001 每次调用JSON
Weibo$0.001 每次调用JSON
Weibo$0.001 每次调用JSON
Weibo$0.001 每次调用JSON
Weibo$0.001 每次调用JSON
Weibo$0.001 每次调用JSON

指南:Best Weibo API in 2026: Pricing Compared

问题

常见问题

如何使用 Weibo Post Comments API?

向 https://api.sandbase.ai/v1/api/weibo/web-v2/post-comments 发送 POST 请求,在 Authorization 请求头中使用您的 SandBase API key(Bearer),并将参数作为 JSON 请求体传入。您也可以直接在本页的 Playground 中试用,无需编写代码。

Weibo Post Comments API 的价格是多少?

每次调用 $0.001。每个组织在每个 UTC 日可获得 100 次免费调用,适用于包括此接口在内的所有符合条件的 SandBase APIs;超过后,每次调用将按此价格从您的 SandBase 余额中扣费。无需订阅。

Weibo Post Comments API 接受哪些参数?

必填:id (string)。 可选:count (integer) 和 max_id (string)。 Parameters 表和本页的 Playground 列出了每个字段。

Weibo Post Comments API 返回什么?

在同一个 HTTP 请求中返回的 JSON 响应(同步)。 本页的 README 包含一个示例响应。

我需要 Weibo 开发者账户或 API key 吗?

不需要。Weibo Post Comments 通过 SandBase 运行,因此一个 SandBase API key 即可覆盖此端点以及目录中的其他所有 API 和模型。您无需单独申请 Weibo API 访问权限。