cURL
curl --request GET \
--url 'https://api.keyapi.ai/v1/tiktok/product/livestreams/analytics' \
--header 'Authorization: Bearer <YOUR_API_KEY>'import requests
response = requests.get(
'https://api.keyapi.ai/v1/tiktok/product/livestreams/analytics',
params={},
headers={'Authorization': 'Bearer <YOUR_API_KEY>'}
)
print(response.json())const response = await fetch('https://api.keyapi.ai/v1/tiktok/product/livestreams/analytics',
{
method: 'GET',
headers: { 'Authorization': 'Bearer <YOUR_API_KEY>' }
}
);
const data = await response.json();
console.log(data);HttpResponse<String> response = Unirest.get("https://api.keyapi.ai/v1/tiktok/product/livestreams/analytics")
.header("Authorization", "Bearer <token>")
.asString();{
"code": 0,
"message": "success",
"data": [
{
"category_id": "601450",
"cover_url": "https://p16-oec-sg.ibyteimg.com/tos-alisg-i-aphluv4xwc-sg/2dc4fa579f5d4ea7b7d7b79f1df72dfe~tplv-aphluv4xwc-resize-webp:800:800.webp?from=3429627512",
"create_time": 1708707773,
"max_views_cnt": 0,
"product_id": "1729382310407603945",
"region": "ID",
"room_id": "7338843929776622341",
"spu_avg_price": 4.23,
"total_product_cnt": 54,
"total_sale_cnt": 0,
"total_sale_gmv_amt": 0,
"total_views_cnt": 50194,
"user_id": "6649568052278132738"
}
],
"requestId": "4a861e27-9962-4032-b82c-ee953efc0c53"
}{
"code": 400,
"data": null,
"message": "Missing required parameter: handle"
}{
"code": 401,
"data": null,
"message": "apiKey is null"
}{
"code": 402,
"data": null,
"message": "apiKey quota is not enough"
}{
"code": 429,
"data": null,
"message": "qps limit exceeded"
}{
"code": 500,
"data": null,
"message": "Internal server error"
}TikTok 店铺
商品关联直播列表-EchoTik
通过商品product_id获取该商品关联的带货直播列表数据。
GET
/
v1
/
tiktok
/
product
/
livestreams
/
analytics
cURL
curl --request GET \
--url 'https://api.keyapi.ai/v1/tiktok/product/livestreams/analytics' \
--header 'Authorization: Bearer <YOUR_API_KEY>'import requests
response = requests.get(
'https://api.keyapi.ai/v1/tiktok/product/livestreams/analytics',
params={},
headers={'Authorization': 'Bearer <YOUR_API_KEY>'}
)
print(response.json())const response = await fetch('https://api.keyapi.ai/v1/tiktok/product/livestreams/analytics',
{
method: 'GET',
headers: { 'Authorization': 'Bearer <YOUR_API_KEY>' }
}
);
const data = await response.json();
console.log(data);HttpResponse<String> response = Unirest.get("https://api.keyapi.ai/v1/tiktok/product/livestreams/analytics")
.header("Authorization", "Bearer <token>")
.asString();{
"code": 0,
"message": "success",
"data": [
{
"category_id": "601450",
"cover_url": "https://p16-oec-sg.ibyteimg.com/tos-alisg-i-aphluv4xwc-sg/2dc4fa579f5d4ea7b7d7b79f1df72dfe~tplv-aphluv4xwc-resize-webp:800:800.webp?from=3429627512",
"create_time": 1708707773,
"max_views_cnt": 0,
"product_id": "1729382310407603945",
"region": "ID",
"room_id": "7338843929776622341",
"spu_avg_price": 4.23,
"total_product_cnt": 54,
"total_sale_cnt": 0,
"total_sale_gmv_amt": 0,
"total_views_cnt": 50194,
"user_id": "6649568052278132738"
}
],
"requestId": "4a861e27-9962-4032-b82c-ee953efc0c53"
}{
"code": 400,
"data": null,
"message": "Missing required parameter: handle"
}{
"code": 401,
"data": null,
"message": "apiKey is null"
}{
"code": 402,
"data": null,
"message": "apiKey quota is not enough"
}{
"code": 429,
"data": null,
"message": "qps limit exceeded"
}{
"code": 500,
"data": null,
"message": "Internal server error"
}🪙1 credit每次请求
Copy for AI
🤖 让 AI 帮你写调用代码
点击按钮复制一段结构化提示词,可直接交给 ChatGPT、Claude 或其他 AI 助手生成接口调用代码。
授权
查询参数
商品唯一 ID。
列表排序字段,1=max_views_cnt,2=total_product_cnt,3=total_sale_cnt,4=total_sale_gmv_amt,5=total_views_cnt。
排序方向,0=升序,1=降序。
页码,从 1 开始,最大支持 100000。
每页返回数量,最大值为 10。

