Bilibili Fetch Dynamic Comments

2.07 credits/call
ae_bilibili_fetch_dynamic_comments

### Purpose: - Get comments on image and text dynamics. ### Parameters: - Provide exactly one of dynamic_id and oid. - dynamic_id: ID from the dynamic URL; identifies the comment section and type automatically. - oid: Comment-section ID from data.data.item.basic.rid_str (comment_id_str in older responses); not the dynamic ID. - comment_type: Only with oid; 11 for image posts (default), 17 for text. Omit when using dynamic_id. - mode: 3 for hot, 2 for time. - pagination_str: Leave empty for page one; then pass {"offset":"previous next_offset value"}. ### Response and pagination: - data.data.replies: Comments; data.data.top_replies: Pinned comments. - data.data.cursor.pagination_reply.next_offset: Use this string unchanged as the next offset. - Stop pagination when data.data.cursor.is_end is true. # [示例/Example] dynamic_id = "DYNAMIC_ID" mode = 3 pagination_str = "" AE input example: {"mode":3,"dynamic_id":"1172584638000922630"}

SocialSearchResearch
2.07 credits/call

Pricing

2.07 credits/call
ConditionCharge
Each call2.07 credits/call

Parameters

Optional parameters use the platform defaults when omitted.

ParameterTypeRequiredDescriptionDefault
oidstring | nullNo评论区ID,与dynamic_id二选一/Comment-section ID; provide either oid or dynamic_id—
modeintegerNo排序:3热门,2时间/Sort: 3 hot, 2 time3
dynamic_idstring | nullNo动态ID,与oid二选一/Dynamic ID; provide either dynamic_id or oid—
comment_typeinteger | nullNo仅配合oid使用,默认11(图文)/Only with oid; defaults to 11 (image posts)—
pagination_strstringNo翻页JSON,首页留空/Pagination JSON; leave empty for the first page""

Invocation example

Copy the request and explore its response example.

POST/agent-api/v1/tool/executeX-Api-Key
Request coderequest.sh
curl --request POST \
  --url 'https://agentearth.ai/agent-api/v1/tool/execute?tool_name=ae_bilibili_fetch_dynamic_comments' \
  --header "X-Api-Key: $AGENTEARTH_API_KEY" \
  --header 'Content-Type: application/json' \
  --data-raw '{
  "params": {
    "dynamic_id": "1172584638000922630",
    "mode": 3
  }
}'
Response exampleresponse.json
JSONPartial content
{
  "detail": {
    "code": 400,
    "docs": "https://api.tikhub.io/#/Bilibili-Web-API/fetch_dynamic_comments_api_v1_bilibili_web_fetch_dynamic_comments_get",
    "headers": {},
    "message": "Request failed. Please retry. Check the docs below to verify your parameters, test with the default demo parameters, and send the response JSON to support. You won't be charged for this request.",
    "message_zh": "请求失败,请重试。请查看下方文档核对参数,使用默认演示参数测试,并将响应 JSON 提交给支持团队。本次请求不会被扣费。",
    "params": {
      "dynamic_id": "1172584638000922630",
      "mode": "3",
      "pagination_str": ""
    }
  }
}

This example shows part of the response. Copied content is valid JSON.