You can try our ASN lookup tool: https://www.bigdatacloud.com/asn-lookup/
It provide wide variety of data objects, and also provide map view where possible to showcase the active region of operation ( its a unique feature of the API), plus heaps of data. You can test the API for free and access all the data objects.
Any doubts or queries, please let me know.
If you can download the free IPinfo IP to ASN database CSV file. You can run the following command to get the IP ranges of an ASN.
```
grep AS19551 asn.csv | ipinfo range2cidr | cut -f1 -d ','
```
You will need to install the IPinfo CLI to convert the IP range to their CIDR equivalent. I believe the range2cidr command is also available as a standalone binary as well.
After that, you might want to aggregate the IP ranges to bigger ranges. I have used this in the past for this:
I'm currently using ipset, that does aggregation if I remember correctly, but aggregate6 looks good!
curl -sL ip.guide/AS19551 | jq .routesThere's even more under the hood, worth checking it out.