> ## Documentation Index
> Fetch the complete documentation index at: https://composio-preview.mintlify.site/llms.txt
> Use this file to discover all available pages before exploring further.

# TripAdvisor Content API

> The Tripadvisor Content API provides developers with access to extensive travel data including locations, reviews, photos, and ratings.

![TripAdvisor Content API logo](https://mintcdn.com/composio-preview/IA0_SoMcsWt17HEC/images/toolkits/tripadvisor_content_api.svg?fit=max\&auto=format\&n=IA0_SoMcsWt17HEC\&q=85\&s=9d2b2af6d5a6957e211ef5904b7ffea4)

* **Category:** reviews
* **Auth:** API\_KEY
* **Composio-managed OAuth available?** N/A
* **Tools:** 5
* **Triggers:** 0
* **Slug:** `TRIPADVISOR_CONTENT_API`
* **Version:** 20261101\_00

## Tools

> [accordion] Get Location Details
>
> **Slug:** `TRIPADVISOR_CONTENT_API_GET_LOCATION_DETAILS`
>
> Tool to get comprehensive information about a location (hotel, restaurant, or attraction) including name, address, rating, and contact details. Use when you need detailed information about a specific TripAdvisor location.
>
> #### Input Parameters
>
> **currency** `string`
>
> The currency code to use for request and response (should follow ISO 4217).
>
> **language** `string`
>
> The language in which to return results (e.g. 'en' for English or 'es' for Spanish) from the list of Supported Languages.
>
> **location\_id** `string` *required*
>
> A unique identifier for a location on Tripadvisor. The location ID can be obtained using the Location Search.
>
> #### Output
>
> **data** `string` *required*
>
> Data from the action execution
>
> **error** `string`
>
> Error if any occurred during the execution of the action
>
> **successful** `boolean` *required*
>
> Whether or not the action execution was successful or not

> [accordion] Get Location Photos (Enhanced)
>
> **Slug:** `TRIPADVISOR_CONTENT_API_GET_LOCATION_PHOTOS_V2`
>
> Tool to retrieve up to 5 high-quality photos for a specific location with complete metadata and pagination support. Use when you need detailed photo information including user details, source filtering, and pagination. Photos are ordered by recency.
>
> #### Input Parameters
>
> **limit** `integer`
>
> The number of results to return (maximum 5 photos per request)
>
> **offset** `integer`
>
> The index of the first result for pagination
>
> **source** `string`
>
> A comma-separated list of allowed photo sources. Allowed values are 'Expert', 'Management', 'Traveler'
>
> **language** `string`
>
> The language in which to return results (e.g. 'en' for English or 'es' for Spanish) from the list of Supported Languages.
>
> **locationId** `integer` *required*
>
> A unique identifier for a location on Tripadvisor. The location ID can be obtained using the Location Search.
>
> #### Output
>
> **data** `string` *required*
>
> Data from the action execution
>
> **error** `string`
>
> Error if any occurred during the execution of the action
>
> **successful** `boolean` *required*
>
> Whether or not the action execution was successful or not

> [accordion] Get Location Reviews
>
> **Slug:** `TRIPADVISOR_CONTENT_API_GET_LOCATION_REVIEWS`
>
> Tool to retrieve up to 5 of the most recent reviews for a specific location. Use when you need customer feedback, ratings, or review content for a TripAdvisor location.
>
> #### Input Parameters
>
> **limit** `integer`
>
> The number of results to return (max 100)
>
> **offset** `integer`
>
> The index of the first result for pagination
>
> **language** `string`
>
> The language in which to return results (e.g. 'en' for English or 'es' for Spanish) from the list of Supported Languages.
>
> **locationId** `string` *required*
>
> A unique identifier for a location on Tripadvisor. The location ID can be obtained using the Location Search.
>
> #### Output
>
> **data** `string` *required*
>
> Data from the action execution
>
> **error** `string`
>
> Error if any occurred during the execution of the action
>
> **successful** `boolean` *required*
>
> Whether or not the action execution was successful or not

> [accordion] Search Locations (Advanced)
>
> **Slug:** `TRIPADVISOR_CONTENT_API_SEARCH_LOCATIONS2`
>
> Search for Tripadvisor locations by name, with optional filters for category, phone, address, coordinates, and radius.
>
> #### Input Parameters
>
> **phone** `string`
>
> Phone number to filter the search results by (this can be in any format with spaces and dashes but without the '+' sign at the beginning)
>
> **radius** `number`
>
> Length of the radius from the provided latitude/longitude pair to filter results
>
> **address** `string`
>
> Address to filter the search results by
>
> **latLong** `string`
>
> Latitude/Longitude pair to scope down the search around a specific point - e.g. "42.3455,-71.10767"
>
> **category** `string ("hotels" | "attractions" | "restaurants" | "geos")`
>
> Valid category types for filtering location searches.
>
> **language** `string ("ar" | "zh" | "zh_TW" | "da" | "nl" | "en_AU" | "en_CA" | "en_HK" | "en_IN" | "en_IE" | "en_MY" | "en_NZ" | "en_PH" | "en_SG" | "en_ZA" | "en_UK" | "en" | "fr" | "fr_BE" | "fr_CA" | "fr_CH" | "de_AT" | "de" | "el" | "iw" | "in" | "it" | "it_CH" | "ja" | "ko" | "no" | "pt_PT" | "pt" | "ru" | "es_AR" | "es_CO" | "es_MX" | "es_PE" | "es" | "es_VE" | "es_CL" | "sv" | "th" | "tr" | "vi")`
>
> Supported language codes for TripAdvisor Content API.
>
> **radiusUnit** `string ("km" | "mi" | "m")`
>
> Valid radius unit types for distance-based filtering.
>
> **searchQuery** `string` *required*
>
> Text to use for searching based on the name of the location
>
> #### Output
>
> **data** `string` *required*
>
> Data from the action execution
>
> **error** `string`
>
> Error if any occurred during the execution of the action
>
> **successful** `boolean` *required*
>
> Whether or not the action execution was successful or not

> [accordion] Search Nearby Locations
>
> **Slug:** `TRIPADVISOR_CONTENT_API_SEARCH_NEARBY_LOCATIONS`
>
> Tool to search for locations near a specified latitude/longitude. Returns up to 10 locations with optional filtering by category, phone, or address.
>
> #### Input Parameters
>
> **phone** `string`
>
> Phone number to filter the search results by. Can be in any format with spaces and dashes but without the '+' sign at the beginning
>
> **radius** `string`
>
> Length of the radius from the provided latitude/longitude pair to filter results
>
> **address** `string`
>
> Address to filter the search results by
>
> **latLong** `string` *required*
>
> Latitude/Longitude pair to scope down the search around a specific point. Format: "latitude,longitude" (e.g., "42.3455,-71.10767")
>
> **category** `string ("hotels" | "attractions" | "restaurants" | "geos")`
>
> Valid category types for filtering nearby locations.
>
> **language** `string ("ar" | "zh" | "zh_TW" | "da" | "nl" | "en_AU" | "en_CA" | "en_HK" | "en_IN" | "en_IE" | "en_MY" | "en_NZ" | "en_PH" | "en_SG" | "en_ZA" | "en_UK" | "en" | "fr" | "fr_BE" | "fr_CA" | "fr_CH" | "de_AT" | "de" | "el" | "iw" | "in" | "it" | "it_CH" | "ja" | "ko" | "no" | "pt_PT" | "pt" | "ru" | "es_AR" | "es_CO" | "es_MX" | "es_PE" | "es" | "es_VE" | "es_CL" | "sv" | "th" | "tr" | "vi")`
>
> Supported language codes for TripAdvisor API.
>
> **radiusUnit** `string ("km" | "mi" | "m")`
>
> Valid units for the search radius.
>
> #### Output
>
> **data** `string` *required*
>
> Data from the action execution
>
> **error** `string`
>
> Error if any occurred during the execution of the action
>
> **successful** `boolean` *required*
>
> Whether or not the action execution was successful or not
