Skip to main content
GET
A shop's top videos
Works with any organization key of an ecommerce brand or ecommerce agency. No connected TikTok Shop is needed. See TikTok Shop market insights for time ranges, paging and limits.

Authorizations

Authorization
string
header
required

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

Path Parameters

id
string
required

The shop's sellerId (digits), from a shops list or seller_id from shop search.

Query Parameters

window
enum<string>
default:7d

Time range. Default 7d.

Available options:
7d,
28d
q
string

Caption contains this. At most 100 characters.

sort
enum<string>
default:gmv

What to rank by, highest first. Default gmv. posted is newest first.

Available options:
gmv,
views,
posted
product_ids
string

Only videos selling these products: productIds separated by commas, at most 100.

category_l1
string

Only this top-level category: its name from GET /categories, spelled the same.

category_l2
string

Only this subcategory (level 2): its name from GET /categories?level=2.

category_l3
string

Only this third-level category name, as product rows show it in categoryL3.

min_gmv
number

Only videos with at least this GMV in the window.

max_gmv
number

Only videos with at most this GMV in the window.

min_views
number

Only videos with at least this many views.

max_views
number

Only videos with at most this many views.

min_followers
number

Only videos whose creator has at least this many followers.

max_followers
number

Only videos whose creator has at most this many followers.

min_roas
number

Paid videos only: return on ad spend of at least this.

max_roas
number

Paid videos only: return on ad spend of at most this.

ad_type
enum<string>
default:all

Paid videos (ad), unpaid (organic) or both (all, the default).

Available options:
all,
ad,
organic
posted_after
string<date>

Posted on or after this day, YYYY-MM-DD (UTC).

posted_before
string<date>

Posted before this day, YYYY-MM-DD (UTC).

page
integer

Page, from 1. Default 1.

Required range: 1 <= x <= 10000
page_size
integer

Rows per page, 1 to 100. Default 20. A larger number is read as 100.

Required range: 1 <= x <= 100
organization_id
integer

Read as one of your brands (a child organization of the key's organization). The answer is the same market data; this only decides whose access and allowance are used. Leave out to read as the key's organization.

Response

OK

region
string

Always US.

rows
object[]

The rows of this page.

total
integer

How many rows match in all.

page
integer

The page answered.

pageSize
integer

Rows per page.

window
object

The time range answered. On shops: kind, from and to. On the other lists: requested, and served (the number of days answered; 0 is the standard reporting period, not a fixed number of days). When served differs from requested, reason is window_not_available: there was no data for the range asked, so the nearest one was answered. basis is source_default or source_default_mixed when the range is the standard reporting period.

dataAsOf
string

When the data was last refreshed.

ranked_by
string

What the rows are ordered by: the sort that was applied. On categories it names the row field (rank for level 1, trackedGmv for level 2).