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.
This endpoint is used to generate trip plan based on no. of days and destination.
Planning - Endpoint Features
| Object | Description |
|---|---|
days |
[Required] Integer. Number of days. |
destination |
[Required] String. Destionation. Recommended ("city", "countrycode") |
{"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'
| 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 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.
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:
2,505ms
Service Level:
100%
Response Time:
4,535ms
Service Level:
100%
Response Time:
4,838ms
Service Level:
100%
Response Time:
715ms
Service Level:
100%
Response Time:
712ms
Service Level:
100%
Response Time:
2,976ms
Service Level:
100%
Response Time:
2,173ms
Service Level:
100%
Response Time:
2,443ms
Service Level:
100%
Response Time:
872ms
Service Level:
100%
Response Time:
953ms