Call it
curl https://api.peume.com/v1/call/tripadvisor-read-traveler-reviews \
-H "Authorization: Bearer $PEUME_API_KEY" \
-H "Content-Type: application/json" \
-d '{
"input": {
"place_id": "your place id"
}
}'const res = await fetch("https://api.peume.com/v1/call/tripadvisor-read-traveler-reviews", {
method: "POST",
headers: {
Authorization: `Bearer ${process.env.PEUME_API_KEY}`,
"Content-Type": "application/json",
},
body: JSON.stringify({
"input": {
"place_id": "your place id"
}
}),
});
const { output, cost_usd } = await res.json();import os, requests
res = requests.post(
"https://api.peume.com/v1/call/tripadvisor-read-traveler-reviews",
headers={"Authorization": f"Bearer {os.environ['PEUME_API_KEY']}"},
json={
"input": {
"place_id": "your place id"
}
},
)
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-read-traveler-reviews.
Parameters
monthstringTo include only results from a specific months. Each month is represented by a number from `1` (January) to `12` (December). Example for single month only: `1` (for January) Example for multiple months (separated by comma `,`): `1,6,12`
offsetstringThe result offset. It skips the given number of reviews. It's used for pagination. (e.g., `0` (default) is the first page of results, `10` is the 2nd page of results, `20` is the 3rd page of results, etc.).
tripadvisor_domainstringThe Tripadvisor domain to use. It defaults to `www.tripadvisor.com`.
type_of_visitstringTo include only results from a specific types of visit. Available options: `Business` - Business `Couples` - Couples `Family` - Family `Friends` - Friends `Solo` - Solo To include multiple types of visit, separate values with a comma `,` (e.g. `Business,Couples` to include reviews from 'Business' and 'Couples' types of visit).
ratingstringTo include only results with specified ratings. Example for single rating only: `5` Example for multiple ratings (separated by comma `,`): `5,3,2`
limitstringThe maximum number of reviews to return. The maximum value is 20. (e.g., `10` (default) returns 10 results, `20` returns 20 results, etc.).
languagestringThe language to use for the Tripadvisor reviews. Head to Tripadvisor reviews languages for a full list of supported Tripadvisor Reviews languages.
sort_bystringThe sorting order of the results. Available options: `most_recent` - Most Recent (Default) `detailed_review` - Detailed Reviews
json_restrictorstringThe fields you want to include in the output, reducing payload size for faster response. See the JSON Restrictor documentation for more details.
place_idRequiredstringThe Tripadvisor place ID. To extract the ID of a place, you can use our Tripadvisor Search API. NOTE: Tripadvisor has discontinued support for Vacation Rentals. As a result, requesting details for a Vacation Rental `place_id` may return incomplete data or no data at all.
