TikTok Fetch Tag Post
2.07积分/次
ae_tiktok_fetch_tag_post
# 按标签获取作品 使用此工具列出与指定标签相关的作品。 ### 输入参数 - `challengeID`(必填,字符串):标签 ID。 - `count`(可选,整数,默认值 `30`):每页返回的作品数量。 - `cursor`(可选,整数,默认值 `0`):翻页游标。 ### 返回结果 返回匹配的标签作品数据(如有),以及请求元数据。 ### 视频链接说明 返回数据中的部分视频 CDN 直链可能需要使用返回的 `tt_chain_token` 作为 Cookie: `Cookie: tt_chain_token={tt_chain_token}` 如果该链接仍返回 HTTP 403,请改用返回结果中以 `https://www.tiktok.com/aweme/v1/play/` 开头的视频链接,并且不要携带上述 Cookie。不同视频链接的访问要求可能不同。
2.07积分/次
价格说明
2.07积分/次
| 条件 | 费用 |
|---|---|
| 每次调用 | 2.07积分/次 |
2.07积分/次 按查询次数计费。查询成功但未返回结果时,也会扣除积分。
工具参数
未传入的可选参数将使用平台默认值。
| 参数 | 类型 | 必填 | 说明 | 默认值 |
|---|---|---|---|---|
count | integer | 否 | 每页数量/Number per page | 30 |
cursor | integer | 否 | 翻页游标/Page cursor | 0 |
challengeID | string | 是 | Tag ID | — |
调用示例
复制请求代码,查看对应的返回示例。
POST
/agent-api/v1/tool/executeX-Api-Key请求代码request.sh
curl --request POST \
--url 'https://agentearth.ai/agent-api/v1/tool/execute?tool_name=ae_tiktok_fetch_tag_post' \
--header "X-Api-Key: $AGENTEARTH_API_KEY" \
--header 'Content-Type: application/json' \
--data-raw '{
"params": {
"challengeID": "72327229",
"count": 30,
"cursor": 120
}
}'返回示例response.json
{
"code": 200,
"data": {
"cursor": "150",
"extra": {
"logid": "2026110907450434B67986C930970098E9",
"now": 1794210305000
},
"hasMore": true,
"itemList": [
{
"CategoryType": 112,
"IsHDBitrate": false,
"ShowAIGC": true,
"author": {
"avatarLarger": "https://p16-common-sign.tiktokcdn-us.com/tos-maliva-avt-0068/4e690f8641b36ee4417963b06db36da0~tplv-tiktokx-cropcenter:1080:1080.jpeg?dr=9640&refresh_token=8f98f54d&x-expires=1794380400&x-signature=EptUKE7gQ5vuNa5zCdjtM21oaGU%3D&t=4d5b0474&ps=13740610&shp=a",
"avatarMedium": "https://p16-common-sign.tiktokcdn-us.com/tos-maliva-avt-0068/4e690f8641b36ee4417963b06db36da0~tplv-tiktokx-cropcenter:720:720.jpeg?dr=9640&refresh_token=e4498af6&x-expires=1794380400&x-signature=X2I0CWHydCs5T1Cfgc03AecF2io%3D&t=4d5b0474&ps=13740610&shp=a5d",
"avatarThumb": "https://p16-common-sign.tiktokcdn-us.com/tos-maliva-avt-0068/4e690f8641b36ee4417963b06db36da0~tplv-tiktokx-cropcenter:100:100.jpeg?dr=9640&refresh_token=a8574a67&x-expires=1794380400&x-signature=76vdLbxvRhhK5gwhh72ifk61EkM%3D&t=4d5b0474&ps=13740610&shp=a5d",
"commentSetting": 0,
"downloadSetting": 0,
"id": "7593845635101590530"
},
"authorStats": {
"diggCount": 591,
"followerCount": 2157,
"followingCount": 22,
"friendCount": 0,
"heart": 38200,
"heartCount": 38200
},
"authorStatsV2": {
"diggCount": "591",
"followerCount": "2157",
"followingCount": "22",
"friendCount": "0",
"heart": "38200",
"heartCount": "38200"
}
}
]
},
"docs": "https://api.tikhub.io/#/TikTok-Web-API/fetch_tag_post_api_v1_tiktok_web_fetch_tag_post_get",
"message": "Request successful. This request will incur a charge."
}返回示例仅展示部分内容,不代表完整响应;复制内容为合法 JSON。

