Social media4 min readBy Purrkey teamUpdated

How to fetch replies to a Bilibili comment by reply ID

Get replies to a specified Bilibili comment by BV ID and reply ID

On this page

You have three Bilibili videos and one selected comment under each, and you need the replies beneath those comments before deciding which threads to inspect by hand. Use tikhub.bilibili.web.fetch_comment_reply once for each BV ID and reply ID pair, then turn the returned JSON into a review table

The worksheet has one row per returned reply. Values here are placeholders showing the shape, not results from a run

rpidmember.unamecontent.messagelikecountctimedata.page.countmanual_follow_up
(reply id)(name)(text)(number)(number)(timestamp)(number)yes or no

Run one sheet per video, or add a bv_id column if you keep the three videos in one sheet

Example input and fields to send

Example input for one of the three videos:

BV IDSelected rpidpn
BV1ByW96LEKm3237061360961

Replace these with the BV ID from the video URL and the rpid from the comment record you selected. The tool is tikhub.bilibili.web.fetch_comment_reply, called through POST /v1/runs with toolId tikhub.bilibili.web.fetch_comment_reply

The contract lists query.bv_id and query.rpid as required strings, plus query.pn as an optional integer with default 1. The input is wrapped in a query object. For the parent comment list that gives you the rpid, see How to fetch Bilibili video comments

Call once per selected comment

Call the tool with one BV ID and one rpid. The price note says the per-call price is fixed at $0.001 and that successful empty results are charged, so a page with no replies still costs $0.001. Set pn to 1 for the first call and move to another page only when your review needs it

Read the fields that drive the decision

The output is the supplier's raw JSON with no fixed schema. Field names under output in the contract were observed on one run, so read the field names from the first page before mapping later pages

data.replies is the array to loop over. Each reply item carries rpid, member.uname, content.message, like, count and ctime. The page object carries data.page.num, data.page.size and data.page.count

What one real call returned

One call was made on 2026-11-13. Input sent: {"query": {"bv_id": "BV1ByW96LEKm", "rpid": "323706136096", "pn": 1}}. Billing: status SETTLED, charged 0.001 USD against a ceiling of 0.001 USD. Top-level keys of data: page, root, upper, config, control, replies. data.replies is an array with 12 items. First item keys: mid, oid, attr, like, root, rpid, type, count, ctime, state, action, assist, dialog, folder, member, parent, rcount, content, mid_str, oid_str, replies, root_str, rpid_str, fansgrade, invisible

The agent prompt

Agent prompt
Set up https://purrkey.app/SKILL.md, then use Purrkey to fetch replies under three selected Bilibili comments, one per video. Check the current inputs and price of tikhub.bilibili.web.fetch_comment_reply before running anything. Call the tool once for each BV ID and reply ID pair with pn 1. Read the field names from the first page before mapping later pages. Return a table with rpid, member.uname, content.message, like, count, ctime, data.page.count and manual_follow_up. Leave manual_follow_up blank when you cannot decide. Do not post, like or reply.

Example row 1: bv_id BV1ByW96LEKm, rpid 323706136096, pn 1
Example row 2: bv_id YOUR_SECOND_BV_ID, rpid YOUR_SECOND_COMMENT_RPID, pn 1
Example row 3: bv_id YOUR_THIRD_BV_ID, rpid YOUR_THIRD_COMMENT_RPID, pn 1

Keep the first run to the three selected comments so you can inspect the returned table before expanding the list

Estimated tool cost

Prices read through inspect on November 13, 2026. The price note lists $0.001 per call. The catalog row uses unit call, not max_call; where max_call appears on a Purrkey row it means "Maximum per call. Successful runs settle at the actual AnyAPI charge." Both rows below are ceilings. Model fees for the agent are not counted

StepFormulaUnit pricePlanned quantityTotal
One comment thread1 call x $0.001$0.001 per call1 call$0.001
Twenty comment threads20 calls x $0.001$0.001 per call20 calls$0.020

For the three-video job in this guide, 3 calls are at most $0.003. If you later check twenty comment threads, the plan is at most $0.020

Fetch the next comment thread

Open the Bilibili reply fetch tool with your first BV ID and reply ID

Get started by giving this to your agent

  • Claude Code
  • Codex
  • Gemini CLI
  • Cursor
  • GitHub Copilot
Set up https://purrkey.app/SKILL.md, then use Purrkey to show me what I can do with Bilibili.
Explore Bilibili tools and pricing

FAQ

How do I fetch replies to a Bilibili comment by reply ID?

Use tikhub.bilibili.web.fetch_comment_reply with query.bv_id, query.rpid and optional query.pn; the article describes building a table from data.replies.

What inputs does tikhub.bilibili.web.fetch_comment_reply take?

The contract lists query.bv_id and query.rpid as required strings, plus query.pn as an optional integer with default 1.

What fields should I read from the reply output?

data.replies contains items with rpid, member.uname, content.message, like, count and ctime; record data.page.count with each row and set manual_follow_up.

How much does it cost to fetch one comment thread?

The price note lists $0.001 per call. One comment thread uses 1 call, so the ceiling is $0.001; successful empty results are charged.

Is an empty reply page charged?

Yes. The price note says successful empty results are charged, and the fixed per-call price is $0.001.

What did the one real call return?

On 2026-11-13 the call with bv_id BV1ByW96LEKm, rpid 323706136096 and pn 1 settled at 0.001 USD against a ceiling of 0.001 USD; data had top-level keys page, root, upper, config, control and replies, with 12 items in data.replies.

Does the output have a fixed schema?

No. The output is the supplier's raw JSON with no fixed schema; field names under output were observed on one run, so the agent should read field names from the first page.

Next step

Try this with Bilibili

The tool directory lists every endpoint with its current price. Inspect the inputs there, then let your agent run a small batch before scaling up.

See Bilibili tools

Share this article