Douyin Xingtu Get Item Play Count
4.13积分/次
ae_douyin_xingtu_get_item_play_count
查询单个抖音视频的总播放量及完整详情。 输入参数: - item_id:必填,字符串类型的视频 ID。 - platform_source:可选,整数类型的平台来源,默认 1。 - need_cover_url:可选,布尔值,控制是否返回封面 URL,默认 true。 返回的视频数据: - exist:视频是否存在;视频已删除或 ID 非法时为 false。 - watch_cnt:整数类型的总播放量,无法获取时为 null。 - stats:统计信息,包括点赞、评论、转发、收藏、互动率、人均观看时长等。 - item:视频详情,包括标题、封面、时长、发布时间、作者 ID 等。 注意:watch_cnt 包含投流(广告加热)带来的播放量,不代表纯自然播放量。null 表示播放量不可获取,不能按 0 解读。
4.13积分/次
价格说明
4.13积分/次
| 条件 | 费用 |
|---|---|
| 每次调用 | 4.13积分/次 |
4.13积分/次 按查询次数计费。查询成功但未返回结果时,也会扣除积分。
API 调用
通过统一工具网关发起同步请求,鉴权和计费由 AgentEarth 处理。
cURL
curl --request POST \
--url 'https://agentearth.ai/agent-api/v1/tool/execute?tool_name=ae_douyin_xingtu_get_item_play_count' \
--header "X-Api-Key: $AGENTEARTH_API_KEY" \
--header 'Content-Type: application/json' \
--data-raw '{
"params": {
"item_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"
}
}工具参数
未传入的可选参数将使用平台默认值。
| 参数 | 类型 | 必填 | 说明 | 默认值 |
|---|---|---|---|---|
item_id | string | 是 | 视频(item) ID/Video (item) ID | — |
need_cover_url | boolean | 否 | 是否返回封面URL/Whether to return cover URL | true |
platform_source | integer | 否 | 平台来源/Platform source | 1 |

