Call it
curl https://api.peume.com/v1/call/search-tiktok-shop-products-by-keyword-5 \
-H "Authorization: Bearer $PEUME_API_KEY" \
-H "Content-Type: application/json" \
-d '{
"input": {
"query": "shoes",
"page": "1",
"region": "US"
}
}'const res = await fetch("https://api.peume.com/v1/call/search-tiktok-shop-products-by-keyword-5", {
method: "POST",
headers: {
Authorization: `Bearer ${process.env.PEUME_API_KEY}`,
"Content-Type": "application/json",
},
body: JSON.stringify({
"input": {
"query": "shoes",
"page": "1",
"region": "US"
}
}),
});
const { output, cost_usd } = await res.json();import os, requests
res = requests.post(
"https://api.peume.com/v1/call/search-tiktok-shop-products-by-keyword-5",
headers={"Authorization": f"Bearer {os.environ['PEUME_API_KEY']}"},
json={
"input": {
"query": "shoes",
"page": "1",
"region": "US"
}
},
)
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: search-tiktok-shop-products-by-keyword-5.
Parameters
queryRequiredstringTerm you want to search for
Example: shoes
pagenumberPage number to retrieve
Example: 1
regionstringRegion to search shop products in. Non-US TikTok Shop regions are not reliable right now and may return limited or inconsistent results. Sorry for the inconvenience.
Example: US
Other ways to do it
Same job, other sources, cheapest first.
Search TikTok Shop products by keywordSearch products list V1Search TikTok Shop products by keywordSearch products list V2 (Mobile)Search TikTok Shop products by keywordSearches TikTok Shop products by keyword within a selected region, with offset and page-token pagination.Search TikTok Shop products by keywordScrape TikTok Shop products for a keyword across 10 storefronts (US, GB, VN, TH, PH, MY, SG, JP, MX, ID) — title, price, original_price, discount_percent, seller_name, rating, sold
