Skip to content

Live Stream Rankings - TikTok Live Rankings

Introduction

Retrieve TikTok live stream rankings data, with the following features:

  • Supports filtering parameters
  • Supports custom result sorting

API Endpoint

bash
    POST /live/v1/rank/topLive

Request Body

FieldTypeRequiredDescription
filterobjectNoFilter parameters
orderbyobjectNoSorting parameters
pageintegerNoPage number, default: 1
pagesizeintegerNoItems per page, default: 10

filter Optional Values

FieldTypeRequiredDescription
regionstringNoCountry/Region, e.g., ['US', 'GB', 'MX', 'ES', 'ID', 'VN', 'MY', 'TH', 'PH']
creator_category_idintegerNoCreator category
product_category_idintegerNoProduct category (Level 1)
live_typeintegerNoLive type: 1 (Shop live), 2 (Creator live)

orderby Optional Values

FieldRequiredDescription
start_timeNoStart time (descending)
total_viewer_countNoTotal viewer count (descending)
peak_viewer_countNoPeak viewer count (descending)
total_units_soldNoSales volume (descending)
total_gmvNoRevenue (descending)

Request Example

bash
curl 'https://openapi.test.fastmoss.com/live/v1/rank/topLive?client_id=XXX&timestamp=XXX&access_token=XXX&sign=XXX' \
--header 'Content-Type: application/json' \
{
    "filter": {
        "region": "US",
        "product_category_id": 1,
    },
     "orderby": [
      {
        "field": "start_time",
        "order": "desc",
      }
    ],
    "page": 1,
    "pagesize": 10
}

Response Body

data.total

  • Type: integer
  • Description: Total number of results

data.list

FieldTypeDescription
room_idstringLive room ID
titlestringLive room title
coverstringLive room cover URL
start_timetimestamp[integer]Start time (timestamp)
end_timetimestamp[integer]End time (timestamp)
durationintegerDuration (seconds)
product_countintegerNumber of products listed
total_viewer_countintegerTotal viewer count
total_units_soldintegerLive room sales volume
total_gmvintegerLive room revenue
currencystringCurrency
uv_valueintegerUV value
creatorobjectCreator information

data.list.creator

FieldTypeDescription
uidstringCreator ID
nicknamestringNickname
unique_idstringCreator unique ID
avatarstringAvatar URL
follower_countintegerFollower count
regionstringCountry/Region

Response Example

json
{
    "code":0,
    "msg":"success", 
    "data":{
        "total":152,
        "list":[
                {
                    "uid":"123456",
                    "unique_id":"hello",
                    "nickname":"hello",
                     "follower_count":123,
                     "creator_region":"US",
                     "room_id":"12341234",
                     "title":"welcome",
                     "cover":"cover url",
                     "start_time":123412341,
                     "end_time":1234123412,
                     "duration":12342,
                     "product_count":12,
                     "total_viewer_count":1234,
                     "total_units_sold":123,
                     "total_gmv":1234,
                     "currency":"USD",
                     "uv_value":1234,
                     "creator":{    
                         "uid":"123456",
                         "unique_id":"hello",
                         "nickname":"hello",
                         "follower_count":123,
                         "region":"US",
                         "avatar":"avatar url"
                     }
                }
            ]
        }
}