{
  "opencollection": "1.0.0",
  "info": {
    "name": "Tripadvisor Content API",
    "version": "1.0"
  },
  "request": {
    "auth": {
      "type": "apikey",
      "key": "key",
      "value": "{{key}}",
      "placement": "query"
    }
  },
  "items": [
    {
      "info": {
        "name": "Location Search",
        "type": "folder"
      },
      "items": [
        {
          "info": {
            "name": "Search for Locations",
            "type": "http"
          },
          "http": {
            "method": "GET",
            "url": "https://api.content.tripadvisor.com/api/v1/location/search",
            "params": [
              {
                "name": "searchQuery",
                "value": "",
                "type": "query",
                "description": "The text query to search for matching locations."
              },
              {
                "name": "category",
                "value": "",
                "type": "query",
                "description": "Filter results by location category type."
              },
              {
                "name": "phone",
                "value": "",
                "type": "query",
                "description": "Phone number to search for a specific location."
              },
              {
                "name": "address",
                "value": "",
                "type": "query",
                "description": "Address string to improve search accuracy."
              },
              {
                "name": "latLong",
                "value": "",
                "type": "query",
                "description": "Latitude and longitude pair to bias search results toward a specific geographic area. Format is latitude,longitude."
              },
              {
                "name": "radius",
                "value": "",
                "type": "query",
                "description": "The radius distance from the latLong point to filter results."
              },
              {
                "name": "radiusUnit",
                "value": "",
                "type": "query",
                "description": "The unit of measurement for the radius parameter."
              },
              {
                "name": "language",
                "value": "",
                "type": "query",
                "description": "The language code for the response content. Tripadvisor supports 29 languages."
              }
            ]
          },
          "docs": "Returns up to 10 locations found by the given search query. You can use category, phone number, address, and latitude/longitude to search with more accuracy. Locations include hotels, restaurants, and attractions."
        },
        {
          "info": {
            "name": "Search for Nearby Locations",
            "type": "http"
          },
          "http": {
            "method": "GET",
            "url": "https://api.content.tripadvisor.com/api/v1/location/nearby_search",
            "params": [
              {
                "name": "latLong",
                "value": "",
                "type": "query",
                "description": "Latitude and longitude pair for the center of the nearby search. Format is latitude,longitude."
              },
              {
                "name": "category",
                "value": "",
                "type": "query",
                "description": "Filter results by location category type."
              },
              {
                "name": "phone",
                "value": "",
                "type": "query",
                "description": "Phone number to search for a specific location."
              },
              {
                "name": "address",
                "value": "",
                "type": "query",
                "description": "Address string to improve search accuracy."
              },
              {
                "name": "radius",
                "value": "",
                "type": "query",
                "description": "The radius distance from the latLong point to filter results."
              },
              {
                "name": "radiusUnit",
                "value": "",
                "type": "query",
                "description": "The unit of measurement for the radius parameter."
              },
              {
                "name": "language",
                "value": "",
                "type": "query",
                "description": "The language code for the response content. Tripadvisor supports 29 languages."
              }
            ]
          },
          "docs": "Returns up to 10 locations found near the given latitude and longitude. You can use category, phone number, and address to search with more accuracy. Useful for finding hotels, restaurants, and attractions in proximity to a specific geographic point."
        }
      ]
    },
    {
      "info": {
        "name": "Location Details",
        "type": "folder"
      },
      "items": [
        {
          "info": {
            "name": "Get Location Details",
            "type": "http"
          },
          "http": {
            "method": "GET",
            "url": "https://api.content.tripadvisor.com/api/v1/location/:locationId/details",
            "params": [
              {
                "name": "locationId",
                "value": "",
                "type": "path",
                "description": "The unique identifier for a Tripadvisor location (hotel, restaurant, or attraction)."
              },
              {
                "name": "language",
                "value": "",
                "type": "query",
                "description": "The language code for the response content. Tripadvisor supports 29 languages."
              },
              {
                "name": "currency",
                "value": "",
                "type": "query",
                "description": "The currency code for pricing information in the response."
              }
            ]
          },
          "docs": "Returns comprehensive information about a specific location such as name, address, rating, ranking, and URLs for the listing on Tripadvisor. Works for hotels, restaurants, and attractions."
        }
      ]
    },
    {
      "info": {
        "name": "Location Photos",
        "type": "folder"
      },
      "items": [
        {
          "info": {
            "name": "Get Location Photos",
            "type": "http"
          },
          "http": {
            "method": "GET",
            "url": "https://api.content.tripadvisor.com/api/v1/location/:locationId/photos",
            "params": [
              {
                "name": "locationId",
                "value": "",
                "type": "path",
                "description": "The unique identifier for a Tripadvisor location (hotel, restaurant, or attraction)."
              },
              {
                "name": "language",
                "value": "",
                "type": "query",
                "description": "The language code for the response content. Tripadvisor supports 29 languages."
              }
            ]
          },
          "docs": "Returns up to 5 high-quality recent photos for a specific location. Photos are available in multiple sizes including thumbnail (50x50), small (150x150), medium (max 250px), large (max 550px), and original resolution."
        }
      ]
    },
    {
      "info": {
        "name": "Location Reviews",
        "type": "folder"
      },
      "items": [
        {
          "info": {
            "name": "Get Location Reviews",
            "type": "http"
          },
          "http": {
            "method": "GET",
            "url": "https://api.content.tripadvisor.com/api/v1/location/:locationId/reviews",
            "params": [
              {
                "name": "locationId",
                "value": "",
                "type": "path",
                "description": "The unique identifier for a Tripadvisor location (hotel, restaurant, or attraction)."
              },
              {
                "name": "language",
                "value": "",
                "type": "query",
                "description": "The language code for the response content. Tripadvisor supports 29 languages."
              }
            ]
          },
          "docs": "Returns up to 5 of the most recent reviews for a specific location. Includes review text, rating, title, publication date, and information about the reviewer."
        }
      ]
    }
  ],
  "bundled": true
}