TikTok Get Music Chart
2.07积分/次
ae_tiktok_get_music_chart
获取 TikTok 音乐排行榜条目。`scene` 设为 0 表示 Top 50,设为 1 表示 Viral 50。使用 `cursor` 翻页(默认 0),并使用 `count` 设置每页数量(默认 50,最大 50)。响应包含榜单数据,例如歌曲信息和排名变化,以及状态、生成时间等响应元数据。
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_tiktok_get_music_chart' \
--header "X-Api-Key: $AGENTEARTH_API_KEY" \
--header 'Content-Type: application/json' \
--data-raw '{
"params": {}
}'- 请求方式
- 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"
}
}工具参数
未传入的可选参数将使用平台默认值。
| 参数 | 类型 | 必填 | 说明 | 默认值 |
|---|---|---|---|---|
count | integer | 否 | 每页数量/Number per page (max 50) | 50 |
scene | integer | 否 | 排行榜类型/Chart type (0: Top 50, 1: Viral 50) | 0 |
cursor | integer | 否 | 分页游标/Pagination cursor | 0 |

