{"_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'
After signing up, every developer is assigned a personal API access key, a unique combination of letters and digits provided to access to our API endpoint. To authenticate with the Travel Guide API simply include your bearer token in the Authorization header.
| 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.
(Save 2 months with annual billing 🎉)
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.
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.
To obtain your API key, first sign in to your account and navigate to the API you want to use. From the API's Pricing section, choose a plan and complete the subscription process. Once subscribed, return to the API page and you will see your API Access Key displayed at the top of the documentation page. You can use this key 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.
The free trial lasts for 7 days and allows you to make up to 50 API requests.
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. If the API offers a free trial, you will see a "Free 7-Day Trial" option in its Pricing section. The trial lasts for 7 days and allows up to 50 API requests, enabling you to evaluate the API before subscribing to a paid plan.
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.
You can monitor your API usage through the response headers included with every request:
x-zyla-api-calls-monthly-used: Shows the total number of API requests you have used during the current billing period.
x-zyla-api-calls-monthly-remaining: Shows the number of API requests you have remaining for the current billing period.
Yes, you can cancel your subscription at any time. Simply go to the Pricing section of the API you're subscribed to and click the "Unsubscribe" button.
Please note that upgrades, downgrades, and cancellations take effect immediately. Once your subscription is canceled, access to the service will end immediately, regardless of any remaining API calls in your quota.
Please have a look at our Refund Policy: https://zylalabs.com/terms#refund