A VPN is a Virtual Private Network that allows you to establish a protected internet connection when using a public internet connection. VPNs encrypt internet traffic, thus masking your online identity. As a result, this makes it hard for third-party APIs to track your online activity. Note: VPN encryptions are real-time, thus minimizing theft of personal data.
How do VPNs work? A VPN service masks your IP address by redirecting network traffic through a remote server of your VPN host. In simple terms, this means that if you are online and running a VPN service, then the VPN serve becomes the source. For example, if you searched the word Christmas and were on a VPN, your search would pass through the VPN. Afterward, the VPN serve would retrieve the meaning from the source servers/website before sending the data back to you. And by doing so, the VPN service will have masked your data from both the responding website and your ISP. To sum things up, VPNs work like network filters that turns your data into meaningless information. That being said, even if someone managed to retrieve your data, then it would be pointless.