Nation Codes and Data API

The Nation Codes and Data API provides comprehensive data on countries around the world, including codes, time zones and geolocation.

About the API:  

The Nation Codes and Data API serves as a comprehensive resource for accessing detailed country data from around the world. This API is designed to provide users with accurate and up-to-date information, including country codes, demographics, geographic details and more.

In essence, the Nation Codes and Data API provides a comprehensive database of country data. This includes standard country codes, such as ISO numeric and alpha codes. These identifiers are crucial for various applications, such as data processing, international communication and system interoperability.

In addition to the basic identifiers, the API provides a wealth of information about each country. This includes geographic data such as continent name, continent code, region, sub region and more. This information is essential for applications ranging from travel planning to international business operations.

One of the key strengths of the Nation Codes and Data API lies in its ability to provide real-time updates. The API is regularly maintained and updated to ensure that users have access to the latest information about countries around the world.

The API is designed to meet the diverse needs of users. It offers several endpoints and parameters for retrieving data, allowing users to tailor their queries to specific requirements.

Integration of the Nation Codes and Data API into existing systems and applications is straightforward. The API provides comprehensive documentation and support resources to guide users through the integration process. With clear documentation and well-defined endpoints, users can easily incorporate the API into their projects, regardless of their level of technical expertise.

In conclusion, the Nation Codes and Data API is a valuable resource for accessing detailed country data from around the world. With its comprehensive database, updates and geolocation information, the API provides users with the tools they need to access accurate and up-to-date country data for a wide range of applications.

 

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. E-commerce: Use country information for shipping calculations and targeted marketing.

    Travel planning: Display destination details, including time zone, regions and sub-regions.

    Financial services: Verify customer identity, assess risk factors and facilitate cross-border transactions.

    Education: Enhance curricula with real-world examples and country-specific case studies.

    Data Visualization: Create interactive maps and visualizations to display country-specific data and trends.

     

Are there any limitations to your plans?

Besides the number of API calls available for the plan, there are no other limitations.

API Documentation

Endpoints


To use this endpoint just run it and you will get information about all available countries.



                                                                            
GET https://zylalabs.com/api/3496/nation+codes+and+data+api/3827/all+countries
                                                                            
                                                                        

Test Endpoint

API EXAMPLE RESPONSE

       
                                                                                                        
                                                                                                                                                                                                                            {"Response":"true","countries":[{"country":"Afghanistan","capital":"Kabul","iso_alpha_two":"AF","iso_alpha_three":"AFG","continent_code":"AS","continent_name":"Asia","dialing_code":"+93","top_level_domain":".af","currency_code":"AFN","currency_name":"Afghani","languages":"fa-AF,ps,uz-AF,tk","google_map":"https:\/\/www.google.com\/maps\/embed?pb=!1m18!1m12!1m3!1d6787725.81885993!2d62.410048354358494!3d33.82987671264582!2m3!1f0!2f0!3f0!3m2!1i1024!2i768!4f13.1!3m3!1m2!1s0x38d16eb6f8ff026d%3A0xf3b5460dbe96da78!2sAfghanistan!5e0!3m2!1sen!2sin!4v1703354158326!5m2!1sen!2sin","coc_url":"https:\/\/codesofcountry.com\/countries\/af","wikipedia":"https:\/\/wikipedia.org\/wiki\/Afghanistan","geonames":"https:\/\/www.geonames.org\/1149361"},{"country":"Albania","capital":"Tirana","iso_alpha_two":"AL","iso_alpha_three":"ALB","continent_code":"EU","continent_name":"Europe","dialing_code":"+355","top_level_domain":".al","currency_code":"ALL","currency_name":"Lek","languages":"sq,el","google_map":"https:\/\/www.google.com\/maps\/embed?pb=!1m18!1m12!1m3!1d3077619.686826237!2d17.385207582393257!3d41.123872263036965!2m3!1f0!2f0!3f0!3m2!1i1024!2i768!4f13.1!3m3!1m2!1s0x13453bf3bd274c2d%3A0x77ce589d6983bee!2sAlbania!5e0!3m2!1sen!2sin!4v1703354570920!5m2!1sen!2sin","coc_url":"https:\/\/codesofcountry.com\/countries\/al","wikipedia":"https:\/\/wikipedia.org\/wiki\/Albania","geonames":"https:\/\/www.geonames.org\/783754"},{"country":"Algeria","capital":"Algiers","iso_alpha_two":"DZ","iso_alpha_three":"DZA","continent_code":"AF","continent_name":"Africa","dialing_code":"+213","top_level_domain":".dz","currency_code":"DZD","currency_name":"Algerian Dinar","languages":"ar-DZ","google_map":"https:\/\/www.google.com\/maps\/embed?pb=!1m18!1m12!1m3!1d14468991.587265927!2d-8.984854933014605!3d27.702812996140956!2m3!1f0!2f0!3f0!3m2!1i1024!2i768!4f13.1!3m3!1m2!1s0xd7e8a6a28037bd1%3A0x7140bee3abd7f8a2!2sAlgeria!5e0!3m2!1sen!2sin!4v1703396238180!5m2!1sen!2sin","coc_url":"https:\/\/codesofcountry.com\/countries\/dz","wikipedia":"https:\/\/wikipedia.org\/wiki\/Algeria","geonames":"https:\/\/www.geonames.org\/2589581"},{"country":"American Samoa","capital":"Pago Pago","iso_alpha_two":"AS","iso_alpha_three":"ASM","continent_code":"OC","continent_name":"Oceania","dialing_code":"+1-684","top_level_domain":".as","currency_code":"USD","currency_name":"US Dollar","languages":"en-AS,sm,to","google_map":"https:\/\/www.google.com\/maps\/embed?pb=!1m18!1m12!1m3!1d3983098.106997233!2d-172.2537642201772!3d-12.859788539765551!2m3!1f0!2f0!3f0!3m2!1i1024!2i768!4f13.1!3m3!1m2!1s0x71a684b79248fdc9%3A0xf3ee739e2dae4bdd!2sAmerican%20Samoa!5e0!3m2!1sen!2sin!4v1703356183930!5m2!1sen!2sin","coc_url":"https:\/\/codesofcountry.com\/countries\/as","wikipedia":"https:\/\/wikipedia.org\/wiki\/American_Samoa","geonames":"https:\/\/www.geonames.org\/5880801"},{"country":"Andorra","capital":"Andorra la Vella","iso_alpha_two":"AD","iso_alpha_three":"AND","continent_code":"EU","continent_name":"Europe","dialing_code":"+376","top_level_domain":".ad","currency_code":"EUR","currency_name":"Euro","languages":"ca","google_map":"https:\/\/www.google.com\/maps\/embed?pb=!1m18!1m12!1m3!1d1786963.998906572!2d0.05497556244858549!3d42.64299116378023!2m3!1f0!2f0!3f0!3m2!1i1024!2i768!4f13.1!3m3!1m2!1s0x12a5f52e989ef095%3A0x7c93ed778ea7f92!2sAndorra!5e0!3m2!1sen!2sin!4v1707724261932!5m2!1sen!2sin","coc_url":"https:\/\/codesofcountry.com\/countries\/ad","wikipedia":"https:\/\/wikipedia.org\/wiki\/Andorra","geonames":"https:\/\/www.geonames.org\/3041565"},{"country":"Angola","capital":"Luanda","iso_alpha_two":"AO","iso_alpha_three":"AGO","continent_code":"AF","continent_name":"Africa","dialing_code":"+244","top_level_domain":".ao","currency_code":"AOA","currency_name":"Kwanza","languages":"pt-AO","google_map":"https:\/\/www.google.com\/maps\/embed?pb=!1m18!1m12!1m3!1d16041935.066958588!2d7.086896918872472!3d-11.00196164448845!2m3!1f0!2f0!3f0!3m2!1i1024!2i768!4f13.1!3m3!1m2!1s0x1a51f24ecaad8b27%3A0x590a289d0d4a4e3d!2sAngola!5e0!3m2!1sen!2sin!4v1703354618451!5m2!1sen!2sin","coc_url":"https:\/\/codesofcountry.com\/countries\/ao","wikipedia":"https:\/\/wikipedia.org\/wiki\/Angola","geonames":"https:\/\/www.geonames.org\/3351879"},{"country":"Anguilla","capital":"The Valley","iso_alpha_two":"AI","iso_alpha_three":"AIA","continent_code":"NA","continent_name":"North America","dialing_code":"+1-264","top_level_domain":".ai","currency_code":"XCD","currency_name":"East Caribbean Dollar","languages":"en-AI","google_map":"https:\/\/www.google.com\/maps\/embed?pb=!1m18!1m12!1m3!1d484615.3536965697!2d-63.529826015039795!3d18.3902362538774!2m3!1f0!2f0!3f0!3m2!1i1024!2i768!4f13.1!3m3!1m2!1s0x8c0e63748eef01e5%3A0x3b9d6ad384e0d481!2sAnguilla!5e0!3m2!1sen!2sin!4v1703354307148!5m2!1sen!2sin","coc_url":"https:\/\/codesofcountry.com\/countries\/ai","wikipedia":"https:\/\/wikipedia.org\/wiki\/Anguilla","geonames":"https:\/\/www.geonames.org\/3573511"},{"country":"Antarctica","capital":"-","iso_alpha_two":"AQ","iso_alpha_three":"ATA","continent_code":"AN","continent_name":"Antarctica","dialing_code":"+672","top_level_domain":".aq","currency_code":"-","currency_name":"No universal currency","languages":"-","google_map":"https:\/\/www.google.com\/maps\/embed?pb=!1m18!1m12!1m3!1d16858886.629529595!2d0!3d-75.05434995!2m3!1f0!2f0!3f0!3m2!1i1024!2i768!4f13.1!3m3!1m2!1s0xa4b9967b3390754b%3A0x6e52be1f740f2075!2sAntarctica!5e0!3m2!1sen!2sin!4v1703354670612!5m2!1sen!2sin","coc_url":"https:\/\/codesofcountry.com\/countries\/aq","wikipedia":"https:\/\/wikipedia.org\/wiki\/Antarctica","geonames":"https:\/\/www.geonames.org\/6697173"},{"country":"Antigua & Barbuda","capital":"St. John's","iso_alpha_two":"AG","iso_alpha_three":"ATG","continent_code":"NA","continent_name":"North America","dialing_code":"+1-268","top_level_domain":".ag","currency_code":"XCD","currency_name":"East Caribbean Dollar","languages":"en-AG","google_map":"https:\/\/www.google.com\/maps\/embed?pb=!1m18!1m12!1m3!1d975047.8442462834!2d-62.66973192016723!3d17.326129801525735!2m3!1f0!2f0!3f0!3m2!1i1024!2i768!4f13.1!3m3!1m2!1s0x8c0d6eb96db8d1c1%3A0x276a3788e18b7994!2sAntigua%20and%20Barbuda!5e0!3m2!1sen!2sin!4v1703354250165!5m2!1sen!2sin","coc_url":"https:\/\/codesofcountry.com\/countries\/ag","wikipedia":"https:\/\/wikipedia.org\/wiki\/Antigua_&_Barbuda","geonames":"https:\/\/www.geonames.org\/3576396"},{"country":"Argentina","capital":"Buenos Aires","iso_alpha_two":"AR","iso_alpha_three":"ARG","continent_code":"SA","continent_name":"South America","dialing_code":"+54","top_level_domain":".ar","currency_code":"ARS","currency_name":"Argentine Peso","languages":"es-AR,en,it,de,fr,gn","google_map":"https:\/\/www.google.com\/maps\/embed?pb=!1m18!1m12!1m3!1d26288720.21738408!2d-84.91487976549536!3d-36.45580919411564!2m3!1f0!2f0!3f0!3m2!1i1024!2i768!4f13.1!3m3!1m2!1s0x95bccaf5f5fdc667%3A0x3d2f77992af00fa8!2sArgentina!5e0!3m2!1sen!2sin!4v1703354706667!5m2!1sen!2sin","coc_url":"https:\/\/codesofcountry.com\/countries\/ar","wikipedia":"https:\/\/wikipedia.org\/wiki\/Argentina","geonames":"https:\/\/www.geonames.org\/3865483"},{"country":"Armenia","capital":"Yerevan","iso_alpha_two":"AM","iso_alpha_three":"ARM","continent_code":"AS","continent_name":"Asia","dialing_code":"+374","top_level_domain":".am","currency_code":"AMD","currency_name":"Armenian Dram","languages":"hy","google_map":"https:\/\/www.google.com\/maps\/embed?pb=!1m18!1m12!1m3!1d1563369.5149293214!2d43.72128861653477!3d40.06523761790402!2m3!1f0!2f0!3f0!3m2!1i1024!2i768!4f13.1!3m3!1m2!1s0x40155684e773bac7%3A0xd0b4757aeb822d23!2sArmenia!5e0!3m2!1sen!2sin!4v1703354596588!5m2!1sen!2sin","coc_url":"https:\/\/codesofcountry.com\/countries\/am","wikipedia":"https:\/\/wikipedia.org\/wiki\/Armenia","geonames":"https:\/\/www.geonames.org\/174982"},{"country":"Aruba","capital":"Oranjestad","iso_alpha_two":"AW","iso_alpha_three":"ABW","continent_code":"NA","continent_name":"North America","dialing_code":"+297","top_level_domain":".aw","currency_code":"AWG","currency_name":"Aruban Florin","languages":"nl-AW,pap,es,en","google_map":"https:\/\/www.google.com\/maps\/embed?pb=!1m18!1m12!1m3!1d249277.60268680842!2d-70.1321057394676!3d12.518640493776841!2m3!1f0!2f0!3f0!3m2!1i1024!2i768!4f13.1!3m3!1m2!1s0x8e8538cfe25a77db%3A0xf16a8a3e89818c2f!2sAruba!5e0!3m2!1sen!2sin!4v1703356799025!5m2!1sen!2sin","coc_url":"https:\/\/codesofcountry.com\/countries\/aw","wikipedia":"https:\/\/wikipedia.org\/wiki\/Aruba","geonames":"https:\/\/www.geonames.org\/3577279"},{"country":"Australia","capital":"Canberra","iso_alpha_two":"AU","iso_alpha_three":"AUS","continent_code":"OC","continent_name":"Oceania","dialing_code":"+61","top_level_domain":".au","currency_code":"AUD","currency_name":"Australian Dollar","languages":"en-AU","google_map":"https:\/\/www.google.com\/maps\/embed?pb=!1m18!1m12!1m3!1d61939664.12766661!2d87.0224236297329!3d-18.641677198688285!2m3!1f0!2f0!3f0!3m2!1i1024!2i768!4f13.1!3m3!1m2!1s0x2b2bfd076787c5df%3A0x538267a1955b1352!2sAustralia!5e0!3m2!1sen!2sin!4v1703356303158!5m2!1sen!2sin","coc_url":"https:\/\/codesofcountry.com\/countries\/au","wikipedia":"https:\/\/wikipedia.org\/wiki\/Australia","geonames":"https:\/\/www.geonames.org\/2077456"},{"country":"Austria","capital":"Vienna","iso_alpha_two":"AT","iso_alpha_three":"AUT","continent_code":"EU","continent_name":"Europe","dialing_code":"+43","top_level_domain":".at","currency_code":"EUR","currency_name":"Euro","languages":"de-AT,hr,hu,sl","google_map":"https:\/\/www.google.com\/maps\/embed?pb=!1m18!1m12!1m3!1d2751230.2632664903!2d10.705643558685386!3d47.66988579601666!2m3!1f0!2f0!3f0!3m2!1i1024!2i768!4f13.1!3m3!1m2!1s0x476d079b259d2a7f%3A0x1012d47bdde4c1af!2sAustria!5e0!3m2!1sen!2sin!4v1703356213598!5m2!1sen!2sin","coc_url":"https:\/\/codesofcountry.com\/countries\/at","wikipedia":"https:\/\/wikipedia.org\/wiki\/Austria","geonames":"https:\/\/www.geonames.org\/2782113"},{"country":"Azerbaijan","capital":"Baku","iso_alpha_two":"AZ","iso_alpha_three":"AZE","continent_code":"AS","c...
                                                                                                                                                                                                                    
                                                                                                    

All Countries - CODE SNIPPETS


curl --location --request GET 'https://zylalabs.com/api/3496/nation+codes+and+data+api/3827/all+countries' --header 'Authorization: Bearer YOUR_API_KEY' 

    

To use this endpoint you must indicate an ISO continent code in the parameter.



                                                                            
GET https://zylalabs.com/api/3496/nation+codes+and+data+api/3828/countries+by+continent
                                                                            
                                                                        

Countries by Continent - Endpoint Features

Object Description
continent [Required] Enter ISO Code
Test Endpoint

API EXAMPLE RESPONSE

       
                                                                                                        
                                                                                                                                                                                                                            {"Response":"true","continent_code":"AS","continent_name":"Asia","countries":[{"country":"Afghanistan","capital":"Kabul","iso_alpha_two":"AF","iso_alpha_three":"AFG","dialing_code":"+93","top_level_domain":".af","currency_code":"AFN","currency_name":"Afghani","languages":"fa-AF,ps,uz-AF,tk","google_map":"https:\/\/www.google.com\/maps\/embed?pb=!1m18!1m12!1m3!1d6787725.81885993!2d62.410048354358494!3d33.82987671264582!2m3!1f0!2f0!3f0!3m2!1i1024!2i768!4f13.1!3m3!1m2!1s0x38d16eb6f8ff026d%3A0xf3b5460dbe96da78!2sAfghanistan!5e0!3m2!1sen!2sin!4v1703354158326!5m2!1sen!2sin","coc_url":"https:\/\/codesofcountry.com\/countries\/af","wikipedia":"https:\/\/wikipedia.org\/wiki\/Afghanistan","geonames":"https:\/\/www.geonames.org\/1149361"},{"country":"Armenia","capital":"Yerevan","iso_alpha_two":"AM","iso_alpha_three":"ARM","dialing_code":"+374","top_level_domain":".am","currency_code":"AMD","currency_name":"Armenian Dram","languages":"hy","google_map":"https:\/\/www.google.com\/maps\/embed?pb=!1m18!1m12!1m3!1d1563369.5149293214!2d43.72128861653477!3d40.06523761790402!2m3!1f0!2f0!3f0!3m2!1i1024!2i768!4f13.1!3m3!1m2!1s0x40155684e773bac7%3A0xd0b4757aeb822d23!2sArmenia!5e0!3m2!1sen!2sin!4v1703354596588!5m2!1sen!2sin","coc_url":"https:\/\/codesofcountry.com\/countries\/am","wikipedia":"https:\/\/wikipedia.org\/wiki\/Armenia","geonames":"https:\/\/www.geonames.org\/174982"},{"country":"Azerbaijan","capital":"Baku","iso_alpha_two":"AZ","iso_alpha_three":"AZE","dialing_code":"+994","top_level_domain":".az","currency_code":"AZN","currency_name":"Azerbaijan Manat","languages":"az,ru,hy","google_map":"https:\/\/www.google.com\/maps\/embed?pb=!1m18!1m12!1m3!1d3122836.506763496!2d45.113556007406245!3d40.15019016789137!2m3!1f0!2f0!3f0!3m2!1i1024!2i768!4f13.1!3m3!1m2!1s0x40307cd91aa21ddf%3A0xe6c9526b3e83cd08!2sAzerbaijan!5e0!3m2!1sen!2sin!4v1703356846085!5m2!1sen!2sin","coc_url":"https:\/\/codesofcountry.com\/countries\/az","wikipedia":"https:\/\/wikipedia.org\/wiki\/Azerbaijan","geonames":"https:\/\/www.geonames.org\/587116"},{"country":"Bahrain","capital":"Manama","iso_alpha_two":"BH","iso_alpha_three":"BHR","dialing_code":"+973","top_level_domain":".bh","currency_code":"BHD","currency_name":"Bahraini Dinar","languages":"ar-BH,en,fa,ur","google_map":"https:\/\/www.google.com\/maps\/embed?pb=!1m18!1m12!1m3!1d918485.3668769207!2d49.92806616616114!3d25.94069242429676!2m3!1f0!2f0!3f0!3m2!1i1024!2i768!4f13.1!3m3!1m2!1s0x3e48524e6a47a211%3A0x2e9450e2dbda1046!2sBahrain!5e0!3m2!1sen!2sin!4v1703393630139!5m2!1sen!2sin","coc_url":"https:\/\/codesofcountry.com\/countries\/bh","wikipedia":"https:\/\/wikipedia.org\/wiki\/Bahrain","geonames":"https:\/\/www.geonames.org\/290291"},{"country":"Bangladesh","capital":"Dhaka","iso_alpha_two":"BD","iso_alpha_three":"BGD","dialing_code":"+880","top_level_domain":".bd","currency_code":"BDT","currency_name":"Taka","languages":"bn-BD,en","google_map":"https:\/\/www.google.com\/maps\/embed?pb=!1m18!1m12!1m3!1d7497569.224186385!2d85.04568056420784!3d23.42716756710205!2m3!1f0!2f0!3f0!3m2!1i1024!2i768!4f13.1!3m3!1m2!1s0x30adaaed80e18ba7%3A0xf2d28e0c4e1fc6b!2sBangladesh!5e0!3m2!1sen!2sin!4v1703356950901!5m2!1sen!2sin","coc_url":"https:\/\/codesofcountry.com\/countries\/bd","wikipedia":"https:\/\/wikipedia.org\/wiki\/Bangladesh","geonames":"https:\/\/www.geonames.org\/1210997"},{"country":"Bhutan","capital":"Thimphu","iso_alpha_two":"BT","iso_alpha_three":"BTN","dialing_code":"+975","top_level_domain":".bt","currency_code":"INR,BTN","currency_name":"Indian Rupee,Ngultrum","languages":"dz","google_map":"https:\/\/www.google.com\/maps\/embed?pb=!1m18!1m12!1m3!1d1812455.9388780352!2d89.1156928316753!3d27.470722373505147!2m3!1f0!2f0!3f0!3m2!1i1024!2i768!4f13.1!3m3!1m2!1s0x375b92a573c595cf%3A0xbb0cac652836bcda!2sBhutan!5e0!3m2!1sen!2sin!4v1703393985856!5m2!1sen!2sin","coc_url":"https:\/\/codesofcountry.com\/countries\/bt","wikipedia":"https:\/\/wikipedia.org\/wiki\/Bhutan","geonames":"https:\/\/www.geonames.org\/1252634"},{"country":"British Indian Ocean Territory","capital":"Diego Garcia","iso_alpha_two":"IO","iso_alpha_three":"IOT","dialing_code":"+246","top_level_domain":".io","currency_code":"USD","currency_name":"US Dollar","languages":"en-IO","google_map":"https:\/\/www.google.com\/maps\/embed?pb=!1m18!1m12!1m3!1d1014082.3616606559!2d71.6421931476542!3d-6.859503603414223!2m3!1f0!2f0!3f0!3m2!1i1024!2i768!4f13.1!3m3!1m2!1s0x249273e0849da387%3A0xa94f6470101f6be1!2sBritish%20Indian%20Ocean%20Territory!5e0!3m2!1sen!2sin!4v1703398532569!5m2!1sen!2sin","coc_url":"https:\/\/codesofcountry.com\/countries\/io","wikipedia":"https:\/\/wikipedia.org\/wiki\/British_Indian_Ocean_Territory","geonames":"https:\/\/www.geonames.org\/1282588"},{"country":"Brunei","capital":"Bandar Seri Begawan","iso_alpha_two":"BN","iso_alpha_three":"BRN","dialing_code":"+673","top_level_domain":".bn","currency_code":"BND","currency_name":"Brunei Dollar","languages":"ms-BN,en-BN","google_map":"https:\/\/www.google.com\/maps\/embed?pb=!1m18!1m12!1m3!1d1018172.7272057835!2d114.06038897153418!3d4.551291439575354!2m3!1f0!2f0!3f0!3m2!1i1024!2i768!4f13.1!3m3!1m2!1s0x3218994b04b8b9d1%3A0x5dfe3580dd09dad6!2sBrunei!5e0!3m2!1sen!2sin!4v1703393800930!5m2!1sen!2sin","coc_url":"https:\/\/codesofcountry.com\/countries\/bn","wikipedia":"https:\/\/wikipedia.org\/wiki\/Brunei","geonames":"https:\/\/www.geonames.org\/1820814"},{"country":"Cambodia","capital":"Phnom Penh","iso_alpha_two":"KH","iso_alpha_three":"KHM","dialing_code":"+855","top_level_domain":".kh","currency_code":"KHR","currency_name":"Riel","languages":"km,fr,en","google_map":"https:\/\/www.google.com\/maps\/embed?pb=!1m18!1m12!1m3!1d3994232.610192714!2d102.33749088803616!3d12.138283311809758!2m3!1f0!2f0!3f0!3m2!1i1024!2i768!4f13.1!3m3!1m2!1s0x310787bfd4dc3743%3A0xe4b7bfe089f41253!2sCambodia!5e0!3m2!1sen!2sin!4v1703398824002!5m2!1sen!2sin","coc_url":"https:\/\/codesofcountry.com\/countries\/kh","wikipedia":"https:\/\/wikipedia.org\/wiki\/Cambodia","geonames":"https:\/\/www.geonames.org\/1831722"},{"country":"China","capital":"Beijing","iso_alpha_two":"CN","iso_alpha_three":"CHN","dialing_code":"+86","top_level_domain":".cn","currency_code":"CNY","currency_name":"Yuan Renminbi","languages":"zh-CN,yue,wuu,dta,ug,za","google_map":"https:\/\/www.google.com\/maps\/embed?pb=!1m18!1m12!1m3!1d27203390.247035842!2d82.71025314986056!3d33.66425183453277!2m3!1f0!2f0!3f0!3m2!1i1024!2i768!4f13.1!3m3!1m2!1s0x31508e64e5c642c1%3A0x951daa7c349f366f!2sChina!5e0!3m2!1sen!2sin!4v1703395254123!5m2!1sen!2sin","coc_url":"https:\/\/codesofcountry.com\/countries\/cn","wikipedia":"https:\/\/wikipedia.org\/wiki\/China","geonames":"https:\/\/www.geonames.org\/1814991"},{"country":"Hong Kong","capital":"Hong Kong","iso_alpha_two":"HK","iso_alpha_three":"HKG","dialing_code":"+852","top_level_domain":".hk","currency_code":"HKD","currency_name":"Hong Kong Dollar","languages":"zh-HK,yue,zh,en","google_map":"https:\/\/www.google.com\/maps\/embed?pb=!1m18!1m12!1m3!1d472322.0440938459!2d113.80972609797465!3d22.353025858796194!2m3!1f0!2f0!3f0!3m2!1i1024!2i768!4f13.1!3m3!1m2!1s0x3403e2eda332980f%3A0xf08ab3badbeac97c!2sHong%20Kong!5e0!3m2!1sen!2sin!4v1703398209027!5m2!1sen!2sin","coc_url":"https:\/\/codesofcountry.com\/countries\/hk","wikipedia":"https:\/\/wikipedia.org\/wiki\/Hong_Kong","geonames":"https:\/\/www.geonames.org\/1819730"},{"country":"Macau","capital":"Macao","iso_alpha_two":"MO","iso_alpha_three":"MAC","dialing_code":"+853","top_level_domain":".mo","currency_code":"MOP","currency_name":"Pataca","languages":"zh,zh-MO,pt","google_map":"https:\/\/www.google.com\/maps\/embed?pb=!1m18!1m12!1m3!1d83595.01138049133!2d113.49716912836887!3d22.186426046500216!2m3!1f0!2f0!3f0!3m2!1i1024!2i768!4f13.1!3m3!1m2!1s0x34017ae0e235c8f3%3A0xc67be32cb485acf6!2sMacao!5e0!3m2!1sen!2sin!4v1703404135077!5m2!1sen!2sin","coc_url":"https:\/\/codesofcountry.com\/countries\/mo","wikipedia":"https:\/\/wikipedia.org\/wiki\/Macau","geonames":"https:\/\/www.geonames.org\/1821275"},{"country":"Cocos (Keeling) Islands","capital":"West Island","iso_alpha_two":"CC","iso_alpha_three":"CCK","dialing_code":"+61","top_level_domain":".cc","currency_code":"AUD","currency_name":"Australian Dollar","languages":"ms-CC,en","google_map":"https:\/\/www.google.com\/maps\/embed?pb=!1m18!1m12!1m3!1d296895.6852700905!2d96.70824719335587!3d-12.118013664713756!2m3!1f0!2f0!3f0!3m2!1i1024!2i768!4f13.1!3m3!1m2!1s0x2f0ec5897ee869c1%3A0xdbd142f010e39fa6!2sCocos%20(Keeling)%20Islands!5e0!3m2!1sen!2sin!4v1703394294117!5m2!1sen!2sin","coc_url":"https:\/\/codesofcountry.com\/countries\/cc","wikipedia":"https:\/\/wikipedia.org\/wiki\/Cocos_(Keeling)_Islands","geonames":"https:\/\/www.geonames.org\/1547376"},{"country":"North Korea","capital":"Pyongyang","iso_alpha_two":"KP","iso_alpha_three":"PRK","dialing_code":"+850","top_level_domain":".kp","currency_code":"KPW","currency_name":"North Korean Won","languages":"ko-KP","google_map":"https:\/\/www.google.com\/maps\/embed?pb=!1m18!1m12!1m3!1d4380547.964220143!2d123.51805657525263!3d40.6978220847054!2m3!1f0!2f0!3f0!3m2!1i1024!2i768!4f13.1!3m3!1m2!1s0x357e02dae64f4337%3A0x3a0b871c3e1d861c!2sNorth%20Korea!5e0!3m2!1sen!2sin!4v1703403116709!5m2!1sen!2sin","coc_url":"https:\/\/codesofcountry.com\/countries\/kp","wikipedia":"https:\/\/wikipedia.org\/wiki\/North_Korea","geonames":"https:\/\/www.geonames.org\/1873107"},{"country":"Georgia","capital":"Tbilisi","iso_alpha_two":"GE","iso_alpha_three":"GEO","dialing_code":"+995","top_level_domain":".ge","currency_code":"GEL","currency_name":"Lari","languages":"ka,ru,hy,az","google_map":"https:\/\/www.google.com\/maps\/embed?pb=!1m18!1m12!1m3!1d3022079.047500085!2d40.71692261371453!3d42.294550577461216!2m3!1f0!2f0!3f0!3m2!1i1024!2i768!4f13.1!3m3!1m2!1s0x40440cd7e64f626b%3A0x4f907964122d4ac2!2sGeorgia!5e0!3m2!1sen!2sin!4v1703396875113!5m2!1sen!2sin","coc_url":"https:\/\/codesofcountry.com\/countries\/ge","wikipedia":"https:\/\/wikipedia.org\/wiki\/Georgia","geonames":"https:\/\/www.geonames.org\/614540"},{"...
                                                                                                                                                                                                                    
                                                                                                    

Countries by Continent - CODE SNIPPETS


curl --location --request GET 'https://zylalabs.com/api/3496/nation+codes+and+data+api/3828/countries+by+continent?continent=as' --header 'Authorization: Bearer YOUR_API_KEY' 

    

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



                                                                            
GET https://zylalabs.com/api/3496/nation+codes+and+data+api/3829/country+by+iso+code
                                                                            
                                                                        

Country by ISO Code - Endpoint Features

Object Description
country [Required] Enter ISO Code
Test Endpoint

API EXAMPLE RESPONSE

       
                                                                                                        
                                                                                                                                                                                                                            {"Response":"true","result":[{"region_code":"19","region_name":"Americas","sub_region_code":"21","sub_region_name":"Northern America","continent_code":"NA","continent_name":"North America","country_name":"United States","unterm_english_formal":"the United States of America","capital":"Washington","languages":"en-US,es-US,haw,fr","iso_numeric":"840","iso_alpha_two":"US","iso_alpha_three":"USA","dialing_code":"+1","top_level_domain":".us","license_plate_code":"USA","currency_numeric_code":"840","currency_alphabetic_code":"USD","currency_name":"US Dollar","m49_code":"840","fifa_code":"USA","marc_code":"xxu","gaul_code":"259","fips_code":"US","wmo_code":"US","ioc_code":"USA","edgar_code":"-","icao_airport_code":"K,  PA, PB, PF, PH, PJ, PL, PM, PO, PP, PW","icao_aircraft_registration":"N","e212_mobile_country_codes":"310-316","undp_country_code":"USA","nato_three_letter":"USA","nato_two_letter":"US","itu_code":"USA","itu_maritime_id":"338, 366-369","itu_callsign":"AAA-ALZ, KAA-KZZ, NAA-NZZ, WAA-WZZ","gs1_gtin":"000-139","google_map":"https:\/\/www.google.com\/maps\/embed?pb=!1m18!1m12!1m3!1d43113775.82976594!2d-157.64932403432!3d48.73498469323982!2m3!1f0!2f0!3f0!3m2!1i1024!2i768!4f13.1!3m3!1m2!1s0x54eab584e432360b%3A0x1c3bb99243deb742!2sUnited%20States!5e0!3m2!1sen!2sin!4v1703409846808!5m2!1sen!2sin","coc_url":"https:\/\/codesofcountry.com\/countries\/us","wikipedia":"https:\/\/wikipedia.org\/wiki\/United_States","geonames":"https:\/\/www.geonames.org\/6252001"}]}
                                                                                                                                                                                                                    
                                                                                                    

Country by ISO Code - CODE SNIPPETS


curl --location --request GET 'https://zylalabs.com/api/3496/nation+codes+and+data+api/3829/country+by+iso+code?country=us' --header 'Authorization: Bearer YOUR_API_KEY' 

    

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



                                                                            
GET https://zylalabs.com/api/3496/nation+codes+and+data+api/3830/time+zone
                                                                            
                                                                        

Time Zone - Endpoint Features

Object Description
timezones [Required] Enter ISO Code
Test Endpoint

API EXAMPLE RESPONSE

       
                                                                                                        
                                                                                                                                                                                                                            {"Response":"true","country_code":"US","result":[{"time_zone":"America\/Adak","utc_offset":"\u221210:00","utc_dst_offset":"\u221209:00"},{"time_zone":"America\/Anchorage","utc_offset":"\u221209:00","utc_dst_offset":"\u221208:00"},{"time_zone":"America\/Atka","utc_offset":"\u221210:00","utc_dst_offset":"\u221209:00"},{"time_zone":"America\/Boise","utc_offset":"\u221207:00","utc_dst_offset":"\u221206:00"},{"time_zone":"America\/Chicago","utc_offset":"\u221206:00","utc_dst_offset":"\u221205:00"},{"time_zone":"America\/Denver","utc_offset":"\u221207:00","utc_dst_offset":"\u221206:00"},{"time_zone":"America\/Detroit","utc_offset":"\u221205:00","utc_dst_offset":"\u221204:00"},{"time_zone":"America\/Fort_Wayne","utc_offset":"\u221205:00","utc_dst_offset":"\u221204:00"},{"time_zone":"America\/Indiana\/Indianapolis","utc_offset":"\u221205:00","utc_dst_offset":"\u221204:00"},{"time_zone":"America\/Indiana\/Knox","utc_offset":"\u221206:00","utc_dst_offset":"\u221205:00"},{"time_zone":"America\/Indiana\/Marengo","utc_offset":"\u221205:00","utc_dst_offset":"\u221204:00"},{"time_zone":"America\/Indiana\/Petersburg","utc_offset":"\u221205:00","utc_dst_offset":"\u221204:00"},{"time_zone":"America\/Indiana\/Tell_City","utc_offset":"\u221206:00","utc_dst_offset":"\u221205:00"},{"time_zone":"America\/Indiana\/Vevay","utc_offset":"\u221205:00","utc_dst_offset":"\u221204:00"},{"time_zone":"America\/Indiana\/Vincennes","utc_offset":"\u221205:00","utc_dst_offset":"\u221204:00"},{"time_zone":"America\/Indiana\/Winamac","utc_offset":"\u221205:00","utc_dst_offset":"\u221204:00"},{"time_zone":"America\/Indianapolis","utc_offset":"\u221205:00","utc_dst_offset":"\u221204:00"},{"time_zone":"America\/Juneau","utc_offset":"\u221209:00","utc_dst_offset":"\u221208:00"},{"time_zone":"America\/Kentucky\/Louisville","utc_offset":"\u221205:00","utc_dst_offset":"\u221204:00"},{"time_zone":"America\/Kentucky\/Monticello","utc_offset":"\u221205:00","utc_dst_offset":"\u221204:00"},{"time_zone":"America\/Knox_IN","utc_offset":"\u221206:00","utc_dst_offset":"\u221205:00"},{"time_zone":"America\/Los_Angeles","utc_offset":"\u221208:00","utc_dst_offset":"\u221207:00"},{"time_zone":"America\/Louisville","utc_offset":"\u221205:00","utc_dst_offset":"\u221204:00"},{"time_zone":"America\/Menominee","utc_offset":"\u221206:00","utc_dst_offset":"\u221205:00"},{"time_zone":"America\/Metlakatla","utc_offset":"\u221209:00","utc_dst_offset":"\u221208:00"},{"time_zone":"America\/New_York","utc_offset":"\u221205:00","utc_dst_offset":"\u221204:00"},{"time_zone":"America\/Nome","utc_offset":"\u221209:00","utc_dst_offset":"\u221208:00"},{"time_zone":"America\/North_Dakota\/Beulah","utc_offset":"\u221206:00","utc_dst_offset":"\u221205:00"},{"time_zone":"America\/North_Dakota\/Center","utc_offset":"\u221206:00","utc_dst_offset":"\u221205:00"},{"time_zone":"America\/North_Dakota\/New_Salem","utc_offset":"\u221206:00","utc_dst_offset":"\u221205:00"},{"time_zone":"America\/Phoenix","utc_offset":"\u221207:00","utc_dst_offset":"\u221207:00"},{"time_zone":"America\/Shiprock","utc_offset":"\u221207:00","utc_dst_offset":"\u221206:00"},{"time_zone":"America\/Sitka","utc_offset":"\u221209:00","utc_dst_offset":"\u221208:00"},{"time_zone":"America\/Yakutat","utc_offset":"\u221209:00","utc_dst_offset":"\u221208:00"},{"time_zone":"Navajo","utc_offset":"\u221207:00","utc_dst_offset":"\u221206:00"},{"time_zone":"Pacific\/Honolulu","utc_offset":"\u221210:00","utc_dst_offset":"\u221210:00"},{"time_zone":"US\/Alaska","utc_offset":"\u221209:00","utc_dst_offset":"\u221208:00"},{"time_zone":"US\/Aleutian","utc_offset":"\u221210:00","utc_dst_offset":"\u221209:00"},{"time_zone":"US\/Arizona","utc_offset":"\u221207:00","utc_dst_offset":"\u221207:00"},{"time_zone":"US\/Central","utc_offset":"\u221206:00","utc_dst_offset":"\u221205:00"},{"time_zone":"US\/East-Indiana","utc_offset":"\u221205:00","utc_dst_offset":"\u221204:00"},{"time_zone":"US\/Eastern","utc_offset":"\u221205:00","utc_dst_offset":"\u221204:00"},{"time_zone":"US\/Hawaii","utc_offset":"\u221210:00","utc_dst_offset":"\u221210:00"},{"time_zone":"US\/Indiana-Starke","utc_offset":"\u221206:00","utc_dst_offset":"\u221205:00"},{"time_zone":"US\/Michigan","utc_offset":"\u221205:00","utc_dst_offset":"\u221204:00"},{"time_zone":"US\/Mountain","utc_offset":"\u221207:00","utc_dst_offset":"\u221206:00"},{"time_zone":"US\/Pacific","utc_offset":"\u221208:00","utc_dst_offset":"\u221207:00"}],"Total":47}
                                                                                                                                                                                                                    
                                                                                                    

Time Zone - CODE SNIPPETS


curl --location --request GET 'https://zylalabs.com/api/3496/nation+codes+and+data+api/3830/time+zone?timezones=us' --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 Nation Codes and Data 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
  • Specialized Customer Support
  • Real-Time API Monitoring

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, users must enter an ISO Code of a country or continent to obtain accurate and up-to-date information.

The Nation Codes and Data API provides access to comprehensive data on countries around the world. It provides detailed information including country codes, geographic details and much more.

There are different plans to suit all tastes, including a free trial for a small number of requests, but your rate is limited to avoid 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
281ms

Category:


Related APIs