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/successAu prix du fournisseur
- Success rate
- —Aucune donnée de taux de réussite pour le momentAucune donnée de taux de réussite pour le moment
- 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
Paramètres
| Paramètre | Type | Obligatoire | Description | Exemple |
|---|---|---|---|---|
| Paramètres de requête | ||||
num | entier | Facultatif | Number of reviews, 1 through 50. | 5 |
start | entier | Facultatif | Review offset from 0 through 10,000. | |
locale | chaîne | Facultatif | Lowercase language code with an optional uppercase country, such as en or en-US. | |
sort_by | chaîne | Facultatif | Review order: recent (newest first) or relevance. | |
timeout | nombre | Facultatif | 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 | entier | Obligatoire | Numeric Tripadvisor place ID, up to 16 digits. | 437641 |
translate | booléen | Facultatif | Request Tripadvisor's machine translation of reviews. | |
tripadvisor_domain | chaîne | Facultatif | Supported first-party localized Tripadvisor hostname, such as www.tripadvisor.co.uk. | www.tripadvisor.com |
- Paramètres de requête
numentierFacultatifNumber of reviews, 1 through 50.
Exemple :
5startentierFacultatifReview offset from 0 through 10,000.
localechaîneFacultatifLowercase language code with an optional uppercase country, such as en or en-US.
sort_bychaîneFacultatifReview order: recent (newest first) or relevance.
timeoutnombreFacultatifOptional 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_identierObligatoireNumeric Tripadvisor place ID, up to 16 digits.
Exemple :
437641translatebooléenFacultatifRequest Tripadvisor's machine translation of reviews.
tripadvisor_domainchaîneFacultatifSupported first-party localized Tripadvisor hostname, such as www.tripadvisor.co.uk.
Exemple :
www.tripadvisor.com
Exemples de code
Remplacez $TOOLSWITCH_KEY par la clé créée dans la console.
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());Cette API de passerelle est en préversion ; son URL et son authentification peuvent changer. Les paramètres de l’exemple sont des données fictives. Les appels sont facturés à $0.00015/success, frais de service inclus.