Weibo Post Sub Comments
2.07积分/次
ae_weibo_post_sub_comments
获取指定微博评论下的回复(子评论),不是获取某条微博的一级评论。 输入: - id(必填,字符串):主评论 ID,不是微博 ID。 - count(可选,整数,默认 10):请求获取的子评论数量。 - max_id(可选,字符串,默认空字符串):分页游标。首次请求使用空字符串,后续请求传入上一次响应返回的 max_id。 返回:子评论数据,包括回复内容、回复者信息、点赞数等,以及用于翻页的 max_id 游标。单条回复的具体字段结构未作详细定义。 示例:id="5283574244704555",count=10,max_id=""。
2.07积分/次
价格说明
2.07积分/次
| 条件 | 费用 |
|---|---|
| 每次调用 | 2.07积分/次 |
每次调用固定收费2.07积分。 按查询次数计费。查询成功但未返回结果时,也会扣除积分。
API 调用
通过统一工具网关发起同步请求,鉴权和计费由 AgentEarth 处理。
cURL
curl --request POST \
--url 'https://agentearth.ai/agent-api/v1/tool/execute?tool_name=ae_weibo_post_sub_comments' \
--header "X-Api-Key: $AGENTEARTH_API_KEY" \
--header 'Content-Type: application/json' \
--data-raw '{
"params": {
"id": "xxx"
}
}'- 请求方式
- POST
- 接口地址
- /agent-api/v1/tool/execute
- 鉴权方式
- X-Api-Key
- 超时时间
- 60 秒
响应示例
{
"error_no": 0,
"error_msg": "",
"result": [
{
"type": "text",
"text": "xxx"
}
],
"platform_annotations": {
"source": "AgentEarth",
"platform_note": "xxx",
"platform_suggestion": "xxx"
}
}工具参数
未传入的可选参数将使用平台默认值。
| 参数 | 类型 | 必填 | 说明 | 默认值 |
|---|---|---|---|---|
id | string | 是 | 主评论ID/Comment ID | — |
count | integer | 否 | 子评论数量/Number of sub-comments | 10 |
max_id | string | 否 | 分页标识/Page identifier | "" |

