Skip to main content
POST
Search products

Authorizations

Authorization
string
header
required

Send your workspace API key as a bearer token:

Keys are scoped to a single workspace. See Authentication.

Body

application/json
channel
enum<string>

A sales channel — the commerce surface a request is about. Behind each channel is a cascade of data sources, tried in cost order until one verifies; the roster is published, but which source answered a given row is not carried in the response, so the cascade can be re-tuned without breaking your code.

Available options:
tiktok_shop
Example:

"tiktok_shop"

market
enum<string>

An ISO 3166-1 alpha-2 country code identifying a channel storefront.

Available options:
US,
GB,
IE,
ES,
FR,
DE,
IT,
ID,
TH,
VN,
MY,
PH,
SG,
JP,
BR,
MX
Example:

"US"

period
object

The window a metric is measured over. Supply either preset, or both start and end. Periods are whole days in the market's local time zone.

Examples:
currency
string
default:USD

ISO 4217 code. Every monetary field in the response is converted to it.

sort
object[]
Maximum array length: 3
limit
integer
default:25
Required range: 1 <= x <= 100
cursor
string

The next_cursor from a previous response.

filters
object

Response

Matching products.

object
string
required
Allowed value: "list"
has_more
boolean
required

Whether another page exists.

data
object[]
required
next_cursor
string | null

Pass to cursor to fetch the next page. Null on the last page.

total_count
integer | null

Approximate number of matches. Null when the result set is too large to count exactly.

period
object

The concrete window a request was measured over, after any preset was expanded and any channel-specific snapping was applied. Always read this rather than assuming you got back exactly the dates you asked for.

currency
string