Call it
curl https://api.peume.com/v1/call/taobao-and-tmall-product-reviews-by-item-id \
-H "Authorization: Bearer $PEUME_API_KEY" \
-H "Content-Type: application/json" \
-d '{
"input": {
"itemId": "your itemId",
"orderType": "feedbackdate",
"page": 1,
"content": "SHOW_DEFAULT_POSITIVE_REVIEWS"
}
}'const res = await fetch("https://api.peume.com/v1/call/taobao-and-tmall-product-reviews-by-item-id", {
method: "POST",
headers: {
Authorization: `Bearer ${process.env.PEUME_API_KEY}`,
"Content-Type": "application/json",
},
body: JSON.stringify({
"input": {
"itemId": "your itemId",
"orderType": "feedbackdate",
"page": 1,
"content": "SHOW_DEFAULT_POSITIVE_REVIEWS"
}
}),
});
const { output, cost_usd } = await res.json();import os, requests
res = requests.post(
"https://api.peume.com/v1/call/taobao-and-tmall-product-reviews-by-item-id",
headers={"Authorization": f"Bearer {os.environ['PEUME_API_KEY']}"},
json={
"input": {
"itemId": "your itemId",
"orderType": "feedbackdate",
"page": 1,
"content": "SHOW_DEFAULT_POSITIVE_REVIEWS"
}
},
)
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-and-tmall-product-reviews-by-item-id.
Parameters
itemIdRequiredstringUnique product identifier on Taobao/Tmall (item ID).
orderTypestringSort order for the result set. Available Values: - `feedbackdate`: Sort by feedback date - `general`: General sorting One of: feedbackdate, general.
feedbackdate · general
Example: feedbackdate
pageintegerPage number for pagination.
Example: 1
contentstringControls default positive reviews. Use `1` to hide them; omit this parameter to include them (default). Available Values: - `SHOW_DEFAULT_POSITIVE_REVIEWS`: Include default positive reviews (default) - `HIDE_DEFAULT_POSITIVE_REVIEWS`: Hide default positive reviews One of: SHOW_DEFAULT_POSITIVE_REVIEWS, HIDE_DEFAULT_POSITIVE_REVIEWS.
SHOW_DEFAULT_POSITIVE_REVIEWS · HIDE_DEFAULT_POSITIVE_REVIEWS
Example: SHOW_DEFAULT_POSITIVE_REVIEWS
