Check if an IP is from a known VPN
Determine whether an IP address belongs to a recognized VPN service
Allows you to take an array of up to 100 IPs and determine whether any are coming from a known VPN service.
API calls containing a single IP will return a 200 code and the results. When making an API call that includes multiple IPs, the response will be asynchronous and return a 202 instead of immediately returning the results. You will then need to poll for the results. For more information, visit our Asynchronous API response page.
Use case: In some cases, your application's content may not be permitted in certain countries. Oftentimes, users will try to get around this by using a VPN so they can appear to be located in a permissible country. Use this endpoint to submit a client IP and understand if it belongs to a commercial VPN service. If so, determine whether or not you want to allow this activity to continue.
curl -sSLX POST 'https://ip-intel.'"$PANGEA_DOMAIN"'/v2/vpn' \
-H 'Authorization: Bearer '"$PANGEA_INTEL_TOKEN" \
-H 'Content-Type: application/json' \
-d '{"ips":["1.46.128.165"]}'
Was this article helpful?