Travel Information API

Travel Information API

The Travel Information API enables users to find embassies, retrieve country details, explore activities, and obtain brief country overviews seamlessly.

API description

About the API:  

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.

What this API receives and what your API provides (input/output)?

It will receive parameters and provide you with a JSON.

 

What are the most common uses cases of this API?

  1. 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.

 

Are there any limitations to your plans?

Besides the number of API calls per month, there are no other limitations. 

API Documentation

Endpoints


To use this endpoint you must indicate the name of a country in the parameter.



                                                                            
GET https://zylalabs.com/api/3127/travel+information+api/3318/country+activities
                                                                            
                                                                        

Country activities - Endpoint Features
Object Description
country [Required]
Test Endpoint

API EXAMPLE RESPONSE

       
                                                                                                        
                                                                                                                                                                                                                            {"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."}]}}
                                                                                                                                                                                                                    
                                                                                                    

Country activities - CODE SNIPPETS


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.



                                                                            
GET https://zylalabs.com/api/3127/travel+information+api/3319/country+details
                                                                            
                                                                        

Country details - Endpoint Features
Object Description
country [Required]
Test Endpoint

API EXAMPLE RESPONSE

       
                                                                                                        
                                                                                                                                                                                                                            {"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"]}
                                                                                                                                                                                                                    
                                                                                                    

Country details - CODE SNIPPETS


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.



                                                                            
GET https://zylalabs.com/api/3127/travel+information+api/3320/locate+a+consulate+overseas
                                                                            
                                                                        

Locate a Consulate Overseas - Endpoint Features
Object Description
destination [Required]
source [Required]
Test Endpoint

API EXAMPLE RESPONSE

       
                                                                                                        
                                                                                                                                                                                                                            {"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"}]}
                                                                                                                                                                                                                    
                                                                                                    

Locate a Consulate Overseas - CODE SNIPPETS


curl --location --request GET 'https://zylalabs.com/api/3127/travel+information+api/3320/locate+a+consulate+overseas?destination=usa&source=turkey' --header 'Authorization: Bearer YOUR_API_KEY' 

    

To use this endpoint you must indicate the name of a country in the parameter.



                                                                            
GET https://zylalabs.com/api/3127/travel+information+api/3321/basic+information+on+a+country
                                                                            
                                                                        

Basic Information on a Country - Endpoint Features
Object Description
country [Required]
Test Endpoint

API EXAMPLE RESPONSE

       
                                                                                                        
                                                                                                                                                                                                                            {"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"}]}}
                                                                                                                                                                                                                    
                                                                                                    

Basic Information on a Country - CODE SNIPPETS


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' 

    

API Access Key & Authentication

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 Information API REST API, simply include your bearer token in the Authorization header.

Headers

Header Description
Authorization [Required] Should be Bearer access_key. See "Your API Access Key" above when you are subscribed.


Simple Transparent Pricing

No long term commitments. One click upgrade/downgrade or cancellation. No questions asked.

🚀 Enterprise
Starts at $10,000/Year

  • Custom Volume
  • Dedicated account manager
  • Service-level agreement (SLA)

Customer favorite features

  • ✔︎ Only Pay for Successful Requests
  • ✔︎ Free 7-Day Trial
  • ✔︎ Multi-Language Support
  • ✔︎ One API Key, All APIs.
  • ✔︎ Intuitive Dashboard
  • ✔︎ Comprehensive Error Handling
  • ✔︎ Developer-Friendly Docs
  • ✔︎ Postman Integration
  • ✔︎ Secure HTTPS Connections
  • ✔︎ Reliable Uptime

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.

Sure, you can use it and pay only when you use it. The credit can’t be expired.

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, in other words, an API MarketPlace. An all-in-one solution for your developing needs. You will be accessing our extended list of APIs with only your user. Also, you won't need to worry about storing API keys, only one API key for all our products is needed.

Prices are listed in USD. 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 with paying by card, just contact us at [email protected]

Sometimes depending on the bank's fraud protection settings, a bank will decline the validation charge we make when we attempt to be sure a card is valid. We recommend first contacting your bank to see if they are blocking our charges. If more help is needed, please contact [email protected] and our team will investigate further

Prices are based on a recurring monthly subscription depending on the plan selected — plus overage fees applied when a developer exceeds a plan’s quota limits. In this example, you'll see the base plan amount as well as a quota limit of API requests. Be sure to notice the overage fee because you will be charged for each additional request.

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.

Just go to the pricing page of that API and select the plan that you want to upgrade to. You will only be charged the full amount of that plan, but you will be enjoying the features that the plan offers right away.

Yes, absolutely. If you want to cancel your plan, simply go to your account and cancel on the Billing page. Upgrades, downgrades, and cancellations are immediate.

You can contact us through our chat channel to receive immediate assistance. We are always online from 9 am to 6 pm (GMT+1). If you reach us after that time, we will be in contact when we are back. Also you can contact us via email to [email protected]

 Service Level
100%
 Response Time
2,702ms

Category:


Tags:


Related APIs