Call it
curl https://api.peume.com/v1/call/taobao-questions \
-H "Authorization: Bearer $PEUME_API_KEY" \
-H "Content-Type: application/json" \
-d '{
"input": {
"limit": 10,
"url": "your url"
}
}'const res = await fetch("https://api.peume.com/v1/call/taobao-questions", {
method: "POST",
headers: {
Authorization: `Bearer ${process.env.PEUME_API_KEY}`,
"Content-Type": "application/json",
},
body: JSON.stringify({
"input": {
"limit": 10,
"url": "your url"
}
}),
});
const { output, cost_usd } = await res.json();import os, requests
res = requests.post(
"https://api.peume.com/v1/call/taobao-questions",
headers={"Authorization": f"Bearer {os.environ['PEUME_API_KEY']}"},
json={
"input": {
"limit": 10,
"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-questions.
Parameters
page_tokenstringPage token. Leave it out for the first page; when the response has `next_page_token`, pass it back unchanged as `page_token` for the next batch, with the other parameters unchanged (`limit` may change). The next batch starts right after the last question of the previous call. You can also send `page` for a given page instead (see `page`); when both are sent, `page_token` wins. A call usually returns 10 to 20 questions: Taobao serves 10 per page and a larger `limit` adds pages while time allows, so `limit` (up to 100) is a ceiling, not a guaranteed count; keep paging for more. Tokens last 24 ho
limitintegerMaximum number of results, 1 to 100 (default 10). For some actions it counts pages or items per parent rather than final rows.
Example: 10
pageintegerPage number of the item's buyer questions, from 1 to 50, 10 questions 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 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. Dedupe by question `id` when merging pages.
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.
