cURL
curl --request GET \
--url 'https://api.keyapi.ai/v1/tiktok/shop/videos/analytics' \
--header 'Authorization: Bearer <YOUR_API_KEY>'import requests
response = requests.get(
'https://api.keyapi.ai/v1/tiktok/shop/videos/analytics',
params={},
headers={'Authorization': 'Bearer <YOUR_API_KEY>'}
)
print(response.json())const response = await fetch('https://api.keyapi.ai/v1/tiktok/shop/videos/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/videos/analytics")
.header("Authorization", "Bearer <token>")
.asString();{
"code": 0,
"message": "success",
"data": [
{
"avatar": "https://echosell-images.tos-ap-southeast-1.volces.com/user-avatar/142/MS4wLjABAAAANnhQi-pdpjncvX1TwhqBbYlgLKUHQ9eEfS09NGLcOhEF5H18x-Sjj_-tK1_tYBZw.jpg",
"create_time": "1662218112",
"nick_name": "beautycouture",
"reflow_cover": "https://echosell-images.tos-ap-southeast-1.volces.com/video-cover/624/7139172409529142554.jpg",
"region": "MY",
"seller_id": "7494662098975951181",
"total_comments_cnt": 0,
"total_digg_cnt": 37,
"total_shares_cnt": 0,
"total_video_sale_cnt": 0,
"total_video_sale_gmv_amt": 0,
"total_views_cnt": 1271,
"user_id": "7122779249316054043",
"video_desc": "recreating pinterest outfits 🔖 ft. tiktok shop (tap the yellow bag to get all the fits) #modestoutfits #fashioninspo2022 #foryou #pinterestoutfitideas #fyp ",
"video_id": "7139172409529142554"
}
],
"requestId": "b092263d-db5d-40d4-859e-4f28306efd72"
}{
"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 Shop
Shop Videos -EchoTik
Retrieve the list of TikTok videos promoting products from a specific shop, with view counts, engagement data, and sales conversion metrics.
GET
/
v1
/
tiktok
/
shop
/
videos
/
analytics
cURL
curl --request GET \
--url 'https://api.keyapi.ai/v1/tiktok/shop/videos/analytics' \
--header 'Authorization: Bearer <YOUR_API_KEY>'import requests
response = requests.get(
'https://api.keyapi.ai/v1/tiktok/shop/videos/analytics',
params={},
headers={'Authorization': 'Bearer <YOUR_API_KEY>'}
)
print(response.json())const response = await fetch('https://api.keyapi.ai/v1/tiktok/shop/videos/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/videos/analytics")
.header("Authorization", "Bearer <token>")
.asString();{
"code": 0,
"message": "success",
"data": [
{
"avatar": "https://echosell-images.tos-ap-southeast-1.volces.com/user-avatar/142/MS4wLjABAAAANnhQi-pdpjncvX1TwhqBbYlgLKUHQ9eEfS09NGLcOhEF5H18x-Sjj_-tK1_tYBZw.jpg",
"create_time": "1662218112",
"nick_name": "beautycouture",
"reflow_cover": "https://echosell-images.tos-ap-southeast-1.volces.com/video-cover/624/7139172409529142554.jpg",
"region": "MY",
"seller_id": "7494662098975951181",
"total_comments_cnt": 0,
"total_digg_cnt": 37,
"total_shares_cnt": 0,
"total_video_sale_cnt": 0,
"total_video_sale_gmv_amt": 0,
"total_views_cnt": 1271,
"user_id": "7122779249316054043",
"video_desc": "recreating pinterest outfits 🔖 ft. tiktok shop (tap the yellow bag to get all the fits) #modestoutfits #fashioninspo2022 #foryou #pinterestoutfitideas #fyp ",
"video_id": "7139172409529142554"
}
],
"requestId": "b092263d-db5d-40d4-859e-4f28306efd72"
}{
"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 creditper request
Copy for AI
🤖 Why Code When AI Can Do It For You?
Stop writing code like it’s 1970! Let AI do the heavy lifting - click the sparkles to copy a perfectly formatted prompt for ChatGPT, Claude, or your favorite AI assistant.
Authorizations
Query Parameters
Shop ID
List sorting enumeration.1=total_views_cnt 2=total_video_sale_cnt 3=total_video_sale_gmv_amt
Sort order. 0=asc 1=desc
Page numbers start from 1 and go up to a maximum of 100,000.
The maximum number of pages is 10.

