Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Where can I get up to date country list? [closed]

I need to get list of valid countries for web application, is there any list that could be downloaded as XML or similar format, so that I could atomatically update country list?

like image 585
newbie Avatar asked Jan 31 '26 00:01

newbie


2 Answers

Get the ISO 3166 list (there is an XML version) from the ISO 3166 Maintenance agency. You can also look at Updates on ISO 3166. You can read about the standard on Wikipedia for more information.

like image 74
jason Avatar answered Feb 02 '26 22:02

jason


You can get a JSON list of country codes to names at http://country.io/names.json, and other country related data at http://country.io/data/

like image 20
Ben Dowling Avatar answered Feb 02 '26 22:02

Ben Dowling



Donate For Us

If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!