curl --request GET \
--url 'https://api.keyapi.ai/v1/tiktok/product/livestreams/analytics' \
--header 'Authorization: Bearer <YOUR_API_KEY>'{
"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"
}Retrieve the list of TikTok livestreams in which a specific product was promoted, including viewer counts and GMV data.
curl --request GET \
--url 'https://api.keyapi.ai/v1/tiktok/product/livestreams/analytics' \
--header 'Authorization: Bearer <YOUR_API_KEY>'{
"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"
}π€ 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.
Product unique ID
List sorting enumeration.1=max_views_cnt 2=total_product_cnt 3=total_sale_cnt 4=total_sale_gmv_amt 5=total_views_cnt
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.