logo
JP

Bilibili Video Comments

Provide one Bilibili video BV ID or av ID and an expected comment count to receive public comments, user details, engagement, and timestamps

原文 · en-US訳文に戻す

開発者
料金
$0.002 / 20 件から
最終更新
2026-11-06

概要

Bilibili Video Comments turns the public discussion of one specified video into a structured dataset for analysis. Provide a video BV ID or av ID and an expected comment count, then receive comment text, author details, engagement, reply relationships, and timestamps after the asynchronous task completes.

Each record represents one comment returned by the interface. Account extensions, image URL lists, and other extended fields remain in the original JSON text form. Count fields remain in the original text form returned by the interface, and timestamps preserve the interface values. Results are returned 20 comments per page and billed in batches of 20 comments.

Data notes

The data covers public comments that the interface can return for the specified Bilibili video identified by a BV ID or av ID. It includes comment text, author details, avatar, verification, location, engagement counts, comment and video links, reply relationships, and task metadata. Some comments may have no author extensions, location, media, engagement, or OCR values; those fields are empty.

What the results look like

Each record represents one public comment from the selected video:

Comment IDComment textAccount nameVideo IDPublished atLike count
307532404624Public comment text returned by the interfacePublic account nameav1175663578995702026-06-30T20:41:5346

Use cases

  • Analyze audience reactions with Comment text, Published at, Like count, and Reply count.
  • Describe publicly visible participants with Account name, Avatar URL, Verification type, and location fields.
  • Reconstruct reply relationships with Comment ID, Parent comment ID, and Root comment ID.
  • Build traceable content review records with Video ID, Video title, Comment URL, and Collected at.

適用範囲と境界

Collect public comments from one known Bilibili video per run. The video ID may use BV format or av format; the requested count is supplied as input, results are returned 20 comments per page, and billing is in batches of 20 comments. Actual results depend on public availability and task processing.

  • 適している用途
  • When you need public comment details from a specific Bilibili video
  • When you need to analyze comment text, authors, engagement, or reply relationships
  • 適さない用途
  • When you need to discover Bilibili videos by keyword; this App requires a known BV ID or av ID
  • When you need private, deleted, restricted, or login-only comments; this App covers only data returned by the public collection interface

失敗時の処理

開発者が宣言した失敗時と再試行の動作です。連携時にはシステムプロンプトに含めることをおすすめします。

  1. 1If no results are returned, verify the BV ID or av ID, public video access, and whether comments exist
  2. 2Retry later after rate limiting, timeout, or temporary service unavailability
  3. 3For authentication, permission, or task-context errors, check the execution environment credential and configuration before retrying

入力

この App の呼び出しに必要なパラメータで、manifest.json の input.schema から生成されています。

  • Video ID (BV or av format)video_id必須string
    The ID of one Bilibili video whose public comments should be collected. Supports BV IDs such as BV1gbKZ6cE52 and av IDs such as av117566357899570. Enter the ID only, not a URL or search keyword.
    例BV1gbKZ6cE52
  • Expected comment countcomment_count必須integer
    The requested number of comments. Results are returned 20 comments per page and billed in batches of 20; actual results depend on public comments and task processing.
    範囲1–例20

出力

1 件のレコードのフィールド構造で、manifest.json の output.schema から生成されています。

  • Account IDaccount_idstring
    The Bilibili account identifier of the comment author
  • Account nameaccount_namestring
    The author display name shown publicly
  • Raw account informationaccount_raw_textstring
    Raw JSON text containing extended author information
  • Short account IDaccount_short_idstring
    The author short account identifier when available

連携方法

この App は MCP、API、SDK、ファイルエクスポートのいずれでも連携でき、どのチャネルも同じ能力と料金を共有します。すべてのリクエストは Authorization: Bearer ヘッダーで認証し、認証情報には API Key(長期有効。Data Hub コンソールで作成)を使用します。MCP クライアントは OAuth によるキー不要のログインにも対応しています。CLI や Skill など、さらに多くの連携方法も準備中です。 この App は非同期で実行され、途中でキャンセルできます:キャンセル後、実行は停止します。納品済みのレコードは保持され、課金対象になります。

MCP(Model Context Protocol)を使うと、Claude や Cursor などの AI クライアントからこの App を直接呼び出せます。クライアントと認証方式を選び、下の設定をコピーしてください。

クライアント設定

Bearer の後の値を長期有効な API Key に置き換えてください。あらゆるクライアント、CI、ヘッドレス環境で利用できます。

mcpServers config
{
  "mcpServers": {
    "octoparse_datahub": {
      "type": "http",
      "url": "https://mcp-v2.octoparse.com?pin=hello_moto/bilibili-comment",
      "headers": { "Authorization": "Bearer <YOUR_API_KEY>" }
    }
  }
}

AI に設定を任せる

設定を手作業で編集したくない場合は、インストールプロンプトをコピーして任意の AI クライアントに貼り付けてください。AI が自分のやり方でセットアップを完了します(デフォルトではログインを案内し、API Key をチャットに送るよう求めることはありません)。

detail.access.mcp.composeHint

料金

return 20 bilibili comments

正常に返されたレコードの件数に応じて課金されます。失敗した実行には課金されません。 20 件を 1 つの課金単位とし、端数は 20 件に切り上げて課金されます。

$0.002/ 20 件
Per task submitted

返される件数にかかわらず、実行の送信 1 回ごとに課金されます。

$0.0001/ 回

複数の課金イベントはそれぞれ独立して累計されます。詳細は各項目をご覧ください。失敗した実行には課金されません。

Credits を確認

今すぐ試す

パラメータを入力して実行してください。結果は実際の呼び出しによるものです。

サンプル
パラメータは送信前に input.schema で検証されます
$0.002 / 20 件から