Country Discover API

Country Discover API

The Country Discover API provides comprehensive information on key country data from around the world for your applications.

API description

About the API:  

A Country Discover API serves as a critical gateway for accessing and retrieving a wide range of information about a specific nation. This digital conduit allows users, researchers, analysts and businesses to programmatically collect comprehensive information from various countries around the world. Through this data-rich interface, users can harness the power of information to improve decision-making, drive innovation and gain a comprehensive view of global affairs.

At its core, the Country Discover API is designed to provide seamless access to a wealth of structured data such as capital city, continent, subregion, iso codes, time zones, states and more. This API enables cross-cutting analysis, helping users to understand the complex relationships between variables and make informed comparisons across countries.

The architecture of the Country Discover API is based on modern principles of web development and data dissemination. This allows developers to send requests to API endpoints and receive structured responses, in JSON format.

With the Country Discover API, users can create applications that provide users with information about various aspects of a nation's life. These applications go beyond research and academia; users can leverage this data to make informed decisions about market expansion, investment opportunities, and risk assessment.

The advantages of a Country Discover API are numerous. It reduces the need to manually collect and update data, as the API automatically pulls the latest information from reliable sources. This streamlines research processes and improves the accuracy and reliability of the data presented.

In conclusion, a Country Discover API is a digital pipeline that bridges the gap between raw information and actionable insights. It offers developers and users a structured and programmable method to access a wide range of data. By democratizing access to information and enabling data-driven decision making, this API plays a critical role in advancing research, innovation and informed discourse on a global scale. Whether for academic exploration, business strategy or policy formulation, a Country Discover API enables us to understand the complexities of the world in ways previously unattainable.

 

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. Travel planning: Travelers can access information about a country to effectively plan their trips.

  2. Market research: Companies can gather geographic data to make informed decisions about expanding into new markets.

  3. Educational resources: Educational platforms can provide students with information to study the geographic characteristics of different countries.

  4. Content creation: Content creators can use country data to create informative articles, videos and presentations.

  5. Cultural awareness: People can learn about the customs, traditions and cultural practices of different countries to improve cross-cultural understanding.

Are there any limitations to your plans?

Besides the number of API calls, there is no other limitation.

API Documentation

Endpoints


To use this endpoint you must indicate in the parameter the name of a continent to obtain information of the countries that are in it.



                                                                            
GET https://zylalabs.com/api/2471/country+discover+api/2445/countries+by+continent
                                                                            
                                                                        

Countries by continent - Endpoint Features
Object Description
continent [Required]
Test Endpoint

