Constantly updated lists of world countries and their associated alpha-2, alpha-3 and numeric country codes as defined by the ISO 3166 standard, available in CSV, JSON , PHP, SQL and XML formats, in multiple languages and with national flags included; also available are the ISO 3166-2 codes of provinces/ states associated with the countries
https://en.wikipedia.org/wiki/ISO_3166-2:BB https://www.iso.org/obp/ui/#iso:code:3166:BB