Place
Tripadvisor에서 장소 하나의 상세 정보를 가져옵니다.
GET | POST /v1/tripadvisor/place파라미터는 GET의 쿼리 문자열로도, POST의 JSON 본문으로도 보낼 수 있습니다. 둘은 같습니다.
요청
curl "https://gateway.apinoa.com/v1/tripadvisor/place?id=143336&country=US" \
-H "x-api-key: $APINOA_API_KEY"파라미터
| 파라미터 | 타입 | 필수 | 설명 |
|---|---|---|---|
country | enum | The market, as an ISO 3166 country code. US GB CA AU IN IE DE FR IT ES NL BR MX JP KR | |
id | string | The place's id, as places returns it (a Tripadvisor link is taken too). | |
lang | string | Interface language. | |
url | string | A Tripadvisor place link. |
같은 파라미터와 모든 응답 타입은 OpenAPI 문서에도 있습니다.
응답
data에 Place를 돌려줍니다. 실제 응답을 줄인 것입니다. 배열은 앞쪽 항목만 남기고 긴 텍스트는 잘랐습니다.
{
"success": true,
"data": {
"id": "143336",
"name": "Paris Las Vegas",
"url": "https://www.tripadvisor.com/Hotel_Review-g45963-d143336-Reviews-Paris_Las_Vegas-Las_Vegas_…",
"address": {
"street": "3655 S Las Vegas Blvd",
"city": "Las Vegas",
"region": "Nevada",
"postalCode": "89109",
"country": "US",
"full": "3655 S Las Vegas Blvd, Las Vegas, NV 89109"
},
"coordinates": {"lat": 36.11246, "lng": -115.17071},
"rating": 3.9,
"reviewCount": 40012,
"photos": ["https://dynamic-media-cdn.tripadvisor.com/media/photo-o/2f/ac/a0/69/paris-las-vegas.jpg?w=…"],
"description": "Paris Las Vegas Hotel - A Caesars Rewards Destination. Experience everything you love abou…",
"lang": "en",
"ext": {
"type": "hotel",
"placeType": "ACCOMMODATION",
"parent": {"id": "45963", "name": "Las Vegas"},
"neighborhoods": ["The Strip"],
"email": "totalrewards@custhelp.com",
"ratings": {
"starCounts": {"1": 2772, "2": 2833, "3": 5948, "4": 11959, "5": 16500},
"distribution": {"1": 6.93, "2": 7.08, "3": 14.87, "4": 29.89, "5": 41.24},
"subRatings": {
"activitiesAndGym": 3.5,
"cleanliness": 4.2,
"dining": 3.9,
"location": 4.7,
"pool": 3.7,
"room": 4,
"service": 3.9,
"sleep": 4.2,
"value": 3.9
}
},
"nearby": {
"neighborhood": {
"name": "The Strip",
"description": "Las Vegas Strip, a neon wonderland that never sleeps, is the epicenter of thrill and enter…"
},
"hotels": [
{
"id": "1639337",
"name": "Hilton Grand Vacations Club Elara Center Strip Las Vegas",
"url": "https://www.tripadvisor.com/Hotel_Review-g45963-d1639337-Reviews-Hilton_Grand_Vacations_Cl…",
"coordinates": {"lat": 36.10882, "lng": -115.16833},
"photo": "https://dynamic-media-cdn.tripadvisor.com/media/photo-o/15/22/91/ac/pool.jpg?w=4950&h=3300…",
"rating": 4.3,
"reviewCount": 8809,
"award": {"type": "COE", "year": 2026}
}
],
"attractions": [
{
"id": "553008",
"name": "Paris Las Vegas Wedding Chapel",
"url": "https://www.tripadvisor.com/Attraction_Review-g45963-d553008-Reviews-Paris_Las_Vegas_Weddi…",
"coordinates": {"lat": 36.112034, "lng": -115.171036},
"photo": "https://dynamic-media-cdn.tripadvisor.com/media/photo-o/28/fd/2d/eb/arc-de-triomphe.jpg?w=…",
"rating": 4.6,
"reviewCount": 55,
"distance": 0.034517966
}
],
"landmarks": [{"name": "Fountains of Bellagio"}],
"restaurantsUrl": "https://www.tripadvisor.com/RestaurantsNear-g45963-d143336-Paris_Las_Vegas-Las_Vegas_Nevad…",
"hotelsUrl": "https://www.tripadvisor.com/HotelsNear-g45963-d143336-Paris_Las_Vegas-Las_Vegas_Nevada.htm…",
"attractionsUrl": "https://www.tripadvisor.com/ClientLink?value=b0JIXy9BdHRyYWN0aW9uc19VMGU%3D"
},
"ranking": {
"text": "#164 of 261 hotels in Las Vegas",
"url": "https://www.tripadvisor.com/Hotels-g45963-a_sort.POPULARITY-Las_Vegas_Nevada-Hotels.html"
},
"hotel": {
"accommodationType": "T_HOTEL",
"categoryRanking": "#164 of 261 hotels in Las Vegas",
"starRating": {"tagIds": [9566], "source": "This property is classified according to Giata."},
"subRatings": {
"cleanliness": 4.190542,
"location": 4.6725383,
"rooms": 3.9813929,
"service": 3.9386554,
"sleepQuality": 4.166858,
"value": 3.9060726
},
"styles": [{"name": "Family", "rankInCity": 109, "score": 1.9675850720952188}],
"amenities": [{"group": "Room features", "label": "Blackout curtains", "category": "Comfort", "highlighted": true}],
"roomFeaturesUrl": "https://www.tripadvisor.com/Hotel_Feature-g45963-d143336-zft1-Paris_Las_Vegas.html",
"parents": [
{
"id": "45963",
"hotelsUrl": "https://www.tripadvisor.com/Hotels-g45963-Las_Vegas_Nevada-Hotels.html"
}
]
}
},
"attributes": [{"group": "Room features", "label": "Blackout curtains"}],
"verifiedOwner": true
}
}에러
| 상태 | 코드 | 의미 |
|---|---|---|
| 400 | INVALID_PARAMS | 파라미터가 없거나, 알 수 없거나, 범위를 벗어났거나, 이 엔진이 받지 않는 값입니다. 메시지에 이름이 나옵니다. |
| 401 | UNAUTHORIZED | x-api-key 헤더가 없거나, 폐기되었거나 알 수 없는 키입니다. |
| 402 | INSUFFICIENT_BALANCE | 잔액이 이 호출 비용에 모자랍니다. 대시보드에서 충전하세요. |
| 404 | NOT_FOUND | 장소가 없습니다. |
| 429 | MARKETPLACE_SATURATED | 동시 호출이 너무 많습니다. Retry-After 초만큼 기다린 뒤 다시 시도하세요. |
| 502 | UPSTREAM_ERROR | 엔진이 쓸 수 없는 응답을 보냈습니다. 간격을 두고 다시 시도하세요. |
| 503 | SERVICE_UNAVAILABLE | 일시적인 장애입니다. 간격을 두고 다시 시도하세요. |
모든 코드는 Errors에 있습니다. 실패한 호출은 과금되지 않습니다.
가격
가격 호출당 $0.0012. 정가 기준이며, 하루 1,000회를 넘으면 단가가 내려갑니다.
참고
places가 돌려준id를 넘기거나, Tripadvisor 링크를id나url로 넘깁니다.