跳到主内容

GET /v1/weibo/comment/post_comments_v1

微博帖子评论 API (V1)

stable · 20 credits / 次(成功才计)

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

注册即送 500 credits,用自己的 Key 试调。 免费注册

请求

curl
curl -s 'https://api.wellbyte.net/v1/weibo/comment/post_comments_v1?mid=demo&sort=TIME&maxId=demo' \
  -H "Authorization: Bearer dg_live_…"

响应

示例采集于 2026-09-23

data{
code:0
data{
ok:1
data[ 2 items ]
max_id:5277493566112993
tip_msg:""
trendsText:"已加载全部评论"
rootComment[ 0 items ]
filter_group[ 2 items ]
total_number:81
}
meta{
endpoint:"weibo.comment.post_comments_v1"
cache_hit:false
elapsed_ms:0
request_id:"req_sample"
credits_charged:0
}
message:"ok"
}

请求历史

打开完整日志

还没有调用记录。先跑通一次,再换成你的数据。

    请求参数

    参数类型位置必填说明示例
    midstringquery是微博帖子 mid。demo
    sortstringquery否结果集的排序顺序。 可用值: - `TIME`: 时间 - `HOT`: 热门TIME
    maxIdstringquery否由先前响应返回的分页游标。demo

    响应字段

    字段字典待补 —— 右侧可执行区可直接看到真实结构。

    错误码

    codeHTTP含义是否计费
    40001400参数缺失或格式错误否
    40102401API Key 无效或已吊销否
    40201402余额不足,请充值否
    40402404目标资源不存在否
    42201422质量门槛未通过否
    42901429超出速率限制否
    50401504上游超时否
    50201502上游返回异常否

    计费

    成功扣 20 credits;任何失败(含返回 200 但未过质量门槛)扣 0。

    全部微博端点 →

    搜索

    搜索端点与文档