Forgive me but this has already existed for years via geo ip lookup databases. These companies already take the feeds provided from all the various hosting companies, amongst many other inputs.
Re:Show HN: Cloud IP Ranges
by kinduff on Friday March 28, 2025 @01:51PM
(#43508212)
I'm aware of these sites. But they are usually behind a paywall or it's hard to find a "download all" button. And I wouldn't use their API per request either.
As an example, taking an IP at random - https://ipinfo.io/4.145.74.161
You can see tags for "cloud" and "hosting".