Call it
curl https://api.peume.com/v1/call/taobao-reviews \
-H "Authorization: Bearer $PEUME_API_KEY" \
-H "Content-Type: application/json" \
-d '{
"input": {
"limit": 20,
"url": "your url"
}
}'const res = await fetch("https://api.peume.com/v1/call/taobao-reviews", {
method: "POST",
headers: {
Authorization: `Bearer ${process.env.PEUME_API_KEY}`,
"Content-Type": "application/json",
},
body: JSON.stringify({
"input": {
"limit": 20,
"url": "your url"
}
}),
});
const { output, cost_usd } = await res.json();import os, requests
res = requests.post(
"https://api.peume.com/v1/call/taobao-reviews",
headers={"Authorization": f"Bearer {os.environ['PEUME_API_KEY']}"},
json={
"input": {
"limit": 20,
"url": "your url"
}
},
)
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: taobao-reviews.
Parameters
page_tokenstringPage token. Leave it out for the first page. When the response has a `next_page_token`, pass it back as `page_token`, exactly as received, to get the next page, with the other parameters unchanged (`limit` can change). You can also skip the token and ask for a page number with `page`; when both are sent, `page_token` wins. No `next_page_token` (or `pagination.has_more` false) means you have reached the end. Each page returns `limit` reviews (default 20, up to 100), and the next page continues after the last review returned. Reviews are newest first; if new reviews arrive while you page, neighb
limitintegerMaximum number of results, 1 to 100 (default 20). For some actions it counts pages or items per parent rather than final rows.
Example: 20
pageintegerPage number of the item's reviews, from 1 to 50, newest first by default (in overall order with `sort=recommended`), usually 20 reviews per page and fewer on the last. With `page`, you get that whole page directly and `limit` has no effect; without it, paging starts at page 1 as before and continues with `next_page_token`. `pagination.has_more` true means there is a next page: ask for `page` + 1, or pass `next_page_token` back as `page_token`. When both `page` and `page_token` are sent, `page_token` wins. If new reviews arrive while you page, neighbouring pages can repeat a review or two, so d
sortstringReview order; applies to `reviews` only. `newest` (default; used when omitted) puts the latest reviews first, and `recommended` uses the same "overall" order as the reviews on a Taobao product page.
urlRequiredstringFor product_detail, reviews, or questions, use a numeric item ID, a Taobao/Tmall product URL, or a share message containing exactly one product URL. e.tb.cn and m.tb.cn links work only when they can be safely resolved to a product page. TaoPassword-only tokens, expired links, and non-product pages are rejected.
