Read Tripadvisor reviews
litescrape.tripadvisor.business.reviewsReturns public reviews for one Tripadvisor place in `reviews`, in Tripadvisor's order; rows Tripadvisor promotes carry `featured: true` and can appear ahead of newer reviews
- Price
- $0.00015/successAl precio del proveedor
- Success rate
- —Aún no hay datos de tasa de éxitoAún no hay datos de tasa de éxito
- Latency p50
- ——
- Last verified
- 29 sept 2026Verified working
GEThttps://toolswitch.dev/v1/tools/litescrape.tripadvisor.business.reviews?num=5&place_id=18941405Preview- Uses platform quota
- Synchronous response
- Reads public data
Parámetros
| Parámetro | Tipo | Obligatorio | Descripción | Ejemplo |
|---|---|---|---|---|
| Parámetros de consulta | ||||
num | entero | Opcional | Number of reviews, 1 through 50. | 5 |
start | entero | Opcional | Review offset from 0 through 10,000. | |
locale | cadena | Opcional | Lowercase language code with an optional uppercase country, such as en or en-US. | |
sort_by | cadena | Opcional | Review order: recent (newest first) or relevance. | |
timeout | número | Opcional | Optional budget for the entire request in seconds, measured from gateway receipt until the response is ready to send. Includes admission, queueing and settlement. Must be greater than 0 and at most 90. On expiry, the call is not billed and returns 503 request_deadline_exceeded with retryable=true and a request ID. Omit to retain the standard server deadline. | |
place_id | entero | Obligatorio | Numeric Tripadvisor place ID, up to 16 digits. | 437641 |
translate | booleano | Opcional | Request Tripadvisor's machine translation of reviews. | |
tripadvisor_domain | cadena | Opcional | Supported first-party localized Tripadvisor hostname, such as www.tripadvisor.co.uk. | www.tripadvisor.com |
- Parámetros de consulta
numenteroOpcionalNumber of reviews, 1 through 50.
Ejemplo:
5startenteroOpcionalReview offset from 0 through 10,000.
localecadenaOpcionalLowercase language code with an optional uppercase country, such as en or en-US.
sort_bycadenaOpcionalReview order: recent (newest first) or relevance.
timeoutnúmeroOpcionalOptional budget for the entire request in seconds, measured from gateway receipt until the response is ready to send. Includes admission, queueing and settlement. Must be greater than 0 and at most 90. On expiry, the call is not billed and returns 503 request_deadline_exceeded with retryable=true and a request ID. Omit to retain the standard server deadline.
place_identeroObligatorioNumeric Tripadvisor place ID, up to 16 digits.
Ejemplo:
437641translatebooleanoOpcionalRequest Tripadvisor's machine translation of reviews.
tripadvisor_domaincadenaOpcionalSupported first-party localized Tripadvisor hostname, such as www.tripadvisor.co.uk.
Ejemplo:
www.tripadvisor.com
Ejemplos de código
Sustituye $TOOLSWITCH_KEY por la clave que creaste en la consola.
curl -X GET 'https://toolswitch.dev/v1/tools/litescrape.tripadvisor.business.reviews?num=5&place_id=18941405' \
-H "X-Toolswitch-Key: $TOOLSWITCH_KEY"import os
import requests
response = requests.request(
"GET",
"https://toolswitch.dev/v1/tools/litescrape.tripadvisor.business.reviews?num=5&place_id=18941405",
headers={"X-Toolswitch-Key": os.environ["TOOLSWITCH_KEY"]},
)
response.raise_for_status()
print(response.text)const response = await fetch("https://toolswitch.dev/v1/tools/litescrape.tripadvisor.business.reviews?num=5&place_id=18941405", {
method: "GET",
headers: {
"X-Toolswitch-Key": process.env.TOOLSWITCH_KEY ?? "",
},
});
if (!response.ok) throw new Error(`Request failed: ${response.status}`);
console.log(await response.text());La API de la pasarela está en versión preliminar; su URL y autenticación pueden cambiar. Los parámetros del ejemplo son datos de muestra. Las llamadas se facturan a $0.00015/success, incluida la tarifa de servicio.