{"plan":[{"day":1,"activities":[{"time":"9:00 AM","description":"Arrive in London and check-in to hotel"}]}],"key":"london,uk-2","_id":"67a6279f85de6460d9774187"}
curl --location --request GET 'https://zylalabs.com/api/6114/travel+itinerary+api/8381/planning?days=Ibiza, ES&destination=2' --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 Itinerary 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 Itinerary API delivers tailored and comprehensive itineraries for any city. By providing the city name (e.g., London, UK), the API generates a detailed travel plan with daily activities organized by time. Each day’s itinerary includes a mix of experiences, from iconic sights to local gems, allowing travelers to make the most of their visit. The response includes specific information for each activity, such as the time and a brief description, ensuring a smooth, organized, and memorable travel experience.
The Travel Itinerary 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 Planning endpoint returns a structured travel itinerary, including daily activities organized by time. Each activity features a description and timing, allowing users to visualize their travel schedule effectively.
The key fields in the response include "day" (indicating the day of the itinerary), "activities" (a list of activities for that day), "time" (when each activity occurs), and "description" (details about the activity).
The response data is organized in a JSON format, with a "plan" array containing objects for each day. Each object includes the day's number and an "activities" array detailing the scheduled activities.
The Planning endpoint accepts parameters such as "destination" (city name) and "number of days" for the trip. Users can customize their requests by specifying these parameters to tailor the itinerary.
The Planning endpoint provides information on daily activities, including timings and descriptions of attractions, experiences, and local highlights, ensuring a comprehensive travel plan.
Users can utilize the returned data by following the organized itinerary for each day, allowing for efficient planning of their travel schedule. The detailed descriptions help in deciding which activities to prioritize.
Typical use cases include planning vacations, business trips, or family outings. Users can generate itineraries for various cities, ensuring they maximize their time and experience during their travels.
Data accuracy is maintained through regular updates and quality checks on the information provided. The API leverages reliable sources and user feedback to enhance the relevance and accuracy of recommendations.
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