视频评论

检索由AID标识的哔哩哔哩视频的评论,支持可选的游标分页。用于查看受众讨论、继续翻阅评论页或支持评论审核和分析。

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

参数

参数 必填 类型 说明 示例 可选值
aid 必填 string 哔哩哔哩归档ID (AID)。 170001 —
cursor 可选 string 分页游标。 — —

代码示例

curl -G "https://api.mofa-ai.com/v1/bilibili/get_video_comment_v2" \
  -H "Authorization: Bearer $MOFA_API_KEY" \
  --data-urlencode 'aid=170001'

在线试用

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

登录后试用

响应示例

采集于 2026-11-07,耗时 1251 ms · 请求参数 {"aid": "170001"}

JSON
{
  "success": true,
  "code": 0,
  "message": "success",
  "request_id": "req_5f1c2a9be04d7c3a81f6e2d0",
  "endpoint": "bilibili.get_video_comment_v2",
  "cost_usd": 0.02,
  "data": {
    "code": 0,
    "data": {
      "ttl": 1,
      "code": 0,
      "data": {
        "top": {
          "vote": null,
          "admin": null,
          "upper": null
        },
        "note": 1,
        "vote": 0,
        "upper": {
          "mid": 122541
        },
        "assist": 0,
        "config": {
          "read_only": false,
          "showtopic": 1,
          "show_up_flag": true
        },
        "cursor": {
          "mode": 2,
          "name": "最新评论",
          "next": 160683,
          "prev": 0,
          "is_end": false,
          "is_begin": true,
          "all_count": 184303,
          "mode_text": "",
          "session_id": "",
          "support_mode": [
            2,
            "… +1"
          ],
          "pagination_reply": {
            "next_offset": "CAESEDE4MzcxNTQxODQwOTkwMDMaCAoGoIzaoLQJMgQIq+cJ"
          }
        },
        "control": {
          "bg_text": "",
          "show_text": "",
          "show_type": 1,
          "empty_page": null,
          "input_disable": false,
          "web_selection": false,
          "enable_charged": false,
          "root_input_text": "宫廷玉液酒,评论走一走",
          "child_input_text": "宫廷玉液酒,评论走一走",
          "answer_guide_text": "需要升级成为lv2会员后才可以评论,先去答题转正吧!",
          "giveup_input_text": "不发没关系,请继续友善哦~",
          "preload_resources": null,
          "disable_jump_emote": false,
          "answer_guide_ios_url": "https://www.bilibili.com/h5/newbie/entry?navhide=1&re_src=12",
          "enable_cm_biz_helper": false,
          "answer_guide_icon_url": "http://i0.hdslb.com/bfs/emote/96940d16602cacbbac796245b7bb99…",
          "screenshot_icon_state": 1,
          "answer_guide_android_url": "https://www.bilibili.com/h5/newbie/entry?navhide=1&re_src=6",
          "upload_picture_icon_state": 1
        },
        "effects": {
          "preloading": ""
        },
        "replies": [
          {
            "mid": 437154814,
            "oid": 170001,
            "…": "+14",
            "attr": 0,
            "like": 0,
            "root": 0,
            "rpid": 323245791904,
            "type": 1,
            "count": 1,
            "ctime": 1794054829,
            "state": 0,
            "dialog": 0,
            "parent": 0,
            "rcount": 1,
            "mid_str": "437154814",
            "oid_str": "170001",
            "root_str": "0",
            "rpid_str": "323245791904",
            "fansgrade": 0,
            "dialog_str": "0",
            "parent_str": "0"
          },
          "… +18"
        ],
        "blacklist": 0,
        "callbacks": {},
        "top_replies": []
      },
      "message": "OK"
    },
    "message": null,
    "requestId": "de9a8d5788e84d03a37d86f1a8bfa63f",
    "recordTime": "2026-11-08T07:58:03.226625203",
    "requestParams": {
      "body": null,
      "query": {
        "aid": "170001"
      }
    }
  }
}