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/successPelo preço do provedor
- Success rate
- —Ainda não há dados da taxa de sucessoAinda não há dados da taxa de sucesso
- Latency p50
- ——
- Last verified
- 29 de set. de 2026Verified working
GEThttps://toolswitch.dev/v1/tools/litescrape.tripadvisor.place.detail?place_id=18941405Preview- Uses platform quota
- Synchronous response
- Reads public data
Parâmetros
| Parâmetro | Tipo | Obrigatório | Descrição | Exemplo |
|---|---|---|---|---|
| Parâmetros de consulta | ||||
geo_id | inteiro | Opcional | Tripadvisor ID of the place's parent geography. | 30196 |
locale | string | Opcional | Lowercase language code with an optional uppercase country, such as en or en-US. | |
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. | |
currency | string | Opcional | Three-letter ISO currency code for price fields; case-insensitive. | |
place_id | inteiro | Obrigatório | Numeric Tripadvisor place ID, up to 16 digits. | 437641 |
tripadvisor_domain | string | Opcional | Supported first-party localized Tripadvisor hostname, such as www.tripadvisor.co.uk. | www.tripadvisor.com |
- Parâmetros de consulta
geo_idinteiroOpcionalTripadvisor ID of the place's parent geography.
Exemplo:
30196localestringOpcionalLowercase language code with an optional uppercase country, such as en or en-US.
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.
currencystringOpcionalThree-letter ISO currency code for price fields; case-insensitive.
place_idinteiroObrigatórioNumeric Tripadvisor place ID, up to 16 digits.
Exemplo:
437641tripadvisor_domainstringOpcionalSupported first-party localized Tripadvisor hostname, such as www.tripadvisor.co.uk.
Exemplo:
www.tripadvisor.com
Exemplos de código
Substitua $TOOLSWITCH_KEY pela chave criada no 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());Esta API de gateway está em prévia; a URL e a autenticação podem mudar. Os parâmetros do exemplo são dados de amostra. As chamadas são cobradas a $0.00015/success, incluindo a taxa de serviço.