Country.io

Country.io

Data from https://datahub.io/core/country-list#resource-country-list_zip combined into one JSON structure.

Each country has a structure like:

"US": {
        "names": "United States",
        "iso2": "US",
        "capital": "Washington",
        "continent": "NA",
        "phone": "1",
        "currency": "USD",
        "iso3": "USA"
    },

Continents Codes

continent.json - mapping ISO2 country codes to ISO2 continent codes

      "US": "NA",
      "UY": "SA",
      "UZ": "AS",
      "VA": "EU",
      "VC": "NA",
    ...

Link: http://country.io/continent.json

Country Names

names.json - mapping ISO2 country codes to country names

    ...
      "AL": "Albania",
      "AM": "Armenia",
      "AO": "Angola",
      "AQ": "Antarctica",
      "AR": "Argentina",
    ...

Link: http://country.io/names.json

Country ISO Codes

iso3.json - mapping ISO2 country codes to ISO3 country codes

    ...
      "US": "USA",
      "UY": "URY",
      "UZ": "UZB",
      "VA": "VAT",
      "VC": "VCT",
    ...

Link: http://country.io/iso3.json

Capital Names

capital.json - mapping ISO2 country codes to country capital names

    ...
      "US": "Washington",
      "UY": "Montevideo",
      "UZ": "Tashkent",
      "VA": "Vatican City",
      "VC": "Kingstown",
    ...

Link: http://country.io/capital.json

Phone Codes

phone.json mapping ISO2 country codes to country phone codes

    ...
      "US": "1",
      "UY": "598",
      "UZ": "998",
      "VA": "379",
      "VC": "+1-784",
    ...

Link: http://country.io/phone.json

Currency Codes

currency.json - mapping ISO2 country codes to country currency codes

    ...
      "US": "USD",
      "UY": "UYU",
      "UZ": "UZS",
      "VA": "EUR",
      "VC": "XCD",
    ...

Link: http://country.io/currency.json