The major ad blocking extensions could do this. They already know about the requests. It's also possible to change the user-agent (say, use the top 10) and quickly gather the data using a bunch of cloud servers.
https://www.ghostery.com/en/faq/how-does-ghostery-make-money...