Call it
curl https://api.peume.com/v1/call/tiktok-shop-store-products-2 \
-H "Authorization: Bearer $PEUME_API_KEY" \
-H "Content-Type: application/json" \
-d '{
"input": {
"shop_id": "your shop id",
"limit": 30
}
}'const res = await fetch("https://api.peume.com/v1/call/tiktok-shop-store-products-2", {
method: "POST",
headers: {
Authorization: `Bearer ${process.env.PEUME_API_KEY}`,
"Content-Type": "application/json",
},
body: JSON.stringify({
"input": {
"shop_id": "your shop id",
"limit": 30
}
}),
});
const { output, cost_usd } = await res.json();import os, requests
res = requests.post(
"https://api.peume.com/v1/call/tiktok-shop-store-products-2",
headers={"Authorization": f"Bearer {os.environ['PEUME_API_KEY']}"},
json={
"input": {
"shop_id": "your shop id",
"limit": 30
}
},
)
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-store-products-2.
Parameters
shop_idRequiredstringThe numeric TikTok Shop store ID for `shop_products`: the `shop_id` of a product row, or a shop.tiktok.com store link that ends in the ID.
countrystringThe TikTok Shop market the store sells in: US (default), SG, MY, PH, TH, VN, ID, JP or MX.
page_tokenstringPage token for TikTok list actions such as `hashtag_search`, `sound_videos`, `following` and `shop_products`. Leave it out for the first page, then pass back the previous response's `next_page_token` exactly as received, with the other parameters unchanged; the last page has none.
limitintegerMaximum number of results, 1 to 30 (default 30). For some actions it counts pages or items per parent rather than final rows.
Example: 30
