List of countries and capitals of the world (json, xml, csv)

For the upcoming release of iCapital 2.0 I needed a list of all the countries and capitals of the world in json format. I searched the web, but couldn’t find a proper solution until I found these lists on GitHub.

Sadly they only contained the countries of the world, so on a boring Sunday night, I’ve extended the list with all the capitals for those countries!

Next to the countries and the capitals, the lists also contain:

  • top-level domain (tld)
  • code ISO 3166-1 alpha-2 (cca2)
  • code ISO 3166-1 numeric (ccn3)
  • code ISO 3166-1 alpha-3 (cca3)
  • currency code(s)
  • calling code(s)
  • alternative spellings
  • relevance
  • region
  • subregion

Go check them out right here!

Share this post

One Response

Leave a Reply

Your email address will not be published. Required fields are marked *

Related Posts