Call it
curl https://api.peume.com/v1/call/tiktok-shop-product-reviews-2 \
-H "Authorization: Bearer $PEUME_API_KEY" \
-H "Content-Type: application/json" \
-d '{
"input": {
"product_id": "your product id",
"limit": 20
}
}'const res = await fetch("https://api.peume.com/v1/call/tiktok-shop-product-reviews-2", {
method: "POST",
headers: {
Authorization: `Bearer ${process.env.PEUME_API_KEY}`,
"Content-Type": "application/json",
},
body: JSON.stringify({
"input": {
"product_id": "your product id",
"limit": 20
}
}),
});
const { output, cost_usd } = await res.json();import os, requests
res = requests.post(
"https://api.peume.com/v1/call/tiktok-shop-product-reviews-2",
headers={"Authorization": f"Bearer {os.environ['PEUME_API_KEY']}"},
json={
"input": {
"product_id": "your product id",
"limit": 20
}
},
)
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-reviews-2.
Parameters
countrystringThe TikTok Shop market the product sells in: US (default), SG, MY, PH, TH, VN, ID, JP or MX.
product_idRequiredstringThe numeric TikTok Shop product ID for `shop_product_reviews` (the `id` of a product row), or a shop.tiktok.com product link.
page_tokenstringPage token. Leave it out for the first page; when the response has `next_page_token`, pass it back unchanged as `page_token` to get the next page, with all other parameters unchanged. Tokens last 24 hours, and each page counts as one call. Each page holds up to 20 reviews, set by `limit` (default 20; a value above 20 is treated as 20). You can page up to review 600 (page 30 at 20 per page). The first 100 reviews (the first 5 pages at 20 per page) can be read with synchronous requests; beyond that (from page 6 at 20 per page), use async: add `"mode": "async"` to the same request and poll `GET /
ratingstringKeep only reviews with this many stars in `shop_product_reviews`: 1 to 5. Leave it out for all reviews. One of: 1, 2, 3, 4, 5.
1 · 2 · 3 · 4 · 5
limitintegerMaximum number of results, 1 to 20 (default 20). For some actions it counts pages or items per parent rather than final rows.
Example: 20
sortstringReview order: `newest` (default) or `recommended`. Both values may currently return the same order, and newest first is not guaranteed; to sort by time, sort on each review's `posted_at` yourself. One of: newest, recommended.
newest · recommended
