Search Tripadvisor
litescrape.tripadvisor.search.generalReturns Tripadvisor hotels, restaurants, attractions and places in `search_results`
- Price
- $0.00015/success제공업체 원가
- Success rate
- —성공률 데이터가 아직 없습니다성공률 데이터가 아직 없습니다
- Latency p50
- ——
- Last verified
- 2026. 9. 29.Verified working
GEThttps://toolswitch.dev/v1/tools/litescrape.tripadvisor.search.general?q=hotels+in+Austin+TexasPreview- Uses platform quota
- Synchronous response
- Reads public data
파라미터
| 파라미터 | 유형 | 필수 | 설명 | 예시 |
|---|---|---|---|---|
| 쿼리 파라미터 | ||||
q | 문자열 | 필수 | Search text, 1 to 500 characters. | coffee |
lat | 숫자 | 선택 | Search center latitude from -90 through 90. Requires lon. | 30.2672 |
lon | 숫자 | 선택 | Search center longitude from -180 through 180. Requires lat. | -97.7431 |
num | 정수 | 선택 | Maximum number of search_results, 1 through 30, including any leading exact match. | |
start | 정수 | 선택 | Result offset from 0 through 10,000. Offsets and positions count any leading exact match. | |
geo_id | 정수 | 선택 | Tripadvisor geography ID to search within. | 30196 |
locale | 문자열 | 선택 | Lowercase language code with an optional uppercase country, such as en or en-US. | |
timeout | 숫자 | 선택 | 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_type | 문자열 | 선택 | Restrict results to one entity type. | |
tripadvisor_domain | 문자열 | 선택 | Supported first-party localized Tripadvisor hostname, such as www.tripadvisor.co.uk. | www.tripadvisor.com |
- 쿼리 파라미터
q문자열필수Search text, 1 to 500 characters.
예시:
coffeelat숫자선택Search center latitude from -90 through 90. Requires lon.
예시:
30.2672lon숫자선택Search center longitude from -180 through 180. Requires lat.
예시:
-97.7431num정수선택Maximum number of search_results, 1 through 30, including any leading exact match.
start정수선택Result offset from 0 through 10,000. Offsets and positions count any leading exact match.
geo_id정수선택Tripadvisor geography ID to search within.
예시:
30196locale문자열선택Lowercase language code with an optional uppercase country, such as en or en-US.
timeout숫자선택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_type문자열선택Restrict results to one entity type.
tripadvisor_domain문자열선택Supported first-party localized Tripadvisor hostname, such as www.tripadvisor.co.uk.
예시:
www.tripadvisor.com
코드 예제
$TOOLSWITCH_KEY를 콘솔에서 생성한 키로 바꾸세요.
curl -X GET 'https://toolswitch.dev/v1/tools/litescrape.tripadvisor.search.general?q=hotels+in+Austin+Texas' \
-H "X-Toolswitch-Key: $TOOLSWITCH_KEY"import os
import requests
response = requests.request(
"GET",
"https://toolswitch.dev/v1/tools/litescrape.tripadvisor.search.general?q=hotels+in+Austin+Texas",
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.search.general?q=hotels+in+Austin+Texas", {
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());게이트웨이 API는 미리보기 버전이며 URL과 인증 방식이 변경될 수 있습니다. 예제 매개변수는 샘플 데이터입니다. 호출 요금은 $0.00015/success이며 서비스 수수료가 포함되어 있습니다.