Get Tripadvisor place details
litescrape.tripadvisor.place.detailReturns one Tripadvisor place in `place_results`: identity, location, rating, images and, for restaurants, contact details, hours and rankings when Tripadvisor supplies them
- 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.place.detail?place_id=18941405Preview- Uses platform quota
- Synchronous response
- Reads public data
Paramètres
| Paramètre | Type | Obligatoire | Description | Exemple |
|---|---|---|---|---|
| Paramètres de requête | ||||
geo_id | entier | Facultatif | Tripadvisor ID of the place's parent geography. | 30196 |
locale | chaîne | Facultatif | Lowercase language code with an optional uppercase country, such as en or en-US. | |
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. | |
currency | chaîne | Facultatif | Three-letter ISO currency code for price fields; case-insensitive. | |
place_id | entier | Obligatoire | Numeric Tripadvisor place ID, up to 16 digits. | 437641 |
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
geo_identierFacultatifTripadvisor ID of the place's parent geography.
Exemple :
30196localechaîneFacultatifLowercase language code with an optional uppercase country, such as en or en-US.
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.
currencychaîneFacultatifThree-letter ISO currency code for price fields; case-insensitive.
place_identierObligatoireNumeric Tripadvisor place ID, up to 16 digits.
Exemple :
437641tripadvisor_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.place.detail?place_id=18941405' \
-H "X-Toolswitch-Key: $TOOLSWITCH_KEY"import os
import requests
response = requests.request(
"GET",
"https://toolswitch.dev/v1/tools/litescrape.tripadvisor.place.detail?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.place.detail?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.