Skip to main content
GET
Overview
Works with organization keys and creator keys. See Creator TikTok Shop analytics for which accounts each key reads.

Authorizations

Authorization
string
header
required

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

Query Parameters

user_id
integer

One creator. With an organization key: that creator's accounts that are shared with you; a creator with none answers 404. With a creator key: optional, and only your own user id. Leave it out for every account the key can read

account_ids
string

Comma-separated account ids from GET /tiktok_shop/creator_analytics/accounts, at most 1,000. Narrows the selection; any id the key can't read answers 404

q
string

Organization keys only, without user_id: keep the creators whose name, email or @handle contains this. A creator key gets 422

exclude_account_ids
string

Organization keys only, without user_id: every selected account except these. A creator key gets 422

organization_id
integer

Leave it out. Creators share with your main organization, so a child brand answers 403. A creator key gets 422

from
string<date>

First day, YYYY-MM-DD. Default: the first day of the month.

to
string<date>

Last day, YYYY-MM-DD, inclusive. Default: today. At most 3,660 days in all.

tz
string

IANA time zone the days are counted in. Default UTC.

include_pending
boolean

Count orders that have not settled yet. Default true.

Response

OK

range
object

The days answered, in tz

currency
string | null

ISO currency of the money fields (null when there are no sales in the range)

totals
object

The same numbers added up

previous_totals
object

The totals of the comparison period

series
object[]

One entry per day

by_source
object[]

Sales by content type

by_account
object[]

Sales by account

top_posts
object[]

Best-selling posts

top_products
object[]

Best-selling products

attention
object[]

What needs attention

samples_fulfilled
integer

Samples fulfilled, all time (TikTok does not say when a sample was fulfilled)

currency_mixed
boolean

Present, and true, only when the accounts sell in more than one currency; the numbers count the main one