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.
It will receive parameters and provide you with a JSON.
Travel planning: Travelers can access information about a country to effectively plan their trips.
Market research: Companies can gather geographic data to make informed decisions about expanding into new markets.
Educational resources: Educational platforms can provide students with information to study the geographic characteristics of different countries.
Content creation: Content creators can use country data to create informative articles, videos and presentations.
Cultural awareness: People can learn about the customs, traditions and cultural practices of different countries to improve cross-cultural understanding.
Besides the number of API calls, there is no other limitation.
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.
Countries by continent - Endpoint Features
Object | Description |
---|---|
continent |
[Required] |
[{"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_...
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 citys by country ID - Endpoint Features
Object | Description |
---|---|
country_id |
[Required] |
[{"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":""}]
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'
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 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.
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 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:
474ms
Service Level:
100%
Response Time:
412ms
Service Level:
100%
Response Time:
319ms
Service Level:
100%
Response Time:
1,053ms
Service Level:
100%
Response Time:
216ms
Service Level:
100%
Response Time:
3,227ms
Service Level:
100%
Response Time:
317ms
Service Level:
100%
Response Time:
429ms
Service Level:
100%
Response Time:
950ms
Service Level:
100%
Response Time:
1,153ms
Service Level:
100%
Response Time:
192ms
Service Level:
89%
Response Time:
979ms
Service Level:
100%
Response Time:
227ms
Service Level:
100%
Response Time:
346ms
Service Level:
100%
Response Time:
528ms
Service Level:
100%
Response Time:
1,353ms
Service Level:
100%
Response Time:
281ms