It would also probably be good to use Cloudflare's own ip lookup service, available on every CF website's "/cdn-cgi/trace" page. The only thing is that you need to find a ipv4-only CF website to get the v4 instead of v6.
For example http://1.1.1.1/cdn-cgi/trace
0: https://blog.cloudflare.com/introducing-scrapeshield-discove...
1: https://www.cloudflare.com/apps/
2: https://blog.cloudflare.com/announcing-cloudflare-image-resi...