TikTok Shop products matching a keyword in one country store, with price, discount, rating, units sold and seller.
2 credits/ call
Never more than 51 credits a call.
You only pay when data comes back.
curl -X POST "https://api.primaryapi.com/v1/run/tiktok-shop.search" \
-H "Authorization: Bearer $PRIMARYAPI_API_KEY" \
-H "Content-Type: application/json" \
-d '{"query":"wireless earbuds"}'{
"output": {
"found": true,
"data": {
"total": "<integer | null>",
"nextCursor": "<string | null>",
"items": [
{
"title": "<string | null>",
"price": "<number | null>",
"originalPrice": "<number | null>",
"discountPct": "<number | null>", …
}
]
}
},
"credits": 2
}Input and output
4 fields
wireless earbuds.13 fields
currencyGood to know
One page per call. Send nextCursor back as cursor to read the next page.
More from TikTok Shop. Same key, same credits.
The same key and credits work for every API.