API EXAMPLE RESPONSE

       
                                                                                                        
                                                                                                                                                                                                                            [{"id":2,"countryName":"Albania","capitalCity":"Tirana","latitude":"41","longitude":"20","continent":"Europe","subregion":"Southern Europe","population":"2886026","callingCode":"355","iso2":"AL","iso3":"ALB","borders":["MNE, GRC, MKD, KOS"],"nativeName":"Shqipëria","basicInformation":"null","states":["null"],"flag":{"path":"/vault/iQHuRt5-/oSTyz-U8wn5zDp_rLe8qIC5IK7c/NZpGig../Flag_of_Albania.png","name":"Flag_of_Albania.png","type":"image","size":2441,"mime":"image/png","meta":{"width":120,"height":86},"url":"https://xtia-sqpu-wjp6.n7.xano.io/vault/iQHuRt5-/oSTyz-U8wn5zDp_rLe8qIC5IK7c/NZpGig../Flag_of_Albania.png"},"timezones":[{"timezones":["UTC+01:00"]}],"currency":[{"code":"ALL","name":"Albanian lek","symbol":"L"}],"languages":[{"iso639_1":"sq","iso639_2":"sqi","name":"Albanian lek","nativeName":"Shqipëria"}]},{"id":5,"countryName":"Andorra","capitalCity":"Andorra la Vella","latitude":"42.5","longitude":"1.5","continent":"Europe","subregion":"Southern Europe","population":"78014","callingCode":"376","iso2":"AD","iso3":"AND","borders":["FRA, ESP"],"nativeName":"Andorra","basicInformation":"null","states":["null"],"flag":{"path":"/vault/iQHuRt5-/9b1Z3Yru65AUksu0umJKPRzU72U/aYOSag../Flag_of_Andorra.svg.png","name":"Flag_of_Andorra.svg.png","type":"image","size":2987,"mime":"image/png","meta":{"width":120,"height":84},"url":"https://xtia-sqpu-wjp6.n7.xano.io/vault/iQHuRt5-/9b1Z3Yru65AUksu0umJKPRzU72U/aYOSag../Flag_of_Andorra.svg.png"},"timezones":[{"timezones":["UTC+01:00"]}],"currency":[{"code":"EUR","name":"Euro","symbol":"€"}],"languages":[{"iso639_1":"ca","iso639_2":"cat","name":"Euro","nativeName":"Andorra"}]},{"id":13,"countryName":"Austria","capitalCity":"Vienna","latitude":"47.3","longitude":"13.3","continent":"Europe","subregion":"Western Europe","population":"8725931","callingCode":"43","iso2":"AT","iso3":"AUT","borders":["CZE, DEU, HUN, ITA, LIE, SVK, SVN, CHE"],"nativeName":"Österreich","basicInformation":"null","states":["null"],"flag":{"path":"/vault/iQHuRt5-/a0H0Fyf3D5bIVwtoHj0C56TY1-E/bk2nTg../Flag_of_Austria.svg.png","name":"Flag_of_Austria.svg.png","type":"image","size":306,"mime":"image/png","meta":{"width":120,"height":80},"url":"https://xtia-sqpu-wjp6.n7.xano.io/vault/iQHuRt5-/a0H0Fyf3D5bIVwtoHj0C56TY1-E/bk2nTg../Flag_of_Austria.svg.png"},"timezones":[{"timezones":["UTC+01:00"]}],"currency":[{"code":"EUR","name":"Euro","symbol":"€"}],"languages":[{"iso639_1":"de","iso639_2":"deu","name":"Euro","nativeName":"Österreich"}]},{"id":18,"countryName":"Belarus","capitalCity":"Minsk","latitude":"53","longitude":"28","continent":"Europe","subregion":"Eastern Europe","population":"9498700","callingCode":"375","iso2":"BY","iso3":"BLR","borders":["LVA, LTU, POL, RUS, UKR"],"nativeName":"Белару́сь","basicInformation":"null","states":["null"],"flag":{"path":"/vault/iQHuRt5-/5JKkT0wsKSvvODr4SLmggUWDLg8/QBWtSg../Flag_of_Belarus.svg.png","name":"Flag_of_Belarus.svg.png","type":"image","size":1426,"mime":"image/png","meta":{"width":120,"height":60},"url":"https://xtia-sqpu-wjp6.n7.xano.io/vault/iQHuRt5-/5JKkT0wsKSvvODr4SLmggUWDLg8/QBWtSg../Flag_of_Belarus.svg.png"},"timezones":[{"timezones":["UTC+03:00"]}],"currency":[{"code":"BYN, BYR","name":"New Belarusian ruble, Old Belarusian ruble","symbol":"Br, Br"}],"languages":[{"iso639_1":"be, ru","iso639_2":"bel, rus","name":"New Belarusian ruble, Old Belarusian ruble","nativeName":"Белару́сь"}]},{"id":19,"countryName":"Belgium","capitalCity":"Brussels","latitude":"50.83","longitude":"4","continent":"Europe","subregion":"Western Europe","population":"11319511","callingCode":"32","iso2":"BE","iso3":"BEL","borders":["FRA, DEU, LUX, NLD"],"nativeName":"België","basicInformation":"null","states":["null"],"flag":{"path":"/vault/iQHuRt5-/40Hd2eZGR9SDylHUCoEzerMwLdU/-roOGw../Flag_of_Belgium.svg.png","name":"Flag_of_Belgium.svg.png","type":"image","size":309,"mime":"image/png","meta":{"width":120,"height":104},"url":"https://xtia-sqpu-wjp6.n7.xano.io/vault/iQHuRt5-/40Hd2eZGR9SDylHUCoEzerMwLdU/-roOGw../Flag_of_Belgium.svg.png"},"timezones":[{"timezones":["UTC+01:00"]}],"currency":[{"code":"EUR","name":"Euro","symbol":"€"}],"languages":[{"iso639_1":"nl, fr, de","iso639_2":"nld, fra, deu","name":"Euro","nativeName":"België"}]},{"id":25,"countryName":"Bosnia And Herzegovina","capitalCity":"Sarajevo","latitude":"44","longitude":"18","continent":"Europe","subregion":"Southern Europe","population":"3531159","callingCode":"387","iso2":"BA","iso3":"BIH","borders":["HRV, MNE, SRB"],"nativeName":"Bosna i Hercegovina","basicInformation":"null","states":["null"],"flag":{"path":"/vault/iQHuRt5-/4Aig1ocNkestLdUu68MB2Zr88f4/BELUvA../120px-Flag_of_Bosnia_and_Herzegovina.svg.png","name":"120px-Flag_of_Bosnia_and_Herzegovina.svg.png","type":"image","size":879,"mime":"image/png","meta":{"width":120,"height":60},"url":"https://xtia-sqpu-wjp6.n7.xano.io/vault/iQHuRt5-/4Aig1ocNkestLdUu68MB2Zr88f4/BELUvA../120px-Flag_of_Bosnia_and_Herzegovina.svg.png"},"timezones":[{"timezones":["UTC+01:00"]}],"currency":[{"code":"BAM","name":"Bosnia and Herzegovina convertible mark","symbol":"null"}],"languages":[{"iso639_1":"bs, hr, sr","iso639_2":"bos, hrv, srp","name":"Bosnia and Herzegovina convertible mark","nativeName":"Bosna i Hercegovina"}]},{"id":30,"countryName":"Bulgaria","capitalCity":"Sofia","latitude":"43","longitude":"25","continent":"Europe","subregion":"Eastern Europe","population":"7153784","callingCode":"359","iso2":"BG","iso3":"BGR","borders":["GRC, MKD, ROU, SRB, TUR"],"nativeName":"България","basicInformation":"null","states":["null"],"flag":{"path":"/vault/iQHuRt5-/Yk1qvTWEtQLptGUiTqvNc9GV5Ag/QxpXsg../Flag_of_Bulgaria.svg.png","name":"Flag_of_Bulgaria.svg.png","type":"image","size":302,"mime":"image/png","meta":{"width":120,"height":72},"url":"https://xtia-sqpu-wjp6.n7.xano.io/vault/iQHuRt5-/Yk1qvTWEtQLptGUiTqvNc9GV5Ag/QxpXsg../Flag_of_Bulgaria.svg.png"},"timezones":[{"timezones":["UTC+02:00"]}],"currency":[{"code":"BGN","name":"Bulgarian lev","symbol":"лв"}],"languages":[{"iso639_1":"bg","iso639_2":"bul","name":"Bulgarian lev","nativeName":"България"}]},{"id":50,"countryName":"Croatia","capitalCity":"Zagreb","latitude":"45.16","longitude":"15.5","continent":"Europe","subregion":"Southern Europe","population":"4190669","callingCode":"385","iso2":"HR","iso3":"HRV","borders":["BIH, HUN, MNE, SRB, SVN"],"nativeName":"Hrvatska","basicInformation":"null","states":["null"],"flag":{"path":"/vault/iQHuRt5-/zLgOrWe_5b5YDzd562sdGuD1tiI/pbsqRg../Flag_of_Croatia.svg.png","name":"Flag_of_Croatia.svg.png","type":"image","size":1746,"mime":"image/png","meta":{"width":120,"height":60},"url":"https://xtia-sqpu-wjp6.n7.xano.io/vault/iQHuRt5-/zLgOrWe_5b5YDzd562sdGuD1tiI/pbsqRg../Flag_of_Croatia.svg.png"},"timezones":[{"timezones":["UTC+01:00"]}],"currency":[{"code":"HRK","name":"Croatian kuna","symbol":"kn"}],"languages":[{"iso639_1":"hr","iso639_2":"hrv","name":"Croatian kuna","nativeName":"Hrvatska"}]},{"id":53,"countryName":"Cyprus","capitalCity":"Nicosia","latitude":"35","longitude":"33","continent":"Europe","subregion":"Southern Europe","population":"847000","callingCode":"357","iso2":"CY","iso3":"CYP","borders":["GBR"],"nativeName":"Κύπρος","basicInformation":"null","states":["null"],"flag":{"path":"/vault/iQHuRt5-/fylZK_qAxdgeAgzJi4HBTJGjWUc/IIxhhA../120px-Flag_of_Cyprus.svg.png","name":"120px-Flag_of_Cyprus.svg.png","type":"image","size":2615,"mime":"image/png","meta":{"width":120,"height":80},"url":"https://xtia-sqpu-wjp6.n7.xano.io/vault/iQHuRt5-/fylZK_qAxdgeAgzJi4HBTJGjWUc/IIxhhA../120px-Flag_of_Cyprus.svg.png"},"timezones":[{"timezones":["UTC+02:00"]}],"currency":[{"code":"EUR","name":"Euro","symbol":"€"}],"languages":[{"iso639_1":"el, tr, hy","iso639_2":"ell, tur, hye","name":"Euro","nativeName":"Κύπρος"}]},{"id":54,"countryName":"Czechia","capitalCity":"Prague","latitude":"49.75","longitude":"15.5","continent":"Europe","subregion":"","population":"","callingCode":"","iso2":"","iso3":"","borders":[],"nativeName":"","basicInformation":"","states":[],"flag":{"path":"/vault/iQHuRt5-/RbkFqAAEbn97L4mcmmKEVM0aM4o/UYjc6A../Flag_of_Czechia.png","name":"Flag_of_Czechia.png","type":"image","size":999,"mime":"image/png","meta":{"width":182,"height":121},"url":"https://xtia-sqpu-wjp6.n7.xano.io/vault/iQHuRt5-/RbkFqAAEbn97L4mcmmKEVM0aM4o/UYjc6A../Flag_of_Czechia.png"},"timezones":[],"currency":[],"languages":[]},{"id":55,"countryName":"Denmark","capitalCity":"Copenhagen","latitude":"56","longitude":"10","continent":"Europe","subregion":"Northern Europe","population":"5717014","callingCode":"45","iso2":"DK","iso3":"DNK","borders":["DEU"],"nativeName":"Danmark","basicInformation":"null","states":["null"],"flag":{"path":"/vault/iQHuRt5-/CHrSTYInqYy1rFdsi9TFzhOOqbE/Aphjog../Flag_of_Denmark.svg.png","name":"Flag_of_Denmark.svg.png","type":"image","size":319,"mime":"image/png","meta":{"width":120,"height":91},"url":"https://xtia-sqpu-wjp6.n7.xano.io/vault/iQHuRt5-/CHrSTYInqYy1rFdsi9TFzhOOqbE/Aphjog../Flag_of_Denmark.svg.png"},"timezones":[{"timezones":["UTC-04:00"]}],"currency":[{"code":"DKK","name":"Danish krone","symbol":"kr"}],"languages":[{"iso639_1":"da","iso639_2":"dan","name":"Danish krone","nativeName":"Danmark"}]},{"id":64,"countryName":"Estonia","capitalCity":"Tallinn","latitude":"59","longitude":"26","continent":"Europe","subregion":"Northern Europe","population":"1315944","callingCode":"372","iso2":"EE","iso3":"EST","borders":["LVA, RUS"],"nativeName":"Eesti","basicInformation":"null","states":["null"],"flag":{"path":"/vault/iQHuRt5-/lRfII5KSFU3Xz2wyh9Hwy-geZDc/gkgEaA../Flag_of_Estonia.svg.png","name":"Flag_of_Estonia.svg.png","type":"image","size":325,"mime":"image/png","meta":{"width":120,"height":76},"url":"https://xtia-sqpu-wjp6.n7.xano.io/vault/iQHuRt5-/lRfII5KSFU3Xz2wyh9Hwy-geZDc/gkgEaA../Flag_of_Estonia.svg.png"},"timezones":[{"timezones":["UTC+02:00"]}],"currency":[{"code":"EUR","name":"Euro","symbol":"€"}],"languages":[{"iso639_...
                                                                                                                                                                                                                    
                                                                                                    

Countries by continent - CODE SNIPPETS


curl --location --request GET 'https://zylalabs.com/api/2471/country+discover+api/2445/countries+by+continent?continent=europe' --header 'Authorization: Bearer YOUR_API_KEY' 

    

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



                                                                            
GET https://zylalabs.com/api/2471/country+discover+api/2446/get+citys+by+country+id
                                                                            
                                                                        

Get citys by country ID - Endpoint Features
Object Description
country_id [Required]
Test Endpoint

API EXAMPLE RESPONSE

       
                                                                                                        
                                                                                                                                                                                                                            [{"id":91,"country_id":2,"city":"Bajram Curri","state":""},{"id":75,"country_id":2,"city":"Ballsh","state":""},{"id":73,"country_id":2,"city":"Belsh","state":""},{"id":53,"country_id":2,"city":"Berat","state":""},{"id":83,"country_id":2,"city":"Bilisht","state":""},{"id":78,"country_id":2,"city":"Bulqizë","state":""},{"id":69,"country_id":2,"city":"Burrel","state":""},{"id":85,"country_id":2,"city":"Cërrik","state":""},{"id":90,"country_id":2,"city":"Delvinë","state":""},{"id":77,"country_id":2,"city":"Divjakë","state":""},{"id":49,"country_id":2,"city":"Durrës","state":""},{"id":51,"country_id":2,"city":"Elbasan","state":""},{"id":93,"country_id":2,"city":"Ersekë","state":""},{"id":48,"country_id":2,"city":"Fier","state":""},{"id":62,"country_id":2,"city":"Fushë-Krujë","state":""},{"id":54,"country_id":2,"city":"Gjirokastër","state":""},{"id":70,"country_id":2,"city":"Gramsh","state":""},{"id":47,"country_id":2,"city":"Kamëz","state":""},{"id":60,"country_id":2,"city":"Kavajë","state":""},{"id":52,"country_id":2,"city":"Korçë","state":""},{"id":68,"country_id":2,"city":"Krujë","state":""},{"id":89,"country_id":2,"city":"Krumë","state":""},{"id":56,"country_id":2,"city":"Kukës","state":""},{"id":66,"country_id":2,"city":"Kuçovë","state":""},{"id":63,"country_id":2,"city":"Laç","state":""},{"id":55,"country_id":2,"city":"Lezhë","state":""},{"id":72,"country_id":2,"city":"Libonik","state":""},{"id":82,"country_id":2,"city":"Librazhd","state":""},{"id":67,"country_id":2,"city":"Librazhd-Qendër","state":""},{"id":59,"country_id":2,"city":"Lushnjë","state":""},{"id":76,"country_id":2,"city":"Mamurras","state":""},{"id":65,"country_id":2,"city":"Patos","state":""},{"id":84,"country_id":2,"city":"Peqin","state":""},{"id":57,"country_id":2,"city":"Peshkopi","state":""},{"id":61,"country_id":2,"city":"Pogradec","state":""},{"id":88,"country_id":2,"city":"Prrenjas","state":""},{"id":95,"country_id":2,"city":"Pukë","state":""},{"id":87,"country_id":2,"city":"Përmet","state":""},{"id":86,"country_id":2,"city":"Roskovec","state":""},{"id":81,"country_id":2,"city":"Rrogozhinë","state":""},{"id":74,"country_id":2,"city":"Rrëshen","state":""},{"id":58,"country_id":2,"city":"Sarandë","state":""},{"id":71,"country_id":2,"city":"Shijak","state":""},{"id":50,"country_id":2,"city":"Shkodër","state":""},{"id":79,"country_id":2,"city":"Shëngjin","state":""},{"id":64,"country_id":2,"city":"Sukth","state":""},{"id":92,"country_id":2,"city":"Tepelenë","state":""},{"id":45,"country_id":2,"city":"Tirana","state":""},{"id":80,"country_id":2,"city":"Vau i Dejës","state":""},{"id":46,"country_id":2,"city":"Vlorë","state":""},{"id":94,"country_id":2,"city":"Çorovodë","state":""}]
                                                                                                                                                                                                                    
                                                                                                    

Get citys by country ID - CODE SNIPPETS


curl --location --request GET 'https://zylalabs.com/api/2471/country+discover+api/2446/get+citys+by+country+id?country_id=2' --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 Country Discover 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 this API in the first endpoint just run it and you will get all the countries. For the second endpoint you must indicate an ID of a country acquired in the previous endpoint.

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.

Country Discover API is a comprehensive tool that provides users with information on the different countries of the world by continent.

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
488ms

Category:


Tags:


Related APIs