Call it
curl https://api.peume.com/v1/call/reviews-3 \
-H "Authorization: Bearer $PEUME_API_KEY" \
-H "Content-Type: application/json" \
-d '{
"input": {
"product": "your product",
"limit": 25,
"sortBy": "recent"
}
}'const res = await fetch("https://api.peume.com/v1/call/reviews-3", {
method: "POST",
headers: {
Authorization: `Bearer ${process.env.PEUME_API_KEY}`,
"Content-Type": "application/json",
},
body: JSON.stringify({
"input": {
"product": "your product",
"limit": 25,
"sortBy": "recent"
}
}),
});
const { output, cost_usd } = await res.json();import os, requests
res = requests.post(
"https://api.peume.com/v1/call/reviews-3",
headers={"Authorization": f"Bearer {os.environ['PEUME_API_KEY']}"},
json={
"input": {
"product": "your product",
"limit": 25,
"sortBy": "recent"
}
},
)
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: reviews-3.
Parameters
productRequiredstringproduct URL, for example identifies a product by both its numeric id and its slug, so the full URL is required.
routestringUpstream source to run on; omit for "octopus". octopus ($0.006 + $0.00084 per result, at most $0.09, 100% uptime); chameleon ($0.006 + $0.00167 per result, at most $0.173, 100% uptime). Output fields only some routes return: ownerResponse (chameleon). A route can refuse an input it cannot apply with a 400 source_unknown (not charged): retry on another route, or omit that input.
octopus · chameleon
limitintegerMaximum number of reviews to return. The minimum is 10 because the cheapest review source will not serve a smaller page. You are billed per returned result, so a lower limit costs less.
Example: 25
sortBystringSort order for the returned reviews: newest first, most complete first, or highest or lowest rated first.
recent · complete · highest · lowest
Example: recent
