Call it
curl https://api.peume.com/v1/call/tiktok-shop-product-search \
-H "Authorization: Bearer $PEUME_API_KEY" \
-H "Content-Type: application/json" \
-d '{
"input": {
"limit": 10,
"keyword": "your keyword"
}
}'const res = await fetch("https://api.peume.com/v1/call/tiktok-shop-product-search", {
method: "POST",
headers: {
Authorization: `Bearer ${process.env.PEUME_API_KEY}`,
"Content-Type": "application/json",
},
body: JSON.stringify({
"input": {
"limit": 10,
"keyword": "your keyword"
}
}),
});
const { output, cost_usd } = await res.json();import os, requests
res = requests.post(
"https://api.peume.com/v1/call/tiktok-shop-product-search",
headers={"Authorization": f"Bearer {os.environ['PEUME_API_KEY']}"},
json={
"input": {
"limit": 10,
"keyword": "your keyword"
}
},
)
print(res.json()["output"])Answer: {"id": "run_…", "status": "completed", "cost_usd": …, "output": {…}}. Long jobs answer 202 with a run id to read later. From an AI agent, connect the MCP server and ask for this by name: tiktok-shop-product-search.
Parameters
countrystringMarket region code for `shop_search` and `shop_creator` actions, defaulting to `US` or `us`. It does not filter creator nationality or platform-wide content location. See the catalog for supported markets.
limitintegerMaximum number of results, 1 to 10 (default 10). For some actions it counts pages or items per parent rather than final rows.
Example: 10
pageinteger1-based integer page number for `shop_search` product pagination, defaulting to `1`. It does not paginate video comments or author video lists. `shop_search` returns at most 10 products per page; a `limit` above 10 is treated as 10, without an error. To get more products, increase `page` by 1 and call again.
keywordRequiredstringSpecifies the search query string for public video searches in the `search` action. In `shop_search`, this searches TikTok Shop products instead, which draw from a distinct dataset. In `search_suggest`, it is the term whose related searches you want.
