Here is the FBI’s Contract to Buy Mass Internet Data
The FBI previously purchased access to "netflow" data, which a company called Team Cymru obtains from ISPs. Team Cymru then sells it to the government.
https://www.vice.com/en/article/dy3z9a/fbi-bought-netflow-data-team-cymru-contract