Apinoa Docs

Places

Tripadvisor에서 장소를 찾습니다.

원본 .mdx 보기
GET | POST /v1/tripadvisor/places

파라미터는 GET의 쿼리 문자열로도, POST의 JSON 본문으로도 보낼 수 있습니다. 둘은 같습니다.

요청

curl "https://gateway.apinoa.com/v1/tripadvisor/places?q=hotels&category=hotels&near=Paris&country=US&limit=5" \
  -H "x-api-key: $APINOA_API_KEY"

파라미터

파라미터타입필수설명
categoryenumWhat to list: everything (default), restaurants, hotels, attractions (things to do, tours included), tours, destinations or airlines. all restaurants hotels attractions tours destinations airlines
countryenumThe market, as an ISO 3166 country code. US GB CA AU IN IE DE FR IT ES NL BR MX JP KR
cursorstringThe previous page's cursor. Pass it alone for the next page.
langstringInterface language.
limitinteger 1–120Results wanted (default 30, at most 120). More than one page is charged per page.
locationstringSearch as if from this point: lat,lng.
nearstringSearch around this place name, or a lat,lng point.
qstringThe query, search operators included.

같은 파라미터와 모든 응답 타입은 OpenAPI 문서에도 있습니다.

응답

data에 PlacesPage를 돌려줍니다. 실제 응답을 줄인 것입니다. 배열은 앞쪽 항목만 남기고 긴 텍스트는 잘랐습니다.

{
  "success": true,
  "data": {
    "engine": "tripadvisor",
    "query": "hotels",
    "outcome": "results",
    "near": "Paris",
    "country": "US",
    "lang": "en",
    "places": [
      {
        "id": "143336",
        "name": "Paris Las Vegas",
        "url": "https://www.tripadvisor.com/Hotel_Review-g45963-d143336-Reviews-Paris_Las_Vegas-Las_Vegas_Nevada.html",
        "categories": ["Hotel"],
        "rating": 3.9,
        "reviewCount": 40012,
        "photos": [
          "https://dynamic-media-cdn.tripadvisor.com/media/photo-o/2f/ac/a0/69/paris-las-vegas.jpg?w=1280&h=1103&s=1"
        ],
        "description": "Paris Las Vegas Hotel - A Caesars Rewards Destination. Experience everything you love about Paris, in the heart of the Las Vegas Strip. The city of lights shine…",
        "lang": "en",
        "ext": {
          "type": "hotel",
          "kind": "Hotel",
          "area": "Las Vegas, Nevada",
          "snippet": {
            "text": "But, I tought I scored a good deal on the site of Hotel Paris itself.",
            "highlights": [{"offset": 50, "length": 5}]
          },
          "mentions": 11474
        }
      },
      {
        "id": "228694",
        "name": "Hôtel Malte - Astotel",
        "url": "https://www.tripadvisor.com/Hotel_Review-g187147-d228694-Reviews-Hotel_Malte_Astotel-Paris_Ile_de_France.html",
        "categories": ["Hotel"],
        "rating": 4.9,
        "reviewCount": 3979,
        "photos": [
          "https://dynamic-media-cdn.tripadvisor.com/media/photo-o/33/44/57/47/breakfast-room.jpg?w=3100&h=2069&s=1"
        ],
        "description": "Located in the 2nd district next to the Stock Exchange, the Louvre and Place des Victoires, Hotel Malta provides a superb location for a memorable stay. Whether…",
        "lang": "en",
        "ext": {
          "type": "hotel",
          "kind": "Hotel",
          "area": "Paris, Ile-de-France, France",
          "snippet": {"text": "my favorite hotels in Paris.", "highlights": [{"offset": 12, "length": 6}]},
          "mentions": 1124
        }
      }
    ],
    "page": {"index": 1, "size": 30},
    "cursor": "mqcJOnHYbpBCunJIJ48vsmO-A5Os86AMsBlRwIKCGcjSCmu8wlAMK_qtGDrHUEyUilfZgT3-p7E8hFKOOKxWfDJYjjCqVQ5N8fTuGjLS6qvzKcKvxvsSJIjXemS4ncyeRCqsaRVN9KB5h_6R6P6vIFPoYJjWrTyO…",
    "fetchedAt": "2026-10-30T01:02:43.549Z",
    "ext": {
      "category": "hotels",
      "scope": {"type": "world"},
      "sections": [
        {
          "type": "listPreview",
          "contentType": "HOTELS",
          "title": "Hotels in Paris",
          "url": "https://www.tripadvisor.com/Hotels-g187147-Paris_Ile_de_France-Hotels.html",
          "geo": {
            "id": "187147",
            "name": "Paris",
            "url": "https://www.tripadvisor.com/Tourism-g187147-Paris_Ile_de_France-Vacations.html",
            "area": "Ile-de-France, France",
            "description": "Lingering over pain au chocolat in a sidewalk café, relaxing after a day of strolling along the Seine and marveling at icons like the Eiffel Tower and the Arc d…",
            "photo": "https://dynamic-media-cdn.tripadvisor.com/media/photo-o/17/15/6d/d6/paris.jpg?w=3575&h=2600&s=1"
          }
        }
      ]
    }
  }
}

에러

상태코드의미
400INVALID_CURSOR이 오퍼레이션이 돌려준 cursor가 아닙니다. cursor 없이 처음부터 다시 호출하세요.
400INVALID_PARAMS파라미터가 없거나, 알 수 없거나, 범위를 벗어났거나, 이 엔진이 받지 않는 값입니다. 메시지에 이름이 나옵니다.
401UNAUTHORIZEDx-api-key 헤더가 없거나, 폐기되었거나 알 수 없는 키입니다.
402INSUFFICIENT_BALANCE잔액이 이 호출 비용에 모자랍니다. 대시보드에서 충전하세요.
429MARKETPLACE_SATURATED동시 호출이 너무 많습니다. Retry-After 초만큼 기다린 뒤 다시 시도하세요.
502UPSTREAM_ERROR엔진이 쓸 수 없는 응답을 보냈습니다. 간격을 두고 다시 시도하세요.
503SERVICE_UNAVAILABLE일시적인 장애입니다. 간격을 두고 다시 시도하세요.

모든 코드는 Errors에 있습니다. 실패한 호출은 과금되지 않습니다.

가격

가격 호출당 $0.0012, 추가 호출마다 $0.0012 — 최대 3번 더, 합계 최대 $0.0048. 정가 기준이며, 하루 1,000회를 넘으면 단가가 내려갑니다.

참고

  • category로 무엇을 나열할지 고릅니다. 식당, 호텔, 명소, 투어, 여행지, 항공사가 있습니다.
  • limit이 한 페이지보다 크면 다음 페이지들도 읽으며, 페이지마다 1단위입니다.

이 페이지 내용