cURL
curl --request GET \
--url 'https://api.keyapi.ai/v1/tiktok/shop/trends/analytics' \
--header 'Authorization: Bearer <YOUR_API_KEY>'import requests
response = requests.get(
'https://api.keyapi.ai/v1/tiktok/shop/trends/analytics',
params={},
headers={'Authorization': 'Bearer <YOUR_API_KEY>'}
)
print(response.json())const response = await fetch('https://api.keyapi.ai/v1/tiktok/shop/trends/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/shop/trends/analytics")
.header("Authorization", "Bearer <token>")
.asString();{
"code": 0,
"message": "success",
"data": [
{
"dt": "2025-06-01",
"seller_id": "7495821166040746573",
"total_crawl_product_cnt": 0,
"total_live_cnt": 0,
"total_live_ifl_cnt": 0,
"total_product_cnt": 1,
"total_sale_1d_cnt": 0,
"total_sale_cnt": 0,
"total_sale_gmv_1d_amt": 0,
"total_sale_gmv_amt": 0,
"total_video_cnt": 0,
"total_video_ifl_cnt": 0,
"user_id": ""
}
],
"requestId": "dc670d54-a58d-484c-9b5f-73b2aa324b9f"
}{
"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
通过店铺seller_id,获取店铺历史趋势快照,最多支持过去180天。
GET
/
v1
/
tiktok
/
shop
/
trends
/
analytics
cURL
curl --request GET \
--url 'https://api.keyapi.ai/v1/tiktok/shop/trends/analytics' \
--header 'Authorization: Bearer <YOUR_API_KEY>'import requests
response = requests.get(
'https://api.keyapi.ai/v1/tiktok/shop/trends/analytics',
params={},
headers={'Authorization': 'Bearer <YOUR_API_KEY>'}
)
print(response.json())const response = await fetch('https://api.keyapi.ai/v1/tiktok/shop/trends/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/shop/trends/analytics")
.header("Authorization", "Bearer <token>")
.asString();{
"code": 0,
"message": "success",
"data": [
{
"dt": "2025-06-01",
"seller_id": "7495821166040746573",
"total_crawl_product_cnt": 0,
"total_live_cnt": 0,
"total_live_ifl_cnt": 0,
"total_product_cnt": 1,
"total_sale_1d_cnt": 0,
"total_sale_cnt": 0,
"total_sale_gmv_1d_amt": 0,
"total_sale_gmv_amt": 0,
"total_video_cnt": 0,
"total_video_ifl_cnt": 0,
"user_id": ""
}
],
"requestId": "dc670d54-a58d-484c-9b5f-73b2aa324b9f"
}{
"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。
时间范围筛选,格式为 yyyy-MM-dd。
时间范围筛选,格式为 yyyy-MM-dd。
页码,从 1 开始,最大支持 100000。
每页返回数量,最大值为 10。

