Country Code API

Country Code API

The Country Codes API provides country names, country codes and currency codes, facilitating global data management and application development.

About the API:  

The Country Code API provides a complete solution for accessing information about countries around the world, including their unique country and currency codes. This API is a valuable resource for applications that require accurate and up-to-date country data, such as international financial platforms, e-commerce websites, travel booking platforms, etc.

In essence, the Country Code API provides a centralized repository of country-related information, allowing developers to retrieve detailed data on individual countries or entire regions. This data includes essential attributes such as country names, ISO country codes, currency codes.

One of the main functionalities of the Country Code API is to retrieve a list of all countries along with their associated country and currency codes. This feature allows you to populate drop-down menus, create searchable databases or display country-specific information in your applications seamlessly. For example, an e-commerce platform can use this data to offer customers the option to select their country and currency preferences during the checkout process, ensuring a personalized user experience.

In conclusion, the Country Code API is a comprehensive source of country-related data, providing the tools needed to build robust, feature-rich applications that require accurate country information. Whether for financial analysis, e-commerce, travel planning or demographic research, the Country Code API provides a reliable and scalable solution for effortless access to country data from around the world.

 

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

It will receive a parameter and provide you with a JSON.

 

What are the most common uses cases of this API?

  1. Global E-commerce Platforms: Utilize country codes and currency codes from the API for facilitating international transactions and displaying prices in local currencies.

    Travel Booking Websites: Employ country information to provide travelers with destination details, currency conversion, and visa requirements.

    Financial Services: Utilize currency codes for currency conversion, exchange rate calculations, and international money transfers.

    Language Learning Apps: Incorporate country data to provide cultural context, language-specific content, and localized learning experiences.

    Weather Forecasting Services: Utilize country codes to offer accurate weather forecasts and alerts for specific regions around the world.

 

Are there any limitations to your plans?

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

API Documentation

Endpoints


To use this endpoints just run it and you will get the country codes along with the curriencies.



                                                                            
GET https://zylalabs.com/api/4140/country+code+api/5000/all+countries+and+currencie+codes
                                                                            
                                                                        

Test Endpoint

