<html><head><meta http-equiv="Content-Type" content="text/html; charset=utf-8"></head><body style="word-wrap: break-word; -webkit-nbsp-mode: space; line-break: after-white-space;" class="">Hi Sergey,<br class=""><br class=""><blockquote type="cite" class="">RIPE NCC publishes the list of countries and corresponding RIRs here: <a href="https://www.ripe.net/participate/internet-governance/internet-technical-community/the-rir-system/list-of-country-codes-and-rirs" class="">https://www.ripe.net/participate/internet-governance/internet-technical-community/the-rir-system/list-of-country-codes-and-rirs</a>.<br class=""><br class="">Unfortunately, it's an HTML page and not a plain text/CSV/JSON/XML (or any other format one can parse automatically). Does IANA (or any other body) publish it this way? Actually, what would be the proper way to map a country (or country code) to the respective RIR?<br class=""></blockquote><br class="">When you read the first line on that page, it states: “We maintain a list of ISO 3166 defined country codes on our FTP Site.” -> <a href="ftp://ftp.ripe.net/iso3166-countrycodes.txt" class="">ftp://ftp.ripe.net/iso3166-countrycodes.txt</a> . That might help?<br class=""><br class="">—<br class=""><br class="">Hartelijke groeten / Best regards,<br class=""><br class="">Peter van Roosmalen<br class=""></body></html>