Call it
curl https://api.peume.com/v1/call/trustpilot-reviews-3 \
-H "Authorization: Bearer $PEUME_API_KEY" \
-H "Content-Type: application/json" \
-d '{
"input": {
"limit": 20,
"company": "your company"
}
}'const res = await fetch("https://api.peume.com/v1/call/trustpilot-reviews-3", {
method: "POST",
headers: {
Authorization: `Bearer ${process.env.PEUME_API_KEY}`,
"Content-Type": "application/json",
},
body: JSON.stringify({
"input": {
"limit": 20,
"company": "your company"
}
}),
});
const { output, cost_usd } = await res.json();import os, requests
res = requests.post(
"https://api.peume.com/v1/call/trustpilot-reviews-3",
headers={"Authorization": f"Bearer {os.environ['PEUME_API_KEY']}"},
json={
"input": {
"limit": 20,
"company": "your company"
}
},
)
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: trustpilot-reviews-3.
Parameters
datestringPublish-date window for the `reviews` action: `last7days`, `last30days`, `last3months`, `last6months` or `last12months` (counting back 7, 30, 92, 183 or 366 days). Leave it empty for reviews from any date. Other values, including specific dates, return a 422 error before any charge. One of: last12months, last30days, last3months, last6months, last7days.
last12months · last30days · last3months · last6months · last7days
limitintegerMaximum number of results, 1 to 200 (default 20). For some actions it counts pages or items per parent rather than final rows.
Example: 20
verified_onlybooleanBoolean (`true` or `false`). Returns only reviews Trustpilot labels verified, excluding business-invited (invited) reviews.
companyRequiredstringTarget company website domain (such as `example.com`) or full Trustpilot `/review/` URL. It does not accept localized business names. In `profile`, it aggregates company profiles and ratings from linked reviews, while `reviews` fetches individual review records.
languagestringOne two-letter ISO 639-1 language code (such as `en`, `fr`, `de` or `es`) for filtering reviews in the `reviews` action. Without it, you get the English reviews that Trustpilot shows by default. If `lang` is provided, it takes precedence over this parameter.
sortstringSorting mode for the `reviews` action: `recency` or `newest` (default; both put the newest reviews first), or `relevance` to sort by relevance. Other values return a 422 error before any charge. One of: newest, recency, relevance.
newest · recency · relevance
starsarrayOther values return a 422 error before any charge. Leaving this field empty includes all ratings; it does not represent a minimum rating threshold.
langstringReview language as two-letter ISO 639-1 codes, either one code or an array (such as `en` or `["en","de"]`); it takes precedence over `language`. Filtering reviews within `profile` may affect whether linked company data is returned.
