Downloads & API
Free to use for any purpose. The data comes from Wikidata and is public domain (CC0); a link back to iso2.com is appreciated but not required.
Bulk files
- countries.csv ยท countries.json โ 250 countries
- subdivisions.csv ยท subdivisions.json โ 5001 subdivisions
JSON API
Static, cached, CORS-enabled. No key, no sign-up.
- GET /api/v1/countries.json
- GET /api/v1/countries/GB.json
- GET /api/v1/changes.json
Example: curl https://iso2.com/api/v1/countries/JP.json
Please cache responses rather than calling on every request; the data changes rarely.