The World Countries Data API is a robust and comprehensive resource that provides a wealth of information on countries around the world. Its seamless integration and user-friendly interface allows users to effortlessly access various country-related data, making it indispensable in a variety of applications.
Delving into geography, population statistics, capital cities, calling codes and other data for virtually every country, this API meets a variety of needs, whether it's creating travel applications, conducting market analysis or enriching data analysis tasks. Its strength lies in its adaptability, as it has a wide range of endpoints for retrieving accurate data or complete country profiles.
In summary, the World Countries Data API presents itself as a powerful and flexible tool for accessing comprehensive country information. Its broad data set, customizable endpoints, and ease of integration make it indispensable for users, developers, businesses, enterprises, researchers, and global organizations alike. Whether refining travel applications, conducting market research or unraveling global demographics, this API provides users with the data needed to make informed decisions and create compelling data-driven solutions.
It will receive parameters and provide you with a JSON.
Travel planning applications: Integrate country data to provide users with information about their destination, including currency, capital city.
E-commerce localization: Customize product offerings and pricing based on country currency data, creating a tailored shopping experience.
Financial services: Use economic data to evaluate investment opportunities, track exchange rates and analyze economic trends across countries.
Demographic analysis: Research and analyze demographics and population growth for market segmentation and strategic planning.
Geographic mapping: Create interactive maps with geographic data, national borders and capital cities for educational and travel applications.
Besides the number of API calls, there is no other limitation.
To use this endpoint just run it and you will get the name of all the continents.
[{"Id": 1, "Name": "Asia"}, {"Id": 2, "Name": "Africa"}, {"Id": 3, "Name": "Oceania"}, {"Id": 4, "Name": "Europe"}, {"Id": 5, "Name": "North America"}, {"Id": 6, "Name": "South America"}, {"Id": 7, "Name": "Antarctica"}]
curl --location --request GET 'https://zylalabs.com/api/4076/world+countries+data+api/4912/continents' --header 'Authorization: Bearer YOUR_API_KEY'
To use this endpoint you must indicate the name of a continent.
Countries by continent - Endpoint Features
Object | Description |
---|---|
continent |
[Required] |
[{"Id": 1, "Name": "Afghanistan", "Flag": "http://media.tekbunny.com/countriesflags/images/af.png", "Independent": "Yes", "CountryCodes": ["AF", "AFG (ISO 3166-1)"], "OfficialName": "Islamic Emirate of Afghanistan", "CapitalCity": "Kabul", "Continent": "Asia", "MemberOf": ["United Nations", "Collective Security Treaty Organization", "Organisation of Islamic Cooperation"], "Population": "32\u00a0225\u00a0560 (2019)", "TotalArea": "652\u00a0230 km2", "HighestPoint": "Noshaq (7\u00a0492\u00a0m, 24\u00a0580\u00a0ft)", "LowestPoint": "Amu Darya (258\u00a0m, 846\u00a0ft)", "GdpPerCapita": "$ 521 (World Bank, 2018)", "Currency": "Afghan afghani (\u060b, AFN)", "CallingCode": ["+93"], "InternetTld": ".af"}, {"Id": 12, "Name": "Armenia", "Flag": "http://media.tekbunny.com/countriesflags/images/am.png", "Independent": "Yes", "CountryCodes": ["AM", "ARM (ISO 3166-1)"], "OfficialName": "Republic of Armenia", "CapitalCity": "Yerevan", "Continent": "Asia", "MemberOf": ["United Nations", "Collective Security Treaty Organization", "Commonwealth of Independent States", "Eurasian Economic Union"], "Population": "2\u00a0957\u00a0500 (2019)", "TotalArea": "29\u00a0743 km2", "HighestPoint": "Mount Aragats (4\u00a0090\u00a0m, 13\u00a0419\u00a0ft)", "LowestPoint": "Debed (400\u00a0m, 1\u00a0312\u00a0ft)", "GdpPerCapita": "$ 4\u00a0212 (World Bank, 2018)", "Currency": "Armenian dram (\u058f, AMD)", "CallingCode": ["+374"], "InternetTld": ".am"}, {"Id": 16, "Name": "Azerbaijan", "Flag": "http://media.tekbunny.com/countriesflags/images/az.png", "Independent": "Yes", "CountryCodes": ["AZ", "AZE (ISO 3166-1)"], "OfficialName": "Republic of Azerbaijan", "CapitalCity": "Baku", "Continent": "Asia", "MemberOf": ["United Nations", "Commonwealth of Independent States", "Turkic Council", "Organisation of Islamic Cooperation"], "Population": "10\u00a0067\u00a0108 (2020)", "TotalArea": "86\u00a0600 km2", "HighestPoint": "Mount Bazard\u00fcz\u00fc (4\u00a0485\u00a0m, 14\u00a0715\u00a0ft)", "LowestPoint": "Caspian Sea (-28\u00a0m, -92\u00a0ft)", "GdpPerCapita": "$ 4\u00a0721 (World Bank, 2018)", "Currency": "Azerbaijani manat (\u20bc, AZN)", "CallingCode": ["+994"], "InternetTld": ".az"}, {"Id": 18, "Name": "Bahrain", "Flag": "http://media.tekbunny.com/countriesflags/images/bh.png", "Independent": "Yes", "CountryCodes": ["BH", "BHR (ISO 3166-1)"], "OfficialName": "Kingdom of Bahrain", "CapitalCity": "Manama", "Continent": "Asia", "MemberOf": ["United Nations", "Gulf Cooperation Council", "Arab League", "Organisation of Islamic Cooperation"], "Population": "1\u00a0543\u00a0300 (2019)", "TotalArea": "778 km2", "HighestPoint": "Mountain of Smoke (122\u00a0m, 400\u00a0ft)", "LowestPoint": "Persian Gulf", "GdpPerCapita": "$ 24\u00a0051 (World Bank, 2018)", "Currency": "Bahraini dinar (.\u062f.\u0628, BHD)", "CallingCode": ["+973"], "InternetTld": ".bh"}, {"Id": 19, "Name": "Bangladesh", "Flag": "http://media.tekbunny.com/countriesflags/images/bd.png", "Independent": "Yes", "CountryCodes": ["BD", "BGD (ISO 3166-1)"], "OfficialName": "People's Republic of Bangladesh", "CapitalCity": "Dhaka", "Continent": "Asia", "MemberOf": ["United Nations", "Commonwealth of Nations", "Organisation of Islamic Cooperation"], "Population": "168\u00a0163\u00a0758 (2020)", "TotalArea": "147\u00a0570 km2", "HighestPoint": "Saka Haphong (1\u00a0052\u00a0m, 3\u00a0451\u00a0ft)", "LowestPoint": "Bay of Bengal", "GdpPerCapita": "$ 1\u00a0698 (World Bank, 2018)", "Currency": "Bangladeshi taka (\u09f3, BDT)", "CallingCode": ["+880"], "InternetTld": ".bd"}, {"Id": 26, "Name": "Bhutan", "Flag": "http://media.tekbunny.com/countriesflags/images/bt.png", "Independent": "Yes", "CountryCodes": ["BT", "BTN (ISO 3166-1)"], "OfficialName": "Kingdom of Bhutan", "CapitalCity": "Thimphu", "Continent": "Asia", "MemberOf": ["United Nations"], "Population": "741\u00a0672 (2019)", "TotalArea": "38\u00a0394 km2", "HighestPoint": "Gangkhar Puensum (7\u00a0570\u00a0m, 24\u00a0836\u00a0ft)", "LowestPoint": "Drangme Chhu (97\u00a0m, 318\u00a0ft)", "GdpPerCapita": "$ 3\u00a0243 (World Bank, 2018)", "Currency": "Bhutanese ngultrum (Nu., BTN)", "CallingCode": ["+975"], "InternetTld": ".bt"}, {"Id": 33, "Name": "Brunei", "Flag": "http://media.tekbunny.com/countriesflags/images/bn.png", "Independent": "Yes", "CountryCodes": ["BN", "BRN (ISO 3166-1)"], "OfficialName": "Nation of Brunei, Abode of Peace", "CapitalCity": "Bandar Seri Begawan", "Continent": "Asia", "MemberOf": ["United Nations", "Commonwealth of Nations", "Association of Southeast Asian Nations", "Organisation of Islamic Cooperation"], "Population": "442\u00a0400 (2018)", "TotalArea": "5\u00a0765 km2", "HighestPoint": "Bukit Pagon (1\u00a0850\u00a0m, 6\u00a0070\u00a0ft)", "LowestPoint": "South China Sea", "GdpPerCapita": "$ 31\u00a0628 (World Bank, 2018)", "Currency": "Brunei dollar ($, BND)", "CallingCode": ["+673"], "InternetTld": ".bn"}, {"Id": 37, "Name": "Cambodia", "Flag": "http://media.tekbunny.com/countriesflags/images/kh.png", "Independent": "Yes", "CountryCodes": ["KH", "KHM (ISO 3166-1)"], "OfficialName": "Kingdom of Cambodia", "CapitalCity": "Phnom Penh", "Continent": "Asia", "MemberOf": ["United Nations", "Association of Southeast Asian Nations"], "Population": "15\u00a0288\u00a0489 (2019)", "TotalArea": "181\u00a0035 km2", "HighestPoint": "Phnom Aural (1\u00a0810\u00a0m, 5\u00a0938\u00a0ft)", "LowestPoint": "Gulf of Thailand", "GdpPerCapita": "$ 1\u00a0510 (World Bank, 2018)", "Currency": "Cambodian riel (\u17db, KHR)", "CallingCode": ["+855"], "InternetTld": ".kh"}, {"Id": 46, "Name": "China", "Flag": "http://media.tekbunny.com/countriesflags/images/cn.png", "Independent": "Yes", "CountryCodes": ["CN", "CHN (ISO 3166-1)"], "OfficialName": "People's Republic of China", "CapitalCity": "Beijing", "Continent": "Asia", "MemberOf": ["United Nations"], "Population": "1\u00a0401\u00a0492\u00a0920 (2020)", "TotalArea": "9\u00a0596\u00a0960 km2", "HighestPoint": "Mount Everest (8\u00a0848\u00a0m, 29\u00a0029\u00a0ft)", "LowestPoint": "Ayding Lake (-154\u00a0m, -505\u00a0ft)", "GdpPerCapita": "$ 9\u00a0771 (World Bank, 2018)", "Currency": "Chinese yuan (\u00a5, CNY)", "CallingCode": ["+86"], "InternetTld": ".cn, .\u4e2d\u56fd, .\u4e2d\u570b, .\u516c\u53f8, .\u7f51\u7edc"}, {"Id": 66, "Name": "Egypt", "Flag": "http://media.tekbunny.com/countriesflags/images/eg.png", "Independent": "Yes", "CountryCodes": ["EG", "EGY (ISO 3166-1)"], "OfficialName": "Arab Republic of Egypt", "CapitalCity": "Cairo", "Continent": "Africa, Asia", "MemberOf": ["United Nations", "African Union", "Arab League", "Organisation of Islamic Cooperation"], "Population": "100\u00a0052\u00a0943 (2020)", "TotalArea": "1\u00a0002\u00a0450 km2", "HighestPoint": "Mount Catherine (2\u00a0629\u00a0m, 8\u00a0625\u00a0ft)", "LowestPoint": "Qattara Depression (-133\u00a0m, -436\u00a0ft)", "GdpPerCapita": "$ 2\u00a0549 (World Bank, 2018)", "Currency": "Egyptian pound (E\u00a3, EGP)", "CallingCode": ["+20"], "InternetTld": ".eg, .\u0645\u0635\u0631"}, {"Id": 84, "Name": "Georgia", "Flag": "http://media.tekbunny.com/countriesflags/images/ge.png", "Independent": "Yes", "CountryCodes": ["GE", "GEO (ISO 3166-1)"], "OfficialName": "Georgia", "CapitalCity": "Tbilisi", "Continent": "Asia", "MemberOf": ["United Nations"], "Population": "3\u00a0723\u00a0464 (2019)", "TotalArea": "69\u00a0700 km2", "HighestPoint": "Shkhara (5\u00a0201\u00a0m, 17\u00a0064\u00a0ft)", "LowestPoint": "Black Sea", "GdpPerCapita": "$ 4\u00a0717 (World Bank, 2018)", "Currency": "Georgian lari (\u20be, GEL)", "CallingCode": ["+995"], "InternetTld": ".ge"}, {"Id": 101, "Name": "Hong Kong", "Flag": "http://media.tekbunny.com/countriesflags/images/hk.png", "Independent": "No", "CountryCodes": ["HK", "HKG (ISO 3166-1)"], "OfficialName": "Hong Kong Special Administrative Region of the People's Republic of China", "CapitalCity": "City of Victoria", "Continent": "Asia", "Population": "7\u00a0500\u00a0700 (2019)", "TotalArea": "1\u00a0104 km2", "HighestPoint": "Tai Mo Shan (958\u00a0m, 3\u00a0143\u00a0ft)", "LowestPoint": "South China Sea", "GdpPerCapita": "$ 48\u00a0717 (World Bank, 2018)", "Currency": "Hong Kong dollar ($, HKD)", "CallingCode": ["+852"], "InternetTld": ".hk, .\u9999\u6e2f"}, {"Id": 104, "Name": "India", "Flag": "http://media.tekbunny.com/countriesflags/images/in.png", "Independent": "Yes", "CountryCodes": ["IN", "IND (ISO 3166-1)"], "OfficialName": "Republic of India", "CapitalCity": "New Delhi", "Continent": "Asia", "MemberOf": ["United Nations", "Commonwealth of Nations"], "Population": "1\u00a0359\u00a0072\u00a0550 (2020)", "TotalArea": "3\u00a0287\u00a0260 km2", "HighestPoint": "Kangchenjunga (8\u00a0586\u00a0m, 28\u00a0169\u00a0ft)", "LowestPoint": "Kuttanad (-2\u00a0m, -7\u00a0ft)", "GdpPerCapita": "$ 2\u00a0010 (World Bank, 2018)", "Currency": "Indian rupee (\u20b9, INR)", "CallingCode": ["+91"], "InternetTld": ".in"}, {"Id": 105, "Name": "Indonesia", "Flag": "http://media.tekbunny.com/countriesflags/images/id.png", "Independent": "Yes", "CountryCodes": ["ID", "IDN (ISO 3166-1)"], "OfficialName": "Republic of Indonesia", "CapitalCity": "Jakarta", "Continent": "Asia, Oceania", "MemberOf": ["United Nations", "Association of Southeast Asian Nations", "Organisation of Islamic Cooperation"], "Population": "266\u00a0911\u00a0900 (2019)", "TotalArea": "1\u00a0910\u00a0930 km2", "HighestPoint": "Puncak Jaya (4\u00a0884\u00a0m, 16\u00a0024\u00a0ft)", "LowestPoint": "Indian Ocean, South Pacific Ocean", "GdpPerCapita": "$ 3\u00a0894 (World Bank, 2018)", "Currency": "Indonesian rupiah (Rp, IDR)", "CallingCode": ["+62"], "InternetTld": ".id"}, {"Id": 106, "Name": "Iran", "Flag": "http://media.tekbunny.com/countriesflags/images/ir.png", "Independent": "Yes", "CountryCodes": ["IR", "IRN (ISO 3166-1)"], "OfficialName": "Islamic Republic of Iran", "CapitalCity": "Tehran", "Continent": "Asia", "MemberOf": ["United Nations", "Organisation of Islamic Cooperation", "OPEC"], "Population": "83\u00a0230\u00a0120 (2020)", "Tota...
curl --location --request GET 'https://zylalabs.com/api/4076/world+countries+data+api/4913/countries+by+continent?continent=asia' --header 'Authorization: Bearer YOUR_API_KEY'
To use this endpoint you must indicate the name of a country in the parameter.
Country data by Name - Endpoint Features
Object | Description |
---|---|
name |
[Required] |
[{"Id": 68, "Name": "England", "Flag": "http://media.tekbunny.com/countriesflags/images/gb-eng.png", "Independent": "No", "CountryCodes": ["GB-ENG (ISO 3166-2:GB)"], "OfficialName": "England", "CapitalCity": "London", "Population": "55\u00a0977\u00a0178 (2018)", "TotalArea": "130\u00a0279 km2", "Currency": "British pound (\u00a3, GBP)", "CallingCode": ["+44"], "InternetTld": ".uk"}]
curl --location --request GET 'https://zylalabs.com/api/4076/world+countries+data+api/4914/country+data+by+name?name=england' --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 the user must indicate the name of a country or continent.
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.
The World Countries Data API is a service that provides detailed information on countries around the world, including demographic and economic data.
A World Countries Data API is essential for accessing detailed and up-to-date information about countries around the world quickly and efficiently.
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:
412ms
Service Level:
100%
Response Time:
3,227ms
Service Level:
100%
Response Time:
1,153ms
Service Level:
100%
Response Time:
1,053ms
Service Level:
100%
Response Time:
474ms
Service Level:
86%
Response Time:
1,607ms
Service Level:
100%
Response Time:
317ms
Service Level:
100%
Response Time:
950ms
Service Level:
100%
Response Time:
1,069ms
Service Level:
100%
Response Time:
216ms
Service Level:
100%
Response Time:
488ms
Service Level:
100%
Response Time:
1,353ms
Service Level:
100%
Response Time:
281ms
Service Level:
100%
Response Time:
346ms
Service Level:
100%
Response Time:
227ms
Service Level:
100%
Response Time:
528ms
Service Level:
100%
Response Time:
432ms