Call it
curl https://api.peume.com/v1/call/tripadvisor-reviews-3 \
-H "Authorization: Bearer $PEUME_API_KEY" \
-H "Content-Type: application/json" \
-d '{
"input": {
"url": "your url"
}
}'const res = await fetch("https://api.peume.com/v1/call/tripadvisor-reviews-3", {
method: "POST",
headers: {
Authorization: `Bearer ${process.env.PEUME_API_KEY}`,
"Content-Type": "application/json",
},
body: JSON.stringify({
"input": {
"url": "your url"
}
}),
});
const { output, cost_usd } = await res.json();import os, requests
res = requests.post(
"https://api.peume.com/v1/call/tripadvisor-reviews-3",
headers={"Authorization": f"Bearer {os.environ['PEUME_API_KEY']}"},
json={
"input": {
"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: tripadvisor-reviews-3.
Parameters
cursorstringPagination cursor from a previous response's nextCursor. Omit for the first page. Pages can overlap: a page may repeat items an earlier page returned and is billed like any other, so de-duplicate by item id and stop when a page adds no new id.
routestringUpstream source to run on; omit for "octopus". ibex ($0.003 per call, 94.8% uptime); octopus ($0 + $0.0006 per result, at most $0.012, 100% uptime). Output fields only some routes return: nextCursor (ibex). A route can refuse an input it cannot apply with a 400 source_unknown (not charged): retry on another route, or omit that input.
ibex · octopus
languagesarrayOnly return reviews originally written in these ISO 639-1 languages (e.g. ["en", "es"]); omit for all languages. Reviews filtered this way are never translated; without the filter, see `language` in the result. Each page is filtered after it is fetched, so a page can hold fewer than `limit` reviews, or none, while nextCursor still leads to more.
ratingsarrayOnly return reviews whose bubble rating is in this set (e.g. ["5", "4"] for 4 and 5 star reviews); omit for all ratings.
limitintegerReviews per page (1-20, default 20). Sources that page return one page of up to `limit` reviews, newest first, with a nextCursor for the next page; sources that cannot page return up to `limit` reviews in one call with no nextCursor.
urlRequiredstringTripadvisor page URL of the hotel, restaurant, or attraction, carrying its -d<id>- place id (e.g. https://www.tripadvisor.com/Hotel_Review-g60763-d93450-Reviews-The_Plaza-New_York_City_New_York.html). Any other link, such as a city listing page or a site that is not Tripadvisor, is refused as invalid input, with no charge; find the place's page with tripadvisor.search.
sincestringOnly return reviews newer than this date, YYYY-MM-DD or a relative window like '3 months' (e.g. 2026-01-01).
