curl --request GET \
--url 'https://api.keyapi.ai/v1/tiktok/influencer/livestreams/analytics' \
--header 'Authorization: Bearer <YOUR_API_KEY>'{
"code": 0,
"message": "success",
"data": [
{
"cover_url": "https://echosell-images.tos-ap-southeast-1.volces.com/live-cover/36/7321509771910417194.jpeg",
"create_time": 1704672004,
"duration": 18009,
"finish_time": 1704690013,
"nick_name": "POP MART US SHOP",
"region": "US",
"room_id": "7321509771910417194",
"title": "NEW FREEBIES!!!",
"total_comments_cnt": 0,
"total_digg_cnt": 0,
"total_followers_cnt": 6,
"total_joins_cnt": 7506,
"total_product_cnt": 97,
"total_sale_cnt": 121,
"total_sale_gmv_amt": 2627.73,
"total_views_cnt": 9335,
"user_id": "7288986759428588590"
}
],
"requestId": "ec8e5830-2766-4199-a054-f5e5b8708b91"
}Retrieve historical livestream records for a TikTok influencer, including viewer counts, GMV, and product sales data from past live sessions.
curl --request GET \
--url 'https://api.keyapi.ai/v1/tiktok/influencer/livestreams/analytics' \
--header 'Authorization: Bearer <YOUR_API_KEY>'{
"code": 0,
"message": "success",
"data": [
{
"cover_url": "https://echosell-images.tos-ap-southeast-1.volces.com/live-cover/36/7321509771910417194.jpeg",
"create_time": 1704672004,
"duration": 18009,
"finish_time": 1704690013,
"nick_name": "POP MART US SHOP",
"region": "US",
"room_id": "7321509771910417194",
"title": "NEW FREEBIES!!!",
"total_comments_cnt": 0,
"total_digg_cnt": 0,
"total_followers_cnt": 6,
"total_joins_cnt": 7506,
"total_product_cnt": 97,
"total_sale_cnt": 121,
"total_sale_gmv_amt": 2627.73,
"total_views_cnt": 9335,
"user_id": "7288986759428588590"
}
],
"requestId": "ec8e5830-2766-4199-a054-f5e5b8708b91"
}π€ 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.
Creator user ID (numeric string)
Page numbers start from 1 and go up to a maximum of 100,000.
The maximum number of pages is 10.