TikTok Get Live Room Products
2.07积分/次
ae_tiktok_get_live_room_products
获取指定直播间关联的商品列表。 必填参数: - room_id:直播间标识。 - author_id:主播标识。 可选参数: - page_size:每页返回的商品数量,默认为 15。 - offset:分页偏移量,默认为 0。 - region:请求地区,默认为 US。 - cookie:用户提供的 Cookie;当获取非 US 地区数据需要时使用。 返回指定直播间的商品列表数据及响应元数据。
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_live_room_products' \
--header "X-Api-Key: $AGENTEARTH_API_KEY" \
--header 'Content-Type: application/json' \
--data-raw '{
"params": {
"room_id": "xxx",
"author_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"
}
}工具参数
未传入的可选参数将使用平台默认值。
| 参数 | 类型 | 必填 | 说明 | 默认值 |
|---|---|---|---|---|
cookie | string | 否 | 用户自己的cookie/User's own cookie | "" |
offset | integer | 否 | 数量/Number | 0 |
region | string | 否 | 地区/Region | US |
room_id | string | 是 | 直播间id/Live room id | — |
author_id | string | 是 | 主播id/Anchor id | — |
page_size | integer | 否 | 数量/Number | 15 |

