I would use Wikipedia listings here . For +1, you will have to use more numbers to identify the country, as it is also shared by different Caribbean countries. This other Wikipedia article splits it on here .
It may also be useful to have a list of international prefixes (that is, numbers used to indicate that you are dialing a number internationally). This list is here . This may be convenient in some environments where you cannot be sure which format of telephone number is provided to you. For example, some mobile operators will send usage records with a number dialed by the client, for example, β+441234567890β, because it will automatically be converted to β0011441234567890β, but some customers will dial this full number, so you need to know which numbers to ignore.
source share