The Travel Guide API provides personalized and thorough itineraries for any city. By simply inputting the city name (e.g., London, UK), the API generates a detailed travel plan with daily activities arranged by time. Each day’s itinerary features a variety of experiences, from famous landmarks to hidden local gems, helping travelers maximize their visit. The response includes precise details for each activity, including timing and a brief description, ensuring a well-organized and unforgettable travel experience.
This endpoint is used to generate trip plan based on no. of days and destination.
Get Planning - Endpoint Features
| Object | Description |
|---|---|
days |
[Required] Integer. Number of days. |
destination |
[Required] String. Destionation. Recommended ("city", "countrycode") |
{"_id":"6424d2b113185d8420fdb6fc","plan":[{"day":1,"activities":[{"time":"9:00 AM","description":"Arrive in London and check-in to hotel"},{"time":"11:00 AM","description":"Visit the British Museum"},{"time":"2:00 PM","description":"Take a tour of the Tower of London"},{"time":"6:00 PM","description":"Take a stroll through Hyde Park"}]},{"day":2,"activities":[{"time":"9:00 AM","description":"Visit Buckingham Palace"},{"time":"11:00 AM","description":"Explore the famous Trafalgar Square"},{"time":"2:00 PM","description":"Have lunch at Covent Garden Market"},{"time":"4:00 PM","description":"Visit the London Eye"},{"time":"6:00 PM","description":"Take a walk along the River Thames"}]},{"day":3,"activities":[{"time":"9:00 AM","description":"Visit the Houses of Parliament"},{"time":"11:00 AM","description":"Take a tour of Westminster Abbey"},{"time":"2:00 PM","description":"Visit the Tate Modern art museum"},{"time":"5:00 PM","description":"Enjoy a traditional English afternoon tea"},{"time":"7:00 PM","description":"Watch a musical performance at the West End"}]}],"key":"3-london,uk"}
curl --location --request GET 'https://zylalabs.com/api/6115/travel+guide+api/8382/get+planning?days=3&destination=London,UK' --header 'Authorization: Bearer YOUR_API_KEY'
| Header | Description |
|---|---|
Authorization
|
[Required] Should be Bearer access_key. See "Your API Access Key" above when you are subscribed. |
No long-term commitment. Upgrade, downgrade, or cancel anytime. Free Trial includes up to 50 requests.
The Travel Guide API utilizes AI algorithms to generate personalized trip plans. It takes into account the user's specified number of days and location, along with preferences and past travel behavior, to recommend attractions, experiences, and accommodations.
The recommendations are based on a combination of AI algorithms and user data. While the API strives to offer accurate and tailored suggestions, individual preferences may vary. It's always recommended to review and validate the recommendations based on your personal preferences.
Absolutely! The API supports trip planning for both domestic and international destinations. Simply specify the desired location, and the system will generate trip plans accordingly.
The API suggests a wide range of accommodations, including hotels, resorts, bed and breakfasts, and vacation rentals. The recommendations take into account factors such as budget, location, and personal preferences.
The API uses API keys for authentication. To access the API, include your API key in the request header. The API key is provided upon registration and should be kept secure.
The Travel Guide API returns detailed itineraries for specified cities, including daily activities, timings, and descriptions. Each itinerary is structured by day and includes a variety of experiences, from major attractions to local gems.
The key fields in the response include "day," which indicates the day of the itinerary, and "activities," which is an array containing "time" and "description" for each planned activity.
The response data is organized as a JSON object containing an array of days. Each day includes a list of activities, with each activity detailing the time and description, allowing for easy navigation through the itinerary.
The primary parameters for the GET Planning endpoint include "destination" (city name) and "number of days" for the trip. Users can customize their requests by specifying these parameters to tailor the itinerary to their needs.
The endpoint provides information on daily activities, including timings and descriptions of attractions, dining options, and experiences, ensuring a comprehensive travel plan for the specified city.
Users can utilize the returned data by following the structured itinerary for each day, using the timings to plan their visits, and referring to the descriptions for insights into each activity, enhancing their travel experience.
The data is sourced from a combination of travel databases, local tourism boards, and user-generated content, ensuring a diverse and rich set of recommendations for travelers.
Typical use cases include planning vacations, creating travel guides, and enhancing travel apps. Users can leverage the itineraries to maximize their time in a city and discover both popular and lesser-known attractions.
Please have a look at our Refund Policy: https://zylalabs.com/terms#refund
To obtain your API key, you first need to sign in to your account and subscribe to the API you want to use. Once subscribed, go to your Profile, open the Subscription section, and select the specific API. Your API key will be available there and can be used to authenticate your requests.
You can’t switch APIs during the free trial. If you subscribe to a different API, your trial will end and the new subscription will start as a paid plan.
If you don’t cancel before the 7th day, your free trial will end automatically and your subscription will switch to a paid plan under the same plan you originally subscribed to, meaning you will be charged and gain access to the API calls included in that plan.
The free trial ends when you reach 50 API requests or after 7 days, whichever comes first.
No, the free trial is available only once, so we recommend using it on the API that interests you the most. Most of our APIs offer a free trial, but some may not include this option.
Yes, we offer a 7-day free trial that allows you to make up to 50 API calls at no cost, so you can test our APIs without any commitment.
Zyla API Hub is like a big store for APIs, where you can find thousands of them all in one place. We also offer dedicated support and real-time monitoring of all APIs. Once you sign up, you can pick and choose which APIs you want to use. Just remember, each API needs its own subscription. But if you subscribe to multiple ones, you'll use the same key for all of them, making things easier for you.
Service Level:
100%
Response Time:
4,838ms
Service Level:
100%
Response Time:
715ms
Service Level:
98%
Response Time:
2,918ms
Service Level:
100%
Response Time:
4,535ms
Service Level:
100%
Response Time:
1,655ms
Service Level:
100%
Response Time:
712ms
Service Level:
100%
Response Time:
6,478ms
Service Level:
100%
Response Time:
2,976ms
Service Level:
100%
Response Time:
2,755ms
Service Level:
100%
Response Time:
2,700ms
Service Level:
100%
Response Time:
54ms
Service Level:
100%
Response Time:
2,325ms
Service Level:
100%
Response Time:
53ms
Service Level:
100%
Response Time:
4,466ms
Service Level:
100%
Response Time:
4,545ms
Service Level:
100%
Response Time:
1,975ms
Service Level:
100%
Response Time:
13,355ms
Service Level:
100%
Response Time:
2,537ms
Service Level:
100%
Response Time:
53ms
Service Level:
100%
Response Time:
13,354ms