travel-advisor

travel-advisor

4.0

The Travel Advisor MCP Server offers a comprehensive API for accessing real-time travel-related data, similar to TripAdvisor.

v2_auto_complete

List suggested locations by term or phrase

Try it

Name of cities, districts, places, etc...

    The language code

      One of the followings : km|mi

          Result:

          v2_search

          Search for related cities, countries, and suggestions by term or phrase

          Try it

              Result:

              v2_list_nearby

              List nearby to a location

              Try it

                  Result:

                  locations_auto_complete

                  List suggested locations by term or phrase

                  Try it

                  Name of cities, districts, places, etc...

                    The language code

                      One of the followings : km|mi

                          Result:

                          locations_search

                          Search for related cities, countries, and suggestions

                          Try it

                          Name of cities, districts, places, etc...

                            The number of items per response (max 30) Default: 30

                            The number of items to ignore for paging purpose Default: 0

                            One of the followings : km|mi

                              The value of location_id field returned right in this endpoint or .../locations/auto-complete endpoint Default: 1

                              The currency code

                                One of the followings : relevance|distance

                                  The language code

                                      Result:

                                      v2_list

                                      Get available filters for listing restaurants

                                      Try it

                                          Result:

                                          v2_get_details

                                          Get detail information of specific restaurant

                                          Try it

                                              Result:

                                              restaurants_list_by_latlng

                                              List restaurants by specifying an coordinate and radius

                                              Try it

                                              Latitude of coordinate Default: 12.91285

                                                Longitude of coordinate Default: 100.87808

                                                  The number of items per response (max 30) Default: 30

                                                  The currency code

                                                    Restaurant Features - Check for suitable values of filters_v2/filter_sections/filter_groups/options/value field (separated by comma to specify multiple values) returned right in this endpoint

                                                      Prices - Check for suitable values of filters_v2/filter_sections/filter_groups/options/value field (separated by comma to specify multiple values) returned right in this endpoint

                                                        Restaurant Features - Check for suitable values of filters_v2/filter_sections/filter_groups/options/value field (separated by comma to specify multiple values) returned right in this endpoint

                                                          Cuisine Type - Check for suitable values of filters_v2/filter_sections/filter_groups/options/value field (separated by comma to specify multiple values) returned right in this endpoint

                                                            The radius around specified coordinate (max 10) Default: 2

                                                            Establishment Type - Check for suitable values of filters_v2/filter_sections/filter_groups/options/value field (separated by comma to specify multiple values) returned right in this endpoint

                                                              Meals - Check for suitable values of filters_v2/filter_sections/filter_groups/options/value field (separated by comma to specify multiple values) returned right in this endpoint

                                                                Only returns restaurants which are opening now

                                                                Only returns restaurants which are opening now

                                                                  The number of items to ignore for paging purpose Default: 0

                                                                  Dietary Restrictions - Check for suitable values of filters_v2/filter_sections/filter_groups/options/value field (separated by comma to specify multiple values) returned right in this endpoint

                                                                    One of the followings km|mi

                                                                      The language code

                                                                        Establishment Type - Check for suitable values of filters_v2/filter_sections/filter_groups/options/value field (separated by comma to specify multiple values) returned right in this endpoint

                                                                          Min 3 - Max 5

                                                                              Result:

                                                                              restaurants_list_in_boundary

                                                                              List restaurants by specifying coordinates of bottom left and top right of a boundary

                                                                              Try it

                                                                              Latitude of bottom left coordinate Default: 11.847676

                                                                                Latitude of top right coordinate Default: 12.838442

                                                                                  Longitude of bottom left coordinate Default: 109.095887

                                                                                    Longitude of top right coordinate Default: 109.149359

                                                                                      Dietary Restrictions - Check for suitable values of filters_v2/filter_sections/filter_groups/options/value field (separated by comma to specify multiple values) returned right in this endpoint

                                                                                        Min 3 - Max 5 Default: 0

                                                                                        Establishment Type - Check for suitable values of filters_v2/filter_sections/filter_groups/options/value field (separated by comma to specify multiple values) returned right in this endpoint

                                                                                          Establishment Type - Check for suitable values of filters_v2/filter_sections/filter_groups/options/value field (separated by comma to specify multiple values) returned right in this endpoint

                                                                                            The number of items per response (max 30) Default: 30

                                                                                            The currency code

                                                                                              Cuisine Type - Check for suitable values of filters_v2/filter_sections/filter_groups/options/value field (separated by comma to specify multiple values) returned right in this endpoint

                                                                                                Prices - Check for suitable values of filters_v2/filter_sections/filter_groups/options/value field (separated by comma to specify multiple values) returned right in this endpoint

                                                                                                  Restaurant Features - Check for suitable values of filters_v2/filter_sections/filter_groups/options/value field (separated by comma to specify multiple values) returned right in this endpoint

                                                                                                    Only returns restaurants which are opening now

                                                                                                    Only returns restaurants which are opening now

                                                                                                      One of the followings km|mi

                                                                                                        The number of items to ignore for paging purpose Default: 0

                                                                                                        Meals - Check for suitable values of filters_v2/filter_sections/filter_groups/options/value field (separated by comma to filter by multiple values. Ex : 10598,10599) returned right in this endpoint

                                                                                                          Restaurant Features - Check for suitable values of filters_v2/filter_sections/filter_groups/options/value field (separated by comma to specify multiple values) returned right in this endpoint

                                                                                                            The language code

                                                                                                                Result:

                                                                                                                restaurants_list

                                                                                                                List restaurants related to a location by location_id

                                                                                                                Try it

                                                                                                                The value of location_id field that returned in locations/search endpoint Default: 293919

                                                                                                                  Establishment Type - Check for suitable values of filters_v2/filter_sections/filter_groups/options/value field (separated by comma to specify multiple values) returned right in this endpoint

                                                                                                                    Establishment Type - Check for suitable values of filters_v2/filter_sections/filter_groups/options/value field (separated by comma to specify multiple values) returned right in this endpoint

                                                                                                                      Meals - Check for suitable values of filters_v2/filter_sections/filter_groups/options/value field (separated by comma to filter by multiple values. Ex : 10598,10599) returned right in this endpoint

                                                                                                                        Cuisine Type - Check for suitable values of filters_v2/filter_sections/filter_groups/options/value field (separated by comma to specify multiple values) returned right in this endpoint

                                                                                                                          The currency code

                                                                                                                            One of the followings km|mi

                                                                                                                              Dietary Restrictions - Check for suitable values of filters_v2/filter_sections/filter_groups/options/value field (separated by comma to specify multiple values) returned right in this endpoint

                                                                                                                                The number of items per response (max 30) Default: 30

                                                                                                                                Prices - Check for suitable values of filters_v2/filter_sections/filter_groups/options/value field (separated by comma to specify multiple values) returned right in this endpoint

                                                                                                                                  Min 3 - Max 5

                                                                                                                                    Only returns restaurants which are opening now

                                                                                                                                    Only returns restaurants which are opening now

                                                                                                                                      The number of items to ignore for paging purpose Default: 0

                                                                                                                                      Restaurant Features - Check for suitable values of filters_v2/filter_sections/filter_groups/options/value field (separated by comma to specify multiple values) returned right in this endpoint

                                                                                                                                        The language code

                                                                                                                                          Restaurant Features - Check for suitable values of filters_v2/filter_sections/filter_groups/options/value field (separated by comma to specify multiple values) returned right in this endpoint

                                                                                                                                              Result:

                                                                                                                                              restaurants_get_details

                                                                                                                                              Get all information of a specific restaurant by its location_id

                                                                                                                                              Try it

                                                                                                                                              The value of location_id field that returned in restaurants/list endpoint Default: 9782025

                                                                                                                                                The currency code

                                                                                                                                                  The language code

                                                                                                                                                      Result:

                                                                                                                                                      v2_get_options

                                                                                                                                                      Get all options of specific attraction * This endpoint is replaced by .../attraction-products/v2/check-availability endpoint.

                                                                                                                                                      Try it

                                                                                                                                                          Result:

                                                                                                                                                          attractions_list_by_latlng

                                                                                                                                                          List attractions by specifying an coordinate and radius

                                                                                                                                                          Try it

                                                                                                                                                          Longitude of coordinate Default: 109.19553

                                                                                                                                                            Latitude of coordinate Default: 12.235588

                                                                                                                                                              One of the followings km|mi

                                                                                                                                                                The currency code

                                                                                                                                                                  The number of items per response (max 30) Default: 0

                                                                                                                                                                  The radius around specified coordinate (max 25) Default: 0

                                                                                                                                                                  The language code

                                                                                                                                                                    The number of items to ignore for paging purpose Default: 0

                                                                                                                                                                      Result:

                                                                                                                                                                      attractions_list_in_boundary

                                                                                                                                                                      List attractions by specifying coordinates of bottom left and top right of a boundary

                                                                                                                                                                      Try it

                                                                                                                                                                      Longitude of top right coordinate Default: 109.262909

                                                                                                                                                                        Latitude of top right coordinate Default: 12.346705

                                                                                                                                                                          Longitude of bottom left coordinate Default: 109.095887

                                                                                                                                                                            Latitude of bottom left coordinate Default: 12.113245

                                                                                                                                                                              The number of items to ignore for paging purpose Default: 0

                                                                                                                                                                              Rating - Min 3 max 5 Default: 0

                                                                                                                                                                              The currency code

                                                                                                                                                                                Book online first

                                                                                                                                                                                Book online first

                                                                                                                                                                                  The number of items per response (max 30) Default: 0

                                                                                                                                                                                  One of the followings km|mi

                                                                                                                                                                                    The language code

                                                                                                                                                                                      Attraction category - Check for suitable values of filters_v2/filter_sections/filter_groups/options/value field (only one value is allowed at a time) returned right in this endpoint Default: 0

                                                                                                                                                                                        Result:

                                                                                                                                                                                        attractions_list

                                                                                                                                                                                        List attractions of specific location by location_id

                                                                                                                                                                                        Try it

                                                                                                                                                                                        The value of location_id field that returned in locations/search endpoint Default: 298571

                                                                                                                                                                                          The currency code

                                                                                                                                                                                            The language code

                                                                                                                                                                                              One of the followings km|mi

                                                                                                                                                                                                Rating - Min 3 max 5 Default: 0

                                                                                                                                                                                                The number of items per response (max 30) Default: 0

                                                                                                                                                                                                One of following recommended|ranking

                                                                                                                                                                                                  Book online first

                                                                                                                                                                                                  Book online first

                                                                                                                                                                                                    Attraction category - Check for suitable values of filters_v2/filter_sections/filter_groups/options/value field (only one value is allowed at a time) returned right in this endpoint Default: 0

                                                                                                                                                                                                    The number of items to ignore for paging purpose Default: 0

                                                                                                                                                                                                      Result:

                                                                                                                                                                                                      attractions_get_details

                                                                                                                                                                                                      Get all information of specific attracting location by its location_id

                                                                                                                                                                                                      Try it

                                                                                                                                                                                                      The value of location_id field that returned in attractions/list endpoint Default: 1451754

                                                                                                                                                                                                        The currency code

                                                                                                                                                                                                          The language code

                                                                                                                                                                                                              Result:

                                                                                                                                                                                                              keywords_list

                                                                                                                                                                                                              List interesting keywords related to a specific location by its location_id

                                                                                                                                                                                                              Try it

                                                                                                                                                                                                              The value of location_id field that returned in hotels/list, restaurants/list, or attractions/list endpoints Default: 8014024

                                                                                                                                                                                                                The number of items to ignore for paging purpose Default: 0

                                                                                                                                                                                                                The number of items per response (max 10) Default: 10

                                                                                                                                                                                                                  Result:

                                                                                                                                                                                                                  tips_list

                                                                                                                                                                                                                  List tips of specific hotel by its location_id

                                                                                                                                                                                                                  Try it

                                                                                                                                                                                                                  The value of location_id field that returned in hotels/list endpoint Default: 8014024

                                                                                                                                                                                                                      The currency code

                                                                                                                                                                                                                        The number of items to ignore for paging purpose Default: 0

                                                                                                                                                                                                                        The number of items per response (max 20) Default: 20

                                                                                                                                                                                                                          Result:

                                                                                                                                                                                                                          reviews_list

                                                                                                                                                                                                                          List reviews related to a location by its location_id

                                                                                                                                                                                                                          Try it

                                                                                                                                                                                                                          The value of location_id field that returned in hotels/list, restaurants/list, or attractions/list endpoints Default: 8014024

                                                                                                                                                                                                                            Check for suitable value of text field returned in keywords/list endpoint

                                                                                                                                                                                                                              The number of items per response (max 20) Default: 20

                                                                                                                                                                                                                              The currency code

                                                                                                                                                                                                                                The number of items to ignore for paging purpose Default: 0

                                                                                                                                                                                                                                The language code

                                                                                                                                                                                                                                    Result:

                                                                                                                                                                                                                                    photos_list

                                                                                                                                                                                                                                    List photos related to a location by its id

                                                                                                                                                                                                                                    Try it

                                                                                                                                                                                                                                    The value of location_id field that returned in hotels/list, restaurants/list, or attractions/list endpoints Default: 2233968

                                                                                                                                                                                                                                      The currency code

                                                                                                                                                                                                                                        The number of items per response (max 50) Default: 50

                                                                                                                                                                                                                                        The number of items to ignore for paging purpose Default: 0

                                                                                                                                                                                                                                        The language code

                                                                                                                                                                                                                                            Result:

                                                                                                                                                                                                                                            questions_list

                                                                                                                                                                                                                                            List questions related to a location by its id

                                                                                                                                                                                                                                            Try it

                                                                                                                                                                                                                                            The value of location_id field that returned in hotels/list, restaurants/list, or attractions/list endpoints Default: 8014024

                                                                                                                                                                                                                                              The number of items to ignore for paging purpose Default: 0

                                                                                                                                                                                                                                              The number of items per response (max 10) Default: 10

                                                                                                                                                                                                                                                Result:

                                                                                                                                                                                                                                                answers_list

                                                                                                                                                                                                                                                List answers related to a questions by its id

                                                                                                                                                                                                                                                Try it

                                                                                                                                                                                                                                                The value of id field that returned in questions/list endpoint Default: 5283833

                                                                                                                                                                                                                                                  The number of items to ignore for paging purpose Default: 0

                                                                                                                                                                                                                                                  The number of items per response (max 10) Default: 0

                                                                                                                                                                                                                                                    Result:

                                                                                                                                                                                                                                                    airports_search

                                                                                                                                                                                                                                                    * TripAdvisor stops providing "Flights feature" via their mobile application, the web version is going to be down in the future. Search for airport code by countries', cities', etc... name

                                                                                                                                                                                                                                                    Try it

                                                                                                                                                                                                                                                    Name of cities, districts, places, etc...

                                                                                                                                                                                                                                                      The language code

                                                                                                                                                                                                                                                          Result:

                                                                                                                                                                                                                                                          flights_create_session

                                                                                                                                                                                                                                                          * TripAdvisor stops providing "Flights feature" via their mobile application, the web version is going to be down in the future. Create new session for searching flights tickets of all airlines around the world. The flight APIs need to use as following : Firstly, you init a search session by using the create-session endpoint and get sid value Secondly, you repeatedly call poll endpoint until the summary/c field is true to get final total flight by summary/nr value. o parameter must be 0 otherwise the summary field is not returned. Thirdly, you repeatedly call poll endpoint with o increasing by n value step by step until you reach total flight.

                                                                                                                                                                                                                                                          Try it

                                                                                                                                                                                                                                                          Airport code of first origin

                                                                                                                                                                                                                                                            The airport code of first destination location

                                                                                                                                                                                                                                                              The date of departure from first origin, the format is yyyy-MM-dd. Ex : 2020-05-15

                                                                                                                                                                                                                                                                The currency code

                                                                                                                                                                                                                                                                  The airport code of second origin location

                                                                                                                                                                                                                                                                    The airport code of second destination location

                                                                                                                                                                                                                                                                      The number of adults Default: 1

                                                                                                                                                                                                                                                                      The number of seniors Default: 0

                                                                                                                                                                                                                                                                      The age of every children separated by comma. Ex : 11,5

                                                                                                                                                                                                                                                                        Cabin code, such as 0 - Economy | 1- Business Class | 2 - First Class | 3 - Premium Economy Default: 0

                                                                                                                                                                                                                                                                          Result:

                                                                                                                                                                                                                                                                          flights_poll

                                                                                                                                                                                                                                                                          * TripAdvisor stops providing "Flights feature" via their mobile application, the web version is going to be down in the future. Poll for more available flight data until the value of "summary/c" field returned right in this endpoint is true. The flight APIs need to use as following : Firstly, you init a search session by using the create-session endpoint and get sid value Secondly, you repeatedly call poll endpoint until the summary/c field is true to get final total flight by summary/nr value. o parameter must be 0 otherwise the summary field is not returned. Thirdly, you repeatedly call poll endpoint with o increasing by n value step by step until you reach total flight.

                                                                                                                                                                                                                                                                          Try it

                                                                                                                                                                                                                                                                          The value of sid returned in flights/create-session endpoint

                                                                                                                                                                                                                                                                            Check for suitable value of "summary/cp" or "summary/ocp" field (separated by comma to specify multiple values) returned in flights/create-session or right in this endpoint

                                                                                                                                                                                                                                                                              Check for suitable value of "so" field returned in flights/create-session or right in this endpoint

                                                                                                                                                                                                                                                                                Check for suitable value of "itineraries/ac" field (separated by comma to specify multiple values) returned in flights/create-session or right in this endpoint

                                                                                                                                                                                                                                                                                  The currency code

                                                                                                                                                                                                                                                                                    Check for suitable value of "summary/ap" field (separated by comma to specify multiple values) returned in flights/create-session or right in this endpoint

                                                                                                                                                                                                                                                                                      The number of items per response (max 15) Default: 15

                                                                                                                                                                                                                                                                                      One of following NON_STOP | ONE_STOP | TWO_PLUS or separated by comma to specify multiple values

                                                                                                                                                                                                                                                                                        The offset of items to be ignored in response for paging. Use summary/nr field returned in response to get total flights Default: 0

                                                                                                                                                                                                                                                                                          Result:

                                                                                                                                                                                                                                                                                          flights_get_booking_url

                                                                                                                                                                                                                                                                                          * TripAdvisor stops providing "Flights feature" via their mobile application, the web version is going to be down in the future. Generate booking url relating to a specific flight

                                                                                                                                                                                                                                                                                          Try it

                                                                                                                                                                                                                                                                                          The value of summary/sh field returned in response of .../flights/create-session endpoint. For example : 2188ff0ed4e8e4ee7a50dc32b229e11d

                                                                                                                                                                                                                                                                                            Airport code of destination. For example : NYC

                                                                                                                                                                                                                                                                                              The value of itineraries/l/id field returned in response of .../flights/poll endpoint. For example : AgodaFlights|1|68

                                                                                                                                                                                                                                                                                                Airport code of origin. For example : DMK

                                                                                                                                                                                                                                                                                                  The value of search_params/sid field returned in response of .../flights/create-session endpoint. For example : 5aaa20e5-d5c8-4cdd-a657-b6453bb80756.1483

                                                                                                                                                                                                                                                                                                    The value of itineraries/l/impressionId field returned in response of .../flights/poll endpoint. For example : 372e5654-b873-4c26-859b-633c29f7ad84.93175

                                                                                                                                                                                                                                                                                                        Result:

                                                                                                                                                                                                                                                                                                        v2_check_availability

                                                                                                                                                                                                                                                                                                        Check available products relating to an attraction

                                                                                                                                                                                                                                                                                                        Try it

                                                                                                                                                                                                                                                                                                            Result: