Get the trip advisor, along with location details, comment and photos
This widget supports multiple actions. For a more comprehensive understanding of its functionality, we recommend reviewing the following documentation carefully.
You need to pass both the action and other input parameters of the chosen action to your module_config
Try it in the Widget Center
Click this url to try this widget and copy the Pro Config template.
Usage
Search Location by Query
actionsearch_location
Input Parameters
Name
Type
Description
Default
Required
action
string
The action to perform. Valid options are 'search_location', 'location_details', 'location_reviews', 'location_photos', 'search_nearby_location'
search_location
query
string
Text to use for searching based on the name of the location
category
string
Filters result set based on property type. Valid options are "hotels", "attractions", "restaurants", and "geos"
hotels
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)
address
string
Address to filter the search results by
lat_long
string
Latitude/Longitude pair to scope down the search around a specifc point - eg. "42.3455,-71.10767"
37.7749,-122.4194
radius
string
Length of the radius from the provided latitude/longitude pair to filter results.
radius_unit
string
Unit for length of the radius. Valid options are "km", "mi", "m" (km=kilometers, mi=miles, m=meters)
km
language
string
The language in which to return results (e.g. "en" for English or "es" for Spanish) from the list of our Supported Languages.
en
Output Parameters
Name
Type
Description
File Type
data
array
The data returned by the TripAdvisor
Output Example
Get Location Details
actionlocation_details
Input Parameters
Name
Type
Description
Default
Required
action
string
The action to perform. Valid options are 'search_location', 'location_details', 'location_reviews', 'location_photos', 'search_nearby_location'
location_details
location_id
string
The location ID to get details for
language
string
The language in which to return results (e.g. "en" for English or "es" for Spanish) from the list of our Supported Languages.
en
currency
string
The currency code to use for request and response (should follow ISO 4217).
USD
Output Parameters
Name
Type
Description
File Type
data
array
The data returned by the TripAdvisor
Output Example
Get Location Reviews
actionlocation_reviews
Input Parameters
Name
Type
Description
Default
Required
action
string
The action to perform. Valid options are 'search_location', 'location_details', 'location_reviews', 'location_photos', 'search_nearby_location
location_reviews
location_id
string
The location ID to get details for
language
string
The language in which to return results (e.g. "en" for English or "es" for Spanish) from the list of our Supported Languages.
en
limit
integer
The number of reviews to return
5
offset
integer
The number of reviews to skip
0
Output Parameters
Name
Type
Description
File Type
data
array
The data returned by the TripAdvisor
Output Example
Get Location Photos
actionlocation_photos
Input Parameters
Name
Type
Description
Default
Required
action
string
The action to perform. Valid options are 'search_location', 'location_details', 'location_reviews', 'location_photos', 'search_nearby_location'
location_photos
location_id
string
The location ID to get details for
language
string
The language in which to return results (e.g. "en" for English or "es" for Spanish) from the list of our Supported Languages.
en
limit
integer
The number of reviews to return
5
offset
integer
The number of reviews to skip
0
source
string
A comma-separated list of allowed photo sources. Allowed values are 'Expert', 'Management', 'Traveler'. If not specified, allow photos from all sources.
Output Parameters
Name
Type
Description
File Type
data
array
The data returned by the TripAdvisor
Output Example
Search Nearby Location
actionsearch_nearby_location
Input Parameters
Name
Type
Description
Default
Required
action
string
The action to perform. Valid options are 'search_location', 'location_details', 'location_reviews', 'location_photos', 'search_nearby_location'
search_nearby_location
lat_long
string
Latitude/Longitude pair to scope down the search around a specifc point - eg. "42.3455,-71.10767"
37.7749,-122.4194
category
string
Filters result set based on property type. Valid options are "hotels", "attractions", "restaurants", and "geos"
hotels
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)
address
string
Address to filter the search results by
radius
string
Length of the radius from the provided latitude/longitude pair to filter results.
radius_unit
string
Unit for length of the radius. Valid options are "km", "mi", "m" (km=kilometers, mi=miles, m=meters)
km
language
string
The language in which to return results (e.g. "en" for English or "es" for Spanish) from the list of our Supported Languages.
{
"data": [
{
"id": 948421388,
"lang": "en",
"location_id": 80793,
"published_date": "2024-04-26T20:32:44Z",
"rating": 5,
"helpful_votes": 0,
"rating_image_url": "https://www.tripadvisor.com/img/cdsi/img2/ratings/traveler/s5.0-66827-5.svg",
"url": "https://www.tripadvisor.com/ShowUserReviews-g60713-d80793-r948421388-Reviews-Hotel_Nikko_San_Francisco-San_Francisco_California.html?m=66827#review948421388",
"text": "We went to several hotels over three weeks during our trip to the West Coast and this was my favourite room by far and we did stay in really lovely hotels! The room was comfortable, clean, cosy and had every mod con ie USB ports by the bed and had the most fantastic toilet I’ve ever seen in my life when you walked into the bathroom the toilet started cleaning itself before you even sat down and had a heated seat and even a remote control too 🤪 the hotel was in a superb central location, staff were friendly and helpful. Not that we had any reason to speak to them very much and I’m delighted that we picked this hotel.",
"title": "Fabulous hotel in Central location",
"trip_type": "Couples",
"travel_date": "2024-04-30",
"user": {
"username": "t4nse",
"user_location": {
"id": "672161",
"name": "Borehamwood, Hertfordshire, England"
},
"avatar": {
"thumbnail": "https://media-cdn.tripadvisor.com/media/photo-t/1c/60/5c/11/avatar.jpg",
"small": "https://media-cdn.tripadvisor.com/media/photo-l/1c/60/5c/11/avatar.jpg",
"medium": "https://media-cdn.tripadvisor.com/media/photo-f/1c/60/5c/11/avatar.jpg",
"large": "https://media-cdn.tripadvisor.com/media/photo-s/1c/60/5c/11/avatar.jpg"
}
},
"subratings": {}
},
{
"id": 947997768,
"lang": "en",
"location_id": 80793,
"published_date": "2024-04-23T12:57:57Z",
"rating": 5,
"helpful_votes": 0,
"rating_image_url": "https://www.tripadvisor.com/img/cdsi/img2/ratings/traveler/s5.0-66827-5.svg",
"url": "https://www.tripadvisor.com/ShowUserReviews-g60713-d80793-r947997768-Reviews-Hotel_Nikko_San_Francisco-San_Francisco_California.html?m=66827#review947997768",
"text": "Wonderful hotel. Rooms were very comfortable. Shower and toilet were a little confusing (shower fixture and electric toilet). But enjoyed my stay. Lots of places to eat and a block away from the cable car and other transportation. Hotel is in an overall good location but we were cautioned about certain streets. But I felt safe the whole time.",
"title": "Conference attendance",
"trip_type": "Business",
"travel_date": "2024-04-30",
"user": {
"username": "994germaine",
"user_location": {
"id": "null"
},
"avatar": {
"thumbnail": "https://media-cdn.tripadvisor.com/media/photo-t/1a/f6/e4/a9/default-avatar-2020-50.jpg",
"small": "https://media-cdn.tripadvisor.com/media/photo-l/1a/f6/e4/a9/default-avatar-2020-50.jpg",
"medium": "https://media-cdn.tripadvisor.com/media/photo-f/1a/f6/e4/a9/default-avatar-2020-50.jpg",
"large": "https://media-cdn.tripadvisor.com/media/photo-p/1a/f6/e4/a9/default-avatar-2020-50.jpg",
"original": "https://media-cdn.tripadvisor.com/media/photo-o/1a/f6/e4/a9/default-avatar-2020-50.jpg"
}
},
"subratings": {
"0": {
"name": "RATE_VALUE",
"rating_image_url": "https://www.tripadvisor.com/img/cdsi/img2/ratings/traveler/s5.0-66827-5.svg",
"value": 5,
"localized_name": "Value"
},
"1": {
"name": "RATE_ROOM",
"rating_image_url": "https://www.tripadvisor.com/img/cdsi/img2/ratings/traveler/s5.0-66827-5.svg",
"value": 5,
"localized_name": "Rooms"
},
"2": {
"name": "RATE_LOCATION",
"rating_image_url": "https://www.tripadvisor.com/img/cdsi/img2/ratings/traveler/s4.0-66827-5.svg",
"value": 4,
"localized_name": "Location"
},
"3": {
"name": "RATE_CLEANLINESS",
"rating_image_url": "https://www.tripadvisor.com/img/cdsi/img2/ratings/traveler/s5.0-66827-5.svg",
"value": 5,
"localized_name": "Cleanliness"
},
"4": {
"name": "RATE_SERVICE",
"rating_image_url": "https://www.tripadvisor.com/img/cdsi/img2/ratings/traveler/s5.0-66827-5.svg",
"value": 5,
"localized_name": "Service"
},
"5": {
"name": "RATE_SLEEP",
"rating_image_url": "https://www.tripadvisor.com/img/cdsi/img2/ratings/traveler/s5.0-66827-5.svg",
"value": 5,
"localized_name": "Sleep Quality"
}
},
"owner_response": {
"id": 948025528,
"title": "Owner response",
"text": "Good Day,\nThank you for taking the time to submit a review of your recent stay at the Hotel Nikko San Francisco. Your feedback is essential in helping the team at the hotel Nikko to offer a service that promotes Fantastic Memories. We are delighted to hear that you enjoyed your stay, and we are looking forward to welcoming you back to the Hotel Nikko upon a future trip to San Francisco. Please do not hesitate to contact us if there is anything the team can do to make your next trip memorable.\nSincerely, The Quality Assurance and Guest Experience Team",
"lang": "en",
"author": "Philippe Striffeler",
"published_date": "2024-04-23T17:19:58Z"
}
},
{
"id": 947873358,
"lang": "en",
"location_id": 80793,
"published_date": "2024-04-22T13:23:51Z",
"rating": 5,
"helpful_votes": 0,
"rating_image_url": "https://www.tripadvisor.com/img/cdsi/img2/ratings/traveler/s5.0-66827-5.svg",
"url": "https://www.tripadvisor.com/ShowUserReviews-g60713-d80793-r947873358-Reviews-Hotel_Nikko_San_Francisco-San_Francisco_California.html?m=66827#review947873358",
"text": "Our stay starts at arrival with a warm welcome by an attentive doorman and bellman. The bellman hands you a card to pass on to the desk reception and directs you to an escalator up to reception. At reception you are efficiently identified and charged the customary fees up front and within seconds you are on your way to your room and your bags are delivered minutes later.\n\nThe space was clean, quiet, comfortable with a Zen like experience intended to evoke calmness to your senses. Did I mention clean? There are no odd odors. You have a sitting area, comfortable bed, dual environmental controls, separate shower and tub in the bath, and reusable water bottles with access to filtered water next to the floor's ice machine. There is one annoyance. The bidet \"recycles\" about 30 seconds after use. In a space you could hear a pin drop it is curious to hear it for the 1st time after returning to bed. Not a biggie. Remember there are no background city noises.\n\nRoom service. The hallmark of only the finest hotels. An excellent breakfast delivered within the minutes you have requested it is the ultimate start of your day. White linen wrapped toast anyone?\n\nOn leaving, ask the desk for a bag pickup and the bill preparation and there are no surprises if you pay attention with what you have charged the room on checkout.\n\nEvery request I made was answered and ended with \"Is there anything else you require?\" You can spend less and far more for accommodations but not certain it can get any better.",
"title": "A quiet serene stay on the 20th floor in a corner space.",
"trip_type": "NONE",
"travel_date": "2024-04-30",
"user": {
"username": "edwardlB50JR",
"user_location": {
"id": "null"
},
"avatar": {
"thumbnail": "https://media-cdn.tripadvisor.com/media/photo-t/1a/f6/f0/9f/default-avatar-2020-16.jpg",
"small": "https://media-cdn.tripadvisor.com/media/photo-l/1a/f6/f0/9f/default-avatar-2020-16.jpg",
"medium": "https://media-cdn.tripadvisor.com/media/photo-f/1a/f6/f0/9f/default-avatar-2020-16.jpg",
"large": "https://media-cdn.tripadvisor.com/media/photo-p/1a/f6/f0/9f/default-avatar-2020-16.jpg",
"original": "https://media-cdn.tripadvisor.com/media/photo-o/1a/f6/f0/9f/default-avatar-2020-16.jpg"
}
},
"subratings": {
"0": {
"name": "RATE_VALUE",
"rating_image_url": "https://www.tripadvisor.com/img/cdsi/img2/ratings/traveler/s5.0-66827-5.svg",
"value": 5,
"localized_name": "Value"
},
"1": {
"name": "RATE_ROOM",
"rating_image_url": "https://www.tripadvisor.com/img/cdsi/img2/ratings/traveler/s5.0-66827-5.svg",
"value": 5,
"localized_name": "Rooms"
},
"2": {
"name": "RATE_LOCATION",
"rating_image_url": "https://www.tripadvisor.com/img/cdsi/img2/ratings/traveler/s5.0-66827-5.svg",
"value": 5,
"localized_name": "Location"
},
"3": {
"name": "RATE_CLEANLINESS",
"rating_image_url": "https://www.tripadvisor.com/img/cdsi/img2/ratings/traveler/s5.0-66827-5.svg",
"value": 5,
"localized_name": "Cleanliness"
},
"4": {
"name": "RATE_SERVICE",
"rating_image_url": "https://www.tripadvisor.com/img/cdsi/img2/ratings/traveler/s5.0-66827-5.svg",
"value": 5,
"localized_name": "Service"
},
"5": {
"name": "RATE_SLEEP",
"rating_image_url": "https://www.tripadvisor.com/img/cdsi/img2/ratings/traveler/s5.0-66827-5.svg",
"value": 5,
"localized_name": "Sleep Quality"
}
},
"owner_response": {
"id": 948025515,
"title": "Owner response",
"text": "Good Day,\nThank you for taking the time to submit a review of your recent stay at the Hotel Nikko San Francisco. Your feedback is essential in helping the team at the hotel Nikko to offer a service that promotes Fantastic Memories. We are delighted to hear that you enjoyed your stay, and we are looking forward to welcoming you back to the Hotel Nikko upon a future trip to San Francisco. Please do not hesitate to contact us if there is anything the team can do to make your next trip memorable.\nSincerely, The Quality Assurance and Guest Experience Team",
"lang": "en",
"author": "Philippe Striffeler",
"published_date": "2024-04-23T17:19:45Z"
}
},
{
"id": 947729492,
"lang": "en",
"location_id": 80793,
"published_date": "2024-04-21T13:54:36Z",
"rating": 5,
"helpful_votes": 0,
"rating_image_url": "https://www.tripadvisor.com/img/cdsi/img2/ratings/traveler/s5.0-66827-5.svg",
"url": "https://www.tripadvisor.com/ShowUserReviews-g60713-d80793-r947729492-Reviews-Hotel_Nikko_San_Francisco-San_Francisco_California.html?m=66827#review947729492",
"text": "Wonderful stay on Imperial floor. Luis in Imperial Lounge at breakfast provided extraordinary service and made each guest feel like family. Room was quiet with glorious view. Beautiful design including a magnificent Japanese type design bathroom with both fabulous shower and a separate tub. Housekeeping was equally top notch as well as concierge. Thank you for a restful stay. Also we liking Durance to SFMOMA and to a range of restaurants. A top notch stay. Can’t wait to return!!",
"title": "Outstanding stay & outstanding service!!!",
"trip_type": "Solo travel",
"travel_date": "2024-03-31",
"user": {
"username": "830nanettel",
"user_location": {
"id": "41003",
"name": "Bethesda, Montgomery County, Maryland"
},
"avatar": {
"thumbnail": "https://media-cdn.tripadvisor.com/media/photo-t/1a/f6/e5/66/default-avatar-2020-53.jpg",
"small": "https://media-cdn.tripadvisor.com/media/photo-l/1a/f6/e5/66/default-avatar-2020-53.jpg",
"medium": "https://media-cdn.tripadvisor.com/media/photo-f/1a/f6/e5/66/default-avatar-2020-53.jpg",
"large": "https://media-cdn.tripadvisor.com/media/photo-p/1a/f6/e5/66/default-avatar-2020-53.jpg",
"original": "https://media-cdn.tripadvisor.com/media/photo-o/1a/f6/e5/66/default-avatar-2020-53.jpg"
}
},
"subratings": {
"0": {
"name": "RATE_VALUE",
"rating_image_url": "https://www.tripadvisor.com/img/cdsi/img2/ratings/traveler/s4.0-66827-5.svg",
"value": 4,
"localized_name": "Value"
},
"1": {
"name": "RATE_ROOM",
"rating_image_url": "https://www.tripadvisor.com/img/cdsi/img2/ratings/traveler/s5.0-66827-5.svg",
"value": 5,
"localized_name": "Rooms"
},
"2": {
"name": "RATE_CLEANLINESS",
"rating_image_url": "https://www.tripadvisor.com/img/cdsi/img2/ratings/traveler/s5.0-66827-5.svg",
"value": 5,
"localized_name": "Cleanliness"
},
"3": {
"name": "RATE_SERVICE",
"rating_image_url": "https://www.tripadvisor.com/img/cdsi/img2/ratings/traveler/s5.0-66827-5.svg",
"value": 5,
"localized_name": "Service"
},
"4": {
"name": "RATE_SLEEP",
"rating_image_url": "https://www.tripadvisor.com/img/cdsi/img2/ratings/traveler/s5.0-66827-5.svg",
"value": 5,
"localized_name": "Sleep Quality"
}
},
"owner_response": {
"id": 947858026,
"title": "Owner response",
"text": "Good Day,\nThank you for taking the time to submit a review of your recent stay at the Hotel Nikko San Francisco. Your feedback is essential in helping the team at the hotel Nikko to offer a service that promotes Fantastic Memories. We are delighted to hear that you enjoyed your stay, and we are looking forward to welcoming you back to the Hotel Nikko upon a future trip to San Francisco. Please do not hesitate to contact us if there is anything the team can do to make your next trip memorable.\nSincerely, The Quality Assurance and Guest Experience Team",
"lang": "en",
"author": "Philippe Striffeler",
"published_date": "2024-04-22T11:27:15Z"
}
},
{
"id": 947701022,
"lang": "en",
"location_id": 80793,
"published_date": "2024-04-21T10:26:44Z",
"rating": 5,
"helpful_votes": 0,
"rating_image_url": "https://www.tripadvisor.com/img/cdsi/img2/ratings/traveler/s5.0-66827-5.svg",
"url": "https://www.tripadvisor.com/ShowUserReviews-g60713-d80793-r947701022-Reviews-Hotel_Nikko_San_Francisco-San_Francisco_California.html?m=66827#review947701022",
"text": "This was a great hotel. I had never been to the area and was a little overwhelmed. Every front desk employee helped me in some way that made our trip a success (from sushi recommendations to navigating the public transportation system). I just wish the location was a little closer to fisherman’s wharf. It’s not walking distance. ",
"title": "Great hotel!",
"trip_type": "NONE",
"travel_date": "2024-04-30",
"user": {
"username": "jfrombos2n",
"user_location": {
"id": "60745",
"name": "Boston, Massachusetts"
},
"avatar": {
"thumbnail": "https://media-cdn.tripadvisor.com/media/photo-t/1a/f6/e2/11/default-avatar-2020-41.jpg",
"small": "https://media-cdn.tripadvisor.com/media/photo-l/1a/f6/e2/11/default-avatar-2020-41.jpg",
"medium": "https://media-cdn.tripadvisor.com/media/photo-f/1a/f6/e2/11/default-avatar-2020-41.jpg",
"large": "https://media-cdn.tripadvisor.com/media/photo-p/1a/f6/e2/11/default-avatar-2020-41.jpg",
"original": "https://media-cdn.tripadvisor.com/media/photo-o/1a/f6/e2/11/default-avatar-2020-41.jpg"
}
},
"subratings": {
"0": {
"name": "RATE_VALUE",
"rating_image_url": "https://www.tripadvisor.com/img/cdsi/img2/ratings/traveler/s5.0-66827-5.svg",
"value": 5,
"localized_name": "Value"
},
"1": {
"name": "RATE_ROOM",
"rating_image_url": "https://www.tripadvisor.com/img/cdsi/img2/ratings/traveler/s5.0-66827-5.svg",
"value": 5,
"localized_name": "Rooms"
},
"2": {
"name": "RATE_LOCATION",
"rating_image_url": "https://www.tripadvisor.com/img/cdsi/img2/ratings/traveler/s3.0-66827-5.svg",
"value": 3,
"localized_name": "Location"
},
"3": {
"name": "RATE_CLEANLINESS",
"rating_image_url": "https://www.tripadvisor.com/img/cdsi/img2/ratings/traveler/s5.0-66827-5.svg",
"value": 5,
"localized_name": "Cleanliness"
},
"4": {
"name": "RATE_SERVICE",
"rating_image_url": "https://www.tripadvisor.com/img/cdsi/img2/ratings/traveler/s5.0-66827-5.svg",
"value": 5,
"localized_name": "Service"
},
"5": {
"name": "RATE_SLEEP",
"rating_image_url": "https://www.tripadvisor.com/img/cdsi/img2/ratings/traveler/s5.0-66827-5.svg",
"value": 5,
"localized_name": "Sleep Quality"
}
},
"owner_response": {
"id": 947857992,
"title": "Owner response",
"text": "Good Day,\nThank you for taking the time to submit a review of your recent stay at the Hotel Nikko San Francisco. Your feedback is essential in helping the team at the hotel Nikko to offer a service that promotes Fantastic Memories. We are delighted to hear that you enjoyed your stay, and we are looking forward to welcoming you back to the Hotel Nikko upon a future trip to San Francisco. Please do not hesitate to contact us if there is anything the team can do to make your next trip memorable.\nSincerely, The Quality Assurance and Guest Experience Team",
"lang": "en",
"author": "Philippe Striffeler",
"published_date": "2024-04-22T11:27:02Z"
}
}
]
}