Baidu Tieba Get Comment Replies
Read nested replies under a specific first-level comment in a Baidu Tieba thread. Supply request_body with both thread_id and comment_id, each a positive decimal ID string; they are both required, not either/or inputs. comment_id must come from a first-level comment's comment_id or a reply's parent_comment_id, not a nested reply's own comment_id. To retrieve first-level comments, use the separate comment-list interface. For the first page, omit page_token or leave it empty. Continue by passing the previous next_page_token unchanged, keeping thread_id and comment_id unchanged; an empty next_page_token means there are no more results. Do not reuse tokens from searches, first-level comments, or other comment floors. Replies follow Tieba's returned order; this interface exposes no sorting, page-number, or page-size option. Each item contains the reply ID, parent first-level comment ID, plain-text content, author ID/name/avatar/profile URL, publication time in Unix seconds, like count, author IP location, and recognized mentioned users. Emoji appear as [表情]. Anonymous authors have empty ID/name/profile URL and a default avatar. IP location may be empty and is not proof of location when the reply was posted; mentioned users are not a reply-to relationship.
Pricing
| Condition | Charge |
|---|---|
| Each call | 28.01 credits/call |
Each call has a fixed charge of 28.01 credits, regardless of the number of replies returned.
Parameters
Optional parameters use the platform defaults when omitted.
| Parameter | Type | Required | Description | Default |
|---|---|---|---|---|
request_body | object | Yes | 请求对象,包含主题帖 ID、一级评论 ID 和可选分页令牌。 | — |
request_body.thread_id | string | Yes | 主题帖数字 ID;使用查询一级评论时的 thread_id,也可取帖子搜索结果的 thread_id。 | — |
request_body.comment_id | string | Yes | 一级评论 ID,取一级评论结果的 comment_id 或本工具结果的 parent_comment_id;不要传楼中楼回复自身的 comment_id。 | — |
request_body.page_token | string | No | 分页令牌;首次留空,续页原样传入上一页 next_page_token,并保持 thread_id 和 comment_id 不变;不要使用搜索、一级评论或其它楼层的令牌。 | "" |
Invocation example
Parameter templateGenerated from the parameter configuration. Replace the sample values before use.
/agent-api/v1/tool/executeX-Api-Keycurl --request POST \
--url 'https://agentearth.ai/agent-api/v1/tool/execute?tool_name=ae_baidu_tieba_get_comment_replies' \
--header "X-Api-Key: $AGENTEARTH_API_KEY" \
--header 'Content-Type: application/json' \
--data-raw '{
"params": {
"request_body": {
"thread_id": "xxx",
"comment_id": "xxx"
}
}
}'No response example available yet.

