Question: Anyone knows where I can get list of Autonomous system number users by country ? 
If it is not possible to get it by country, any kind of list will suffice. 
thnx

Answer: 
You can get all AS-numbers registered to a given country using the services on [cc2asn.com](http://www.cc2asn.com). Input a two-letter country code (ISO 3166-1 Alpha-2), and all ASNs are returned. Options available to get IPv4 or IPv6 prefixes. Examples:

Using **whois** to get all ASNs for Sweden:

```
whois -h cc2asn.com SE

```

Will output 

```
AS1755
AS1878
AS1879
AS1880
AS1881
AS1882
...

```

Or you can use **curl** to get the same data:

```
curl www.cc2asn.com/data/se_asn

```

You can also get the entire database, for offline lookups:

```
wget www.cc2asn.com/data/db.tar.gz

```

This database is updated on a daily basis (the frequency of the RIRs updating their delegations files).

Source code available on github: <http://github.com/toringe/cc2asn>
The [ipinfo.io country reports](http://ipinfo.io/countries) include a list of all of the ASNs for each country. The screenshot below shows the data for Brazil, which is available at <http://ipinfo.io/countries/br>

[![ipinfo.io brazil report](https://i.stack.imgur.com/zI51b.png)](https://i.stack.imgur.com/zI51b.png)