Skip to main content
POST
Search product listings on TikTok Shop by keyword. Returns a normalized Product page.

Authorizations

Authorization
string
header
required

AgentKey API key (ak_…).

Body

application/json
query
string
required

Keyword or phrase to search for.

cursor
string

Opaque pagination cursor from the previous response's next_cursor. Send the same query parameters with it.

fields
string[]

Projection: keep only these dotted paths of data, e.g. ["items.id", "items.text"].

include_raw
boolean
default:false

Attach the raw upstream payload as raw (not a stable contract; truncated above 256 KB).

limit
integer
default:20

Maximum number of products to return.

Required range: 1 <= x <= 20
price_max
number

Highest selling price to include, in the platform's currency.

price_min
number

Lowest selling price to include, in the platform's currency.

provider
string

Shorthand for routing.only = [provider].

region
enum<string>
default:US

TikTok Shop market (ISO 3166-1 alpha-2). TikHub serves US/SG/MY/PH/TH/VN/ID/JP/MX, JustOneAPI US/GB/FR/SG/MY/PH/TH/VN/ID; the server routes by region.

Available options:
US,
GB,
FR,
SG,
MY,
PH,
TH,
VN,
ID,
JP,
MX
routing
object

Provider routing override. order: try these providers first; only: restrict to these (equivalent to pinning); allow_fallbacks: false tries only the first eligible provider.

sort
enum<string>
default:general

general = the platform's default ranking; sales = best selling first; price_asc / price_desc = by selling price.

Available options:
general,
latest,
sales,
price_asc,
price_desc

Response

Success envelope

Success envelope whose data is a ProductPage.

attempts
object[]
required
credits_charged
number
required

Credits charged for this call (the method's fixed price).

data
object
required

One page of products.

op
string
required

Method name.

op_version
integer
required

Method version that served the call.

provider
string
required

Provider that actually served the call.

request_id
string
required

Correlation id; quote it in support requests.

took_ms
integer
required
unsupported_fields
string[]
required

Output paths this provider structurally does not supply; such fields are null for a different reason than 'missing on this record'.

raw
any

Upstream payload, only with include_raw=true. Not a stable contract.

raw_truncated
boolean