Enforcing GDPR compliance
The General Data Protection Regulation (GDPR) has applied since May 25, 2018. It protects people who are in the European Union (EU), whatever their nationality. Ipregistry tells you whether an IP address is located in a member country of the EU, for instance to decide when to display a cookie consent banner. Which rules apply to your website also depends on where your organization is established.
Request Example
curl https://api.ipregistry.co/212.27.48.10?key=YOUR_API_KEY&fields=location.in_eu Response Example
{
"location": {
"in_eu": true
}
} Note we provide a dedicated endpoint https://eu.api.ipregistry.co if you want requests to be processed by nodes located in the EU only.