Video Comments

Retrieves comments for a Bilibili video identified by AID, with optional cursor pagination. Use it to review audience discussion, continue through comment pages, or support comment moderation and analysis.

Endpoint ID
GET /v1/bilibili/get_video_comment_v2
Endpoint ID
bilibili.get_video_comment_v2
Price
$0.02 per successful call · failed calls are free

Parameters

Name Required Type Description Example Allowed values
aid Required string Bilibili Archive ID (AID). 170001 —
cursor Optional string Pagination cursor. — —

Code samples

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

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.

Sign in to try

Example response

Captured 2026-11-07, took 1251 ms · Request parameters {"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"
      }
    }
  }
}