if you look up about geo ip service, you see they have a lot of information about each ip, for instance they can tell you if it's a tor exit node, or also if it is part of datacenter network or even used by very known vpn provider
here are some example
db-ip.com
ip2location.com (here you can download country list for free, not what you asked but here it is)
maxmind.com
I'm sure they also provide range ip to block