Skip to content

Get Shop Video Performance List

GET
/analytics/202605/shop_videos/performance

Returns a list of videos and associated metrics for a shop.

shop_cipher
required
string

Identifies the shop. Obtain it from the Get Authorized Shops API.

start_date_ge
required
string format: date

Start date (ISO 8601 YYYY-MM-DD format) in shop registered timezone. In the parameter name, “ge” refers to “greater than or equal to” (inclusive)

The time range between start and end must not exceed 60 days.

end_date_lt
required
string format: date

End date (ISO 8601 YYYY-MM-DD format) in shop registered timezone. In the parameter name, “lt” refers to “less than” (exclusive).

The time range between start and end must not exceed 60 days.

page_size
integer format: int64
>= 1 <= 100

Number of videos per page. Minimum value: 1 Maximum value: 100 Default value: 10

sort_field
string
Allowed values: gmv gpm avg_customers sku_orders items_sold views click_through_rate post_time

Field used to sort the shop video performance list. Default value: gmv Available values:

  • gmv: sort by overall Gross Merchandise Value (GMV).
  • gpm: sort by average GMV generated from 1,000 views.
  • avg_customers: sort by daily average customers.
  • sku_orders: sort by paid SKU orders.
  • items_sold: sort by units sold.
  • views: sort by video views.
  • click_through_rate: sort by the ratio of product clicks to video views.
  • post_time: sort by the time the video was posted.
sort_order
string
Allowed values: ASC DESC

Sort direction. Available values: ASC, DESC Default value: DESC

  • ASC: ascending
  • DESC: descending
currency
string
Allowed values: USD LOCAL

Currently, only local currency is supported in the response.

Available values: USD, LOCAL Default value: LOCAL

  • USD: US dollars
  • LOCAL: local currency where the shop is located
page_token
string

Page token, indicating the current position. Used for requesting next page data. Leave this field empty for first time queries.

account_type
string
Allowed values: ALL OFFICIAL_ACCOUNTS MARKETING_ACCOUNTS AFFILIATE_ACCOUNTS

Types of the accounts under which videos were created. Available values: ALL, OFFICIAL_ACCOUNTS, MARKETING_ACCOUNTS, AFFILIATE_ACCOUNTS Default value: ALL

  • ALL: all account types
  • OFFICIAL_ACCOUNTS: official accounts
  • MARKETING_ACCOUNTS: marketing accounts
  • AFFILIATE_ACCOUNTS: affiliate accounts

Success

Media typeapplication/json
object
code

Status code; 0 means success.

integer format: int64
message

Success or failure message.

string
request_id

Request log ID.

string
data
object
latest_available_date

Latest date in local timezone where data is ready (ISO 8601 format).

string format: date
next_page_token

Page token for the next page request. Pass a nonempty returned token as page_token in the next request and reuse the same start_date_ge, end_date_lt, sort_field, sort_order, currency, account_type, and page_size values. An empty value means there are no more pages.

string
total_count

Total number of videos matching the request filters across all pages.

integer format: int64
videos

List of video performance metrics.

Array<object>
object
advertisable

Whether the video can be used for advertising.

boolean
attributed_gmv

Total GMV attributed to the video.

object
amount

Attributed GMV amount.

string
currency

Attributed GMV currency code.

string
avg_customers

Daily average customers.

integer format: int64
click_through_rate

Ratio of product clicks to video views in raw decimal format.

string
comments

Number of comments received by the video.

integer format: int64
creator

Creator information for the video.

object
author_type

Creator account type.

string
creator_country

Country or region of the creator.

string
creator_id

The creator ID.

string
nick_name

Creator nickname.

string
open_id

The creator open ID.

string
user_name

Creator username (handle).

string
ctor

Click-to-order rate in raw decimal format.

string
duration

Video duration in seconds.

integer format: int64
gmv

GMV directly attributed to the video.

object
amount

GMV amount in the corresponding currency.

string
currency

GMV currency code (ISO 4217 standard). If LOCAL currency is requested, the value will be the local currency code of where the shop is registered (e.g. GBP).

string
gpm

Average GMV generated from 1,000 video views.

object
amount

GPM amount in the corresponding currency.

string
currency

GPM currency code (ISO 4217 standard). If LOCAL currency is requested, the value will be the local currency code of where the shop is registered (e.g. GBP).

string
hash_tags

Hash tags of the video.

Array<string>
id

The unique identifier of the video in the performance list.

string
indirect_gmv

Indirect GMV attributed to the video.

object
amount

GMV amount in the corresponding currency.

string
currency

GMV currency code (ISO 4217 standard). If LOCAL currency is requested, the value will be the local currency code of where the shop is registered (e.g. GBP).

string
items_sold

Number of units sold from the video.

integer format: int64
likes

Number of likes received by the video.

integer format: int64
new_followers

Number of new followers attributed to the video.

integer format: int64
product_clicks

Number of product clicks from the video.

integer format: int64
product_impressions

Number of product impressions from the video.

integer format: int64
products

Products promoted in the video.

Array<object>
object
id

The unique identifier of the product.

string
name

The product name.

string
review_type

Review classification of the video.

string
shares

Number of times the video was shared.

integer format: int64
sku_orders

The total number of paid SKU orders placed directly from the current video.

integer format: int64
title

The title of the video.

string
username

The username associated with the video.

string
v_to_l_clicks

Number of clicks from the video to a LIVE session.

integer format: int64
v_to_l_rate

Rate of clicks from the video to a LIVE session in raw decimal format.

string
video_finish_rate

Video completion rate in raw decimal format.

string
video_post_time

Date and time when the video was posted.

string
views

Number of video views during the selected time range.

integer format: int64
Example
{
"code": 0,
"data": {
"latest_available_date": "2024-09-07",
"next_page_token": "cGFnZV9udW1iZXI9MQ==",
"total_count": 10,
"videos": [
{
"advertisable": true,
"attributed_gmv": {
"amount": "125.50",
"currency": "USD"
},
"avg_customers": 35,
"click_through_rate": "0.0525",
"comments": 12,
"creator": {
"author_type": "OFFICIAL",
"creator_country": "US",
"creator_id": "uACafQAAAABmUU2qon4R0vUYvUVS3QC6CICP2m5A2-wd77j8R9G0yg",
"nick_name": "abc_bec",
"open_id": "uACafQAAAABmUU2qon4R0vUYvUVS3QC6CICP2m5A2-wd77j8R9G0yg",
"user_name": "creator_shop_01"
},
"ctor": "0.0528",
"duration": 34,
"gmv": {
"amount": "125.50",
"currency": "USD"
},
"gpm": {
"amount": "32.40",
"currency": "USD"
},
"hash_tags": [
"#racuntiktok",
"fyp"
],
"id": "172xxxxxxxxxxxxx089",
"indirect_gmv": {
"amount": "125.50",
"currency": "USD"
},
"items_sold": 18,
"likes": 86,
"new_followers": 10,
"product_clicks": 63,
"product_impressions": 1200,
"products": [
{
"id": "105xxxxxxxxxxxxx247",
"name": "Wireless Earbuds"
}
],
"review_type": "IMPROVEMENT",
"shares": 8,
"sku_orders": 12,
"title": "How to Style Summer Outfits",
"username": "creator_shop_01",
"v_to_l_clicks": 42,
"v_to_l_rate": "0.0350",
"video_finish_rate": "0.3800",
"video_post_time": "2025-01-01 00:00:00",
"views": 1200
}
]
},
"message": "Success",
"request_id": "202203070749000101890810281E8C70B7"
}