The Travel Information API is a comprehensive tool designed to seamlessly integrate essential international data into applications, offering functionalities such as locating embassies abroad, retrieving detailed country information, exploring country-specific activities and obtaining concise summaries of nations. This API targets developers, businesses and users looking for a unified and efficient approach to accessing diverse global data.
The embassy locator feature allows users to effortlessly identify embassies and consulates in foreign countries. By providing the country name, users can access vital data on embassy locations.
Get detailed information about any country with the Country Details feature. From official languages, capital city and population to time zone. This feature provides a comprehensive overview, aimed at users interested in gaining in-depth knowledge about a specific country.
The versatility of the Travel Information API makes it suitable for a wide range of applications. Travel platforms can use embassy location services, companies engaged in global activities can benefit from detailed country information, media outlets can enrich their coverage with country-specific activities, and educational platforms can enhance their resources with accurate and up-to-date data.
The Travel Information API is a unified solution for applications that require seamless access to international data. Whether for travel assistance, business intelligence, media coverage or educational purposes, this API streamlines the process of obtaining accurate and diverse global information, contributing to a more informed and interconnected world.
It will receive parameters and provide you with a JSON.
Fuel Price Comparison Apps: Enable users to compare gas prices at different stations to find the most cost-effective option.
Route Planning Apps: Integrate real-time gas prices into navigation apps to optimize routes based on fuel costs.
Expense Tracking Apps: Assist users in managing and tracking their fuel expenses by providing up-to-date gas prices.
Budgeting Apps: Enhance budgeting tools by incorporating current gas prices, helping users plan and manage transportation costs.
Fleet Management Systems: Optimize fuel expenses for businesses with multiple vehicles by integrating gas price data into fleet management software.
Besides the number of API calls per month, there are no other limitations.
To use this endpoint you must indicate the name of a country in the parameter.
Country activities - Endpoint Features
Object | Description |
---|---|
country |
[Required] |
{"data":{"activities":[{"title":"Be dazzled by the Whirling Dervishes","activity":"The renowned Whirling Dervishes are one of Turkey's most iconic tourist attractions. Members of the Mevlevi Order perform the famous whirling dance known as Sema as part of an aged ceremony. It's best seen in Konya where the Order originated, though many shows catering to visitors are put on in Istanbul, too."},{"title":"Cruise down the Black Sea","activity":"Explore the northern suburbs of Istanbul by ferry-boat, criss-crossing the Bosphorus to visit villages that stretch up to the mouth of the Black Sea. You can escape the tourists further and join holidaying Turks at one of the small Black Sea coast towns like Ünye or Giresun – less crowded, cooler and greener than the Mediterranean coast."},{"title":"Detour to the capital, Ankara","activity":"The Turkish capital is overlooked by many visitors but has some excellent museums. The superb Museum of Anatolian Civilisations provides a rich chronicle on the dynamic history of the region, while the Ethnographic Museum in Ankara provides a great insight into Turkish culture."},{"title":"Discover caves and bazaars in Sanliurfa","activity":"Wander through a traditional bazaar at Sanliurfa in the southeast, close to the Syrian border, and pay a visit to the cave where Abraham is said to have been born. Since the conflict in Syria, the border has become less secure, and caution is advised."},{"title":"Explore the Kaçkar mountains","activity":"Go trekking in the wild Kaçkar mountain range of Turkey's northeast, close to the Georgian frontier. Take a trail through dense pine forests and scenic pastures, before hitting heights of almost 4,000m (13,123 ft). Routes across higher altitudes are only open during the summer months unless trekkers are equipped for snowy weather."},{"title":"Explore the beaches of Bodrum","activity":"Although home to one of the Seven Wonders of the Ancient World – the Mausoleum of Mausolus – Bodrum in Turkey's southwest is perhaps better known today as the country's finest Aegean resort. Dominated by the Castle of St John, the town is renowned for its shopping, dining and nightlife, not to mention its sweeping sandy beaches."},{"title":"Get some water therapy","activity":"The incredible pools at Pamukkale near Denizli attract tourists and locals alike who come to bathe in the warm therapeutic waters that fill the natural travertine terraces. The pools, together with the ancient ruins of the city of Hierapolis nearby have been declared a World Heritage Site."},{"title":"Glide over the dreamland of Cappadocia","activity":"Formed after the eruption of Mount Erciyes and fashioned by nature over the ages, Cappadocia offers an unrivalled landscape of rock cones, sprawling pinnacles and gaping ravines. Only many years later did the human touch arrive, providing tourists with cave houses and underground tunnels to explore. Hot-air balloon rides over the area are very popular."},{"title":"Go white-water rafting","activity":"White-water rafting is becoming increasingly popular with tourists in Turkey. There are trips going down the Dalaman River, the Köprülü River, the Zamanti River or the Coruh River, which is rated by professionals as one of the top rafting descents in the world. Hold on tight!"},{"title":"Hit the southern coastal town of Antalya","activity":"Not much known in the West, Antalya is nevertheless one of the most-visited cities in the world. Sitting on the Mediterranean and Turkey's southern coast, it's not hard to see why with its vast beaches, lively nightlife and atmospheric old town. Then there's the harbour, Kaleiçi, and the superb Archaeological Museum, as well as many historic sights throughout the city, not least Hadrian's Gate."},{"title":"Hop on a boat through Lake Van","activity":"Use the eastern city of Van as a base to travel along the beautiful south shore of Lake Van. From there you can catch a boat out to the 10th-century Armenian church on Akdamar island, famous for its intricate stone reliefs depicting biblical scenes."},{"title":"Search for Noah on Mount Ararat","activity":"Look for fragments of Noah's Ark, reputed to have washed up on the slopes of 5,165m (16,945ft) Mount Ararat in Turkey's eastern region. Apart from the biblical appeal, the snow-capped mountain is an incredible sight, visible from many kilometres away. Only authorised trekking companies are recommended for scaling mighty Ararat."},{"title":"Sumela Monastery","activity":"Before Ottoman rule, much of Anatolia was home to Greek settlements. One spectacular example is the 14th-century Greek Orthodox Sumela Monastery, 54km (34 miles) from Trabzon. Set into a sheer cliff, 300m (1,000ft) above the valley floor, it's a jaw-dropping sight. The inside is filled with magnificent frescoes."},{"title":"Take a ferry to Prince's Islands","activity":"Sip tea or smoke shisha as you watch the sunset at one of the traditional cafés beneath Istanbul's Galata Bridge. Then take a ferry from the Eminönü dock to the Princes' Islands, a tranquil summer getaway popular with Istanbulites where cars are banned and horse-drawn carriages and bicycles are the transport of choice."},{"title":"Trek the Lycian Way","activity":"Turkey isn't touted much for its hiking, but it has some great, uncrowded routes. One of the most beautiful is the Lycian Way, which stretches for 500km (311 miles) between Fethiye and Antalya, providing a month's walking through some of Turkey's most spectacular scenery."},{"title":"Walk with historical giants in Istanbul's Old City","activity":"Once the capital of Byzantium – the greatest empire in Christendom during the Middle Ages – Constantinople became Istanbul after the Ottoman conquest of the 15th century, and has been an Islamic metropolis ever since. Its architectural treasures include the Blue Mosque, the Topkapi Palace and Hagia Sophie."},{"title":"Wind down in a Turkish bath","activity":"You can't visit Turkey without experiencing a traditional Turkish bath. Known as a hammam, locals go for a scrub and massage, as well as a good steam. The most popular historic baths in Istanbul are the Galatasaray Hammam in Beyoğlu and Cağaloğlu Hammam in Sultanahmet, though less-known local baths are often just as good."}]}}
curl --location --request GET 'https://zylalabs.com/api/3127/travel+information+api/3318/country+activities?country=turkey' --header 'Authorization: Bearer YOUR_API_KEY'
To use this endpoint you must indicate the name of a country in the parameter.
Country details - Endpoint Features
Object | Description |
---|---|
country |
[Required] |
{"countryName":"Turkey","continent":"Asia","officialLanguages":"Turkish","capital":"Ankara","government":"Unitary parliamentary constitutional republic","borderLength":"2 648 km / 1 645 miles","population":"80 845 215","surfaceAreaSqMi":"302 535","surfaceAreaKm2":"783 562","populationDensitySqMi":"267","populationDensityKm2":"103","neighborsList":["Armenia","Azerbaijan","Bulgaria","Georgia","Greece","Iran","Iraq","Syria"]}
curl --location --request GET 'https://zylalabs.com/api/3127/travel+information+api/3319/country+details?country=turkey' --header 'Authorization: Bearer YOUR_API_KEY'
To use this endpoint you must indicate the name of a country to receive the embassy of the destination country in the parameters.
Locate a Consulate Overseas - Endpoint Features
Object | Description |
---|---|
source |
[Required] |
destination |
[Required] |
{"data":[{"address":"2525 Massachusetts Ave NW Washington DC 20008","phone":"local: (202) 612.6700international: +1.202.612.6700"},{"address":"31 Saint James Avenue, Suite 840 Boston, MA 02116","phone":"local: (617) 451.1329international: +1.617.451.1329"},{"address":"360 N Michigan Ave, Suite 1405 Chicago IL 60601","phone":"local: (312) 263.0644international: +1.312.263.0644"},{"address":"1990 Post Oak Blvd, Suite 1300 Houston TX 77056-3813","phone":"local: (713) 622.5849international: +1.713.622.5849"},{"address":"6300 Wilshire Blvd, Suite 2010 Los Angeles CA 90048","phone":"local: (323) 655.8832international: +1.323.655.8832"},{"address":"821 United Nations Plaza New York, NY 10017","phone":"local: (212) 450.9136international: +1.212.450.9136"},{"address":"821 UN Plaza, 10th floor New York, NY 10017","phone":"local: (212) 949.0150international: +1.212.949.0150"}]}
curl --location --request GET 'https://zylalabs.com/api/3127/travel+information+api/3320/locate+a+consulate+overseas?source=turkey&destination=usa' --header 'Authorization: Bearer YOUR_API_KEY'
To use this endpoint you must indicate the name of a country in the parameter.
Basic Information on a Country - Endpoint Features
Object | Description |
---|---|
country |
[Required] |
{"data":{"info":"For sheer diversity, Turkey (officially the Republic of Türkiye) is hard to beat. The country is best measured in multitudes – of people, natural landscapes and cultures. It is a land of vast open spaces and massive mountain ranges, fertile valleys and rugged coastline, fast-growing cities and sleepy villages, seaside resorts and remote beaches.Countless waves of invasion, rebellion and immigration have forged a country whose cultural depth and breadth may surprise visitors as they venture not just through major cities, but across the country.","image_url":"https://www.worldtravelguide.net/wp-content/uploads/2017/04/Think-Turkey-Country-Lanterns-485898597-sergeyskleznev-copy.jpg","country_images":[{"imageUrl":"https://www.worldtravelguide.net/wp-content/themes/wtg/images/main-banner1.jpg","title":""},{"imageUrl":"https://worldtravelguide.net/sites/default/files/96990057-753x320.jpg","title":"Hagia Sofia, Istanbul, Turkey"},{"imageUrl":"https://worldtravelguide.net/sites/default/files/new-images/753x320/gulet-boat-cruises-are-po-8379.jpg","title":"Gulet boat cruises are popular in Turkey"},{"imageUrl":"https://worldtravelguide.net/sites/default/files/new-images/753x320/turkey-is-great-for-water-8376.jpg","title":"Turkey is great for watersports"},{"imageUrl":"https://worldtravelguide.net/sites/default/files/new-images/753x320/bathe-in-pamukkales-warm-8373.jpg","title":"Bathe in Pamukkale's warm topaz blue pools"},{"imageUrl":"https://worldtravelguide.net/sites/default/files/new-images/753x320/go-rafting-on-the-emerald-8370.jpg","title":"Go rafting on the emerald Koprulucay River, Turkey"},{"imageUrl":"https://worldtravelguide.net/sites/default/files/new-images/753x320/istanbul-spice-market-8367.jpg","title":"Istanbul Spice Market"},{"imageUrl":"https://worldtravelguide.net/sites/default/files/new-images/753x320/capaddocia-turkey-8361.jpg","title":"Capaddocia, Turkey"}]}}
curl --location --request GET 'https://zylalabs.com/api/3127/travel+information+api/3321/basic+information+on+a+country?country=Turkey' --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 commitments. One click upgrade/downgrade or cancellation. No questions asked.
To use the Travel Information API, users can follow the documentation provided for authentication, API endpoints, request parameters and response handling.
The Travel Information API is a powerful tool that provides users with access to a range of travel-related data, including details on destinations, countries and other essential information to enhance travel-based applications.
There are different plans suits everyone including a free trial for small amount of requests, but it’s rate is limit to prevent abuse of the service.
Zyla provides a wide range of integration methods for almost all programming languages. You can use these codes to integrate with your project as you need.
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.
Prices are listed in USD (United States Dollar), EUR (Euro), CAD (Canadian Dollar), AUD (Australian Dollar), and GBP (British Pound). We accept all major debit and credit cards. Our payment system uses the latest security technology and is powered by Stripe, one of the world’s most reliable payment companies. If you have any trouble paying by card, just contact us at [email protected]
Additionally, if you already have an active subscription in any of these currencies (USD, EUR, CAD, AUD, GBP), that currency will remain for subsequent subscriptions. You can change the currency at any time as long as you don't have any active subscriptions.
The local currency shown on the pricing page is based on the country of your IP address and is provided for reference only. The actual prices are in USD (United States Dollar). When you make a payment, the charge will appear on your card statement in USD, even if you see the equivalent amount in your local currency on our website. This means you cannot pay directly with your local currency.
Occasionally, a bank may decline the charge due to its fraud protection settings. We suggest reaching out to your bank initially to check if they are blocking our charges. Also, you can access the Billing Portal and change the card associated to make the payment. If these does not work and you need further assistance, please contact our team at [email protected]
Prices are determined by a recurring monthly or yearly subscription, depending on the chosen plan.
API calls are deducted from your plan based on successful requests. Each plan comes with a specific number of calls that you can make per month. Only successful calls, indicated by a Status 200 response, will be counted against your total. This ensures that failed or incomplete requests do not impact your monthly quota.
Zyla API Hub works on a recurring monthly subscription system. Your billing cycle will start the day you purchase one of the paid plans, and it will renew the same day of the next month. So be aware to cancel your subscription beforehand if you want to avoid future charges.
To upgrade your current subscription plan, simply go to the pricing page of the API and select the plan you want to upgrade to. The upgrade will be instant, allowing you to immediately enjoy the features of the new plan. Please note that any remaining calls from your previous plan will not be carried over to the new plan, so be aware of this when upgrading. You will be charged the full amount of the new plan.
To check how many API calls you have left for the current month, look at the ‘X-Zyla-API-Calls-Monthly-Remaining’ header. For example, if your plan allows 1000 requests per month and you've used 100, this header will show 900.
To see the maximum number of API requests your plan allows, check the ‘X-Zyla-RateLimit-Limit’ header. For instance, if your plan includes 1000 requests per month, this header will display 1000.
The ‘X-Zyla-RateLimit-Reset’ header shows the number of seconds until your rate limit resets. This tells you when your request count will start fresh. For example, if it displays 3600, it means 3600 seconds are left until the limit resets.
Yes, you can cancel your plan anytime by going to your account and selecting the cancellation option on the Billing page. Please note that upgrades, downgrades, and cancellations take effect immediately. Additionally, upon cancellation, you will no longer have access to the service, even if you have remaining calls left in your quota.
You can contact us through our chat channel to receive immediate assistance. We are always online from 8 am to 5 pm (EST). If you reach us after that time, we will get back to you as soon as possible. Additionally, you can contact us via email at [email protected]
To let you experience our APIs without any commitment, we offer a 7-day free trial that allows you to make API calls at no cost during this period. Please note that you can only use this trial once, so make sure to use it with the API that interests you the most. Most of our APIs provide a free trial, but some may not support it.
After 7 days, you will be charged the full amount for the plan you were subscribed to during the trial. Therefore, it’s important to cancel before the trial period ends. Refund requests for forgetting to cancel on time are not accepted.
When you subscribe to an API trial, you can make only 25% of the calls allowed by that plan. For example, if the API plan offers 1000 calls, you can make only 250 during the trial. To access the full number of calls offered by the plan, you will need to subscribe to the full plan.
Service Level:
100%
Response Time:
2,072ms
Service Level:
100%
Response Time:
169ms
Service Level:
100%
Response Time:
139ms
Service Level:
100%
Response Time:
708ms
Service Level:
100%
Response Time:
1,268ms
Service Level:
100%
Response Time:
953ms
Service Level:
100%
Response Time:
913ms
Service Level:
100%
Response Time:
143ms
Service Level:
100%
Response Time:
4,496ms
Service Level:
100%
Response Time:
99ms
Service Level:
100%
Response Time:
167ms
Service Level:
100%
Response Time:
145ms
Service Level:
100%
Response Time:
401ms
Service Level:
100%
Response Time:
2,525ms
Service Level:
100%
Response Time:
168ms
Service Level:
100%
Response Time:
239ms
Service Level:
100%
Response Time:
1,070ms