Skip to main content
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>'
{
  "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"
}
πŸͺ™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

Authorization
string
header
required

API key for authentication. Format: sk_live_xxxxxxxxxxxxx Get your API key from the Dashboard.

Query Parameters

seller_id
string
required

Shop ID

seller_video_sort_field
integer

List sorting enumeration.1=total_views_cnt 2=total_video_sale_cnt 3=total_video_sale_gmv_amt

sort_type
integer

Sort order. 0=asc 1=desc

page_num
integer
required

Page numbers start from 1 and go up to a maximum of 100,000.

page_size
integer
required

The maximum number of pages is 10.

Response

Success

code
integer
required
message
string
required
data
object[]
required
requestId
string
required