API EXAMPLE RESPONSE

       
                                                                                                        
                                                                                                                                                                                                                            {"countries":{"New Zealand":{"CountryCode":"NZ","Currency":"New Zealand Dollars","CurrencyCode":"NZD"},"Cook Islands":{"CountryCode":"CK","Currency":"New Zealand Dollars","CurrencyCode":"NZD"},"Niue":{"CountryCode":"NU","Currency":"New Zealand Dollars","CurrencyCode":"NZD"},"Pitcairn":{"CountryCode":"PN","Currency":"New Zealand Dollars","CurrencyCode":"NZD"},"Tokelau":{"CountryCode":"TK","Currency":"New Zealand Dollars","CurrencyCode":"NZD"},"Australian":{"CountryCode":"AU","Currency":"Australian Dollars","CurrencyCode":"AUD"},"Christmas Island":{"CountryCode":"CX","Currency":"Australian Dollars","CurrencyCode":"AUD"},"Cocos (Keeling) Islands":{"CountryCode":"CC","Currency":"Australian Dollars","CurrencyCode":"AUD"},"Heard and Mc Donald Islands":{"CountryCode":"HM","Currency":"Australian Dollars","CurrencyCode":"AUD"},"Kiribati":{"CountryCode":"KI","Currency":"Australian Dollars","CurrencyCode":"AUD"},"Nauru":{"CountryCode":"NR","Currency":"Australian Dollars","CurrencyCode":"AUD"},"Norfolk Island":{"CountryCode":"NF","Currency":"Australian Dollars","CurrencyCode":"AUD"},"Tuvalu":{"CountryCode":"TV","Currency":"Australian Dollars","CurrencyCode":"AUD"},"American Samoa":{"CountryCode":"AS","Currency":"Euros","CurrencyCode":"EUR"},"Andorra":{"CountryCode":"AD","Currency":"Euros","CurrencyCode":"EUR"},"Austria":{"CountryCode":"AT","Currency":"Euros","CurrencyCode":"EUR"},"Belgium":{"CountryCode":"BE","Currency":"Euros","CurrencyCode":"EUR"},"Finland":{"CountryCode":"FI","Currency":"Euros","CurrencyCode":"EUR"},"France":{"CountryCode":"FR","Currency":"Euros","CurrencyCode":"EUR"},"French Guiana":{"CountryCode":"GF","Currency":"Euros","CurrencyCode":"EUR"},"French Southern Territories":{"CountryCode":"TF","Currency":"Euros","CurrencyCode":"EUR"},"Germany":{"CountryCode":"DE","Currency":"Euros","CurrencyCode":"EUR"},"Greece":{"CountryCode":"GR","Currency":"Euros","CurrencyCode":"EUR"},"Guadeloupe":{"CountryCode":"GP","Currency":"Euros","CurrencyCode":"EUR"},"Ireland":{"CountryCode":"IE","Currency":"Euros","CurrencyCode":"EUR"},"Italy":{"CountryCode":"IT","Currency":"Euros","CurrencyCode":"EUR"},"Luxembourg":{"CountryCode":"LU","Currency":"Euros","CurrencyCode":"EUR"},"Martinique":{"CountryCode":"MQ","Currency":"Euros","CurrencyCode":"EUR"},"Mayotte":{"CountryCode":"YT","Currency":"Euros","CurrencyCode":"EUR"},"Monaco":{"CountryCode":"MC","Currency":"Euros","CurrencyCode":"EUR"},"Netherlands":{"CountryCode":"NL","Currency":"Euros","CurrencyCode":"EUR"},"Portugal":{"CountryCode":"PT","Currency":"Euros","CurrencyCode":"EUR"},"Reunion":{"CountryCode":"RE","Currency":"Euros","CurrencyCode":"EUR"},"Samoa":{"CountryCode":"WS","Currency":"Euros","CurrencyCode":"EUR"},"San Marino":{"CountryCode":"SM","Currency":"Euros","CurrencyCode":"EUR"},"Slovenia":{"CountryCode":"SI","Currency":"Euros","CurrencyCode":"EUR"},"Spain":{"CountryCode":"ES","Currency":"Euros","CurrencyCode":"EUR"},"Vatican City State (Holy See)":{"CountryCode":"VA","Currency":"Euros","CurrencyCode":"EUR"},"South Georgia and the South Sandwich Islands":{"CountryCode":"GS","Currency":"Sterling","CurrencyCode":"GBP"},"United Kingdom":{"CountryCode":"GB","Currency":"Sterling","CurrencyCode":"GBP"},"Jersey":{"CountryCode":"JE","Currency":"Sterling","CurrencyCode":"GBP"},"British Indian Ocean Territory":{"CountryCode":"IO","Currency":"USD","CurrencyCode":"USD"},"Guam":{"CountryCode":"GU","Currency":"USD","CurrencyCode":"USD"},"Marshall Islands":{"CountryCode":"MH","Currency":"USD","CurrencyCode":"USD"},"Micronesia Federated States of":{"CountryCode":"FM","Currency":"USD","CurrencyCode":"USD"},"Northern Mariana Islands":{"CountryCode":"MP","Currency":"USD","CurrencyCode":"USD"},"Palau":{"CountryCode":"PW","Currency":"USD","CurrencyCode":"USD"},"Puerto Rico":{"CountryCode":"PR","Currency":"USD","CurrencyCode":"USD"},"Turks and Caicos Islands":{"CountryCode":"TC","Currency":"USD","CurrencyCode":"USD"},"United States":{"CountryCode":"US","Currency":"USD","CurrencyCode":"USD"},"United States Minor Outlying Islands":{"CountryCode":"UM","Currency":"USD","CurrencyCode":"USD"},"Virgin Islands (British)":{"CountryCode":"VG","Currency":"USD","CurrencyCode":"USD"},"Virgin Islands (US)":{"CountryCode":"VI","Currency":"USD","CurrencyCode":"USD"},"Hong Kong":{"CountryCode":"HK","Currency":"HKD","CurrencyCode":"HKD"},"Canada":{"CountryCode":"CA","Currency":"Canadian Dollar","CurrencyCode":"CAD"},"Japan":{"CountryCode":"JP","Currency":"Japanese Yen","CurrencyCode":"JPY"},"Afghanistan":{"CountryCode":"AF","Currency":"Afghani","CurrencyCode":"AFN"},"Albania":{"CountryCode":"AL","Currency":"Lek","CurrencyCode":"ALL"},"Algeria":{"CountryCode":"DZ","Currency":"Algerian Dinar","CurrencyCode":"DZD"},"Anguilla":{"CountryCode":"AI","Currency":"East Caribbean Dollar","CurrencyCode":"XCD"},"Antigua and Barbuda":{"CountryCode":"AG","Currency":"East Caribbean Dollar","CurrencyCode":"XCD"},"Dominica":{"CountryCode":"DM","Currency":"East Caribbean Dollar","CurrencyCode":"XCD"},"Grenada":{"CountryCode":"GD","Currency":"East Caribbean Dollar","CurrencyCode":"XCD"},"Montserrat":{"CountryCode":"MS","Currency":"East Caribbean Dollar","CurrencyCode":"XCD"},"Saint Kitts":{"CountryCode":"KN","Currency":"East Caribbean Dollar","CurrencyCode":"XCD"},"Saint Lucia":{"CountryCode":"LC","Currency":"East Caribbean Dollar","CurrencyCode":"XCD"},"Saint Vincent Grenadines":{"CountryCode":"VC","Currency":"East Caribbean Dollar","CurrencyCode":"XCD"},"Argentina":{"CountryCode":"AR","Currency":"Peso","CurrencyCode":"ARS"},"Armenia":{"CountryCode":"AM","Currency":"Dram","CurrencyCode":"AMD"},"Aruba":{"CountryCode":"AW","Currency":"Netherlands Antilles Guilder","CurrencyCode":"ANG"},"Netherlands Antilles":{"CountryCode":"AN","Currency":"Netherlands Antilles Guilder","CurrencyCode":"ANG"},"Azerbaijan":{"CountryCode":"AZ","Currency":"Manat","CurrencyCode":"AZN"},"Bahamas":{"CountryCode":"BS","Currency":"Bahamian Dollar","CurrencyCode":"BSD"},"Bahrain":{"CountryCode":"BH","Currency":"Bahraini Dinar","CurrencyCode":"BHD"},"Bangladesh":{"CountryCode":"BD","Currency":"Taka","CurrencyCode":"BDT"},"Barbados":{"CountryCode":"BB","Currency":"Barbadian Dollar","CurrencyCode":"BBD"},"Belarus":{"CountryCode":"BY","Currency":"Belarus Ruble","CurrencyCode":"BYR"},"Belize":{"CountryCode":"BZ","Currency":"Belizean Dollar","CurrencyCode":"BZD"},"Benin":{"CountryCode":"BJ","Currency":"CFA Franc BCEAO","CurrencyCode":"XOF"},"Burkina Faso":{"CountryCode":"BF","Currency":"CFA Franc BCEAO","CurrencyCode":"XOF"},"Guinea-Bissau":{"CountryCode":"GW","Currency":"CFA Franc BCEAO","CurrencyCode":"XOF"},"Ivory Coast":{"CountryCode":"CI","Currency":"CFA Franc BCEAO","CurrencyCode":"XOF"},"Mali":{"CountryCode":"ML","Currency":"CFA Franc BCEAO","CurrencyCode":"XOF"},"Niger":{"CountryCode":"NE","Currency":"CFA Franc BCEAO","CurrencyCode":"XOF"},"Senegal":{"CountryCode":"SN","Currency":"CFA Franc BCEAO","CurrencyCode":"XOF"},"Togo":{"CountryCode":"TG","Currency":"CFA Franc BCEAO","CurrencyCode":"XOF"},"Bermuda":{"CountryCode":"BM","Currency":"Bermudian Dollar","CurrencyCode":"BMD"},"Bhutan":{"CountryCode":"BT","Currency":"Indian Rupee","CurrencyCode":"INR"},"India":{"CountryCode":"IN","Currency":"Indian Rupee","CurrencyCode":"INR"},"Bolivia":{"CountryCode":"BO","Currency":"Boliviano","CurrencyCode":"BOB"},"Botswana":{"CountryCode":"BW","Currency":"Pula","CurrencyCode":"BWP"},"Bouvet Island":{"CountryCode":"BV","Currency":"Norwegian Krone","CurrencyCode":"NOK"},"Norway":{"CountryCode":"NO","Currency":"Norwegian Krone","CurrencyCode":"NOK"},"Svalbard and Jan Mayen Islands":{"CountryCode":"SJ","Currency":"Norwegian Krone","CurrencyCode":"NOK"},"Brazil":{"CountryCode":"BR","Currency":"Brazil","CurrencyCode":"BRL"},"Brunei Darussalam":{"CountryCode":"BN","Currency":"Bruneian Dollar","CurrencyCode":"BND"},"Bulgaria":{"CountryCode":"BG","Currency":"Lev","CurrencyCode":"BGN"},"Burundi":{"CountryCode":"BI","Currency":"Burundi Franc","CurrencyCode":"BIF"},"Cambodia":{"CountryCode":"KH","Currency":"Riel","CurrencyCode":"KHR"},"Cameroon":{"CountryCode":"CM","Currency":"CFA Franc BEAC","CurrencyCode":"XAF"},"Central African Republic":{"CountryCode":"CF","Currency":"CFA Franc BEAC","CurrencyCode":"XAF"},"Chad":{"CountryCode":"TD","Currency":"CFA Franc BEAC","CurrencyCode":"XAF"},"Congo Republic of the Democratic":{"CountryCode":"CG","Currency":"CFA Franc BEAC","CurrencyCode":"XAF"},"Equatorial Guinea":{"CountryCode":"GQ","Currency":"CFA Franc BEAC","CurrencyCode":"XAF"},"Gabon":{"CountryCode":"GA","Currency":"CFA Franc BEAC","CurrencyCode":"XAF"},"Cape Verde":{"CountryCode":"CV","Currency":"Escudo","CurrencyCode":"CVE"},"Cayman Islands":{"CountryCode":"KY","Currency":"Caymanian Dollar","CurrencyCode":"KYD"},"Chile":{"CountryCode":"CL","Currency":"Chilean Peso","CurrencyCode":"CLP"},"China":{"CountryCode":"CN","Currency":"Yuan Renminbi","CurrencyCode":"CNY"},"Colombia":{"CountryCode":"CO","Currency":"Peso","CurrencyCode":"COP"},"Comoros":{"CountryCode":"KM","Currency":"Comoran Franc","CurrencyCode":"KMF"},"Congo-Brazzaville":{"CountryCode":"CD","Currency":"Congolese Frank","CurrencyCode":"CDF"},"Costa Rica":{"CountryCode":"CR","Currency":"Costa Rican Colon","CurrencyCode":"CRC"},"Croatia (Hrvatska)":{"CountryCode":"HR","Currency":"Croatian Dinar","CurrencyCode":"HRK"},"Cuba":{"CountryCode":"CU","Currency":"Cuban Peso","CurrencyCode":"CUP"},"Cyprus":{"CountryCode":"CY","Currency":"Cypriot Pound","CurrencyCode":"CYP"},"Czech Republic":{"CountryCode":"CZ","Currency":"Koruna","CurrencyCode":"CZK"},"Denmark":{"CountryCode":"DK","Currency":"Danish Krone","CurrencyCode":"DKK"},"Faroe Islands":{"CountryCode":"FO","Currency":"Danish Krone","CurrencyCode":"DKK"},"Greenland":{"CountryCode":"GL","Currency":"Danish Krone","CurrencyCode":"DKK"},"Djibouti":{"CountryCode":"DJ","Currency":"Djiboutian Franc","CurrencyCode":"DJF"},"Dominican Republic":{"CountryCode":"DO","Currency":"Dominican Peso","CurrencyCode":"DOP"},"East Timor":{"CountryCode":"TP","Currency":"Indonesian Rupiah","Cu...
                                                                                                                                                                                                                    
                                                                                                    

All Countries and currencie codes - CODE SNIPPETS


curl --location --request GET 'https://zylalabs.com/api/4140/country+code+api/5000/all+countries+and+currencie+codes' --header 'Authorization: Bearer YOUR_API_KEY' 

    

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



                                                                            
POST https://zylalabs.com/api/4140/country+code+api/5001/codes+by+country
                                                                            
                                                                        

Codes by Country - Endpoint Features
Object Description
Request Body [Required] Json
Test Endpoint

API EXAMPLE RESPONSE

       
                                                                                                        
                                                                                                                                                                                                                            {"France":{"CountryCode":"FR","Currency":"Euros","CurrencyCode":"EUR"}}
                                                                                                                                                                                                                    
                                                                                                    

Codes by Country - CODE SNIPPETS


curl --location --request POST 'https://zylalabs.com/api/4140/country+code+api/5001/codes+by+country' --header 'Authorization: Bearer YOUR_API_KEY' 
--data-raw '{
    "country": "France"
}'

    

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 Code 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 you must indicate the name of a country to obtain the country and currency code.

The Country Code API provides access to a comprehensive database of country-related information, including country names, country codes and currency codes.

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.

You might need the API if your application requires accurate and up-to-date country-related data, such as for international finance, e-commerce, travel planning, or demographic analysis.

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

Prices are listed in USD. We accept all major debit and credit cards. Our payment system uses the latest security technology and is powered by Stripe, one of the world’s most reliable payment companies. If you have any trouble with paying by card, just contact us at [email protected]

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

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

Zyla API Hub works on a recurring monthly subscription system. Your billing cycle will start the day you purchase one of the paid plans, and it will renew the same day of the next month. So be aware to cancel your subscription beforehand if you want to avoid future charges.

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

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

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

 Service Level
100%
 Response Time
2,183ms

Category:


Related APIs