VanguardNet Shield API Documentation

Learn how to use our API to check if an IP address is a VPN or Proxy connection.


The VanguardNet Shield VPN Checker API allows you to easily check if an IP address is a VPN or Proxy connection. Secure your server environment with our reliable and efficient API.

NOTE: You need a API Key, to detect VPN/Proxy detections.

Contact

API Endpoint

POST http://api.devluxe.eu/api/

Use this endpoint to check if an IP address is a VPN or Proxy connection.

Request Format

Headers
{
  "Content-Type": "application/json"
}
Body
{
  "ip": "STRING",       // The IP address to check
  "apiKey": "STRING"    // Your API key
}

Example Request

Javascript
fetch('http://api.devluxe.eu/api/', {
    method: 'POST',
    headers: {
      'Content-Type': 'application/json'
    },
    body: JSON.stringify({ ip: 'IP_ADDRESS', apiKey: 'API_KEY' })
  })
  .then(response => response.json())
  .then(data => console.log(data))
  .catch(error => console.error('Error:', error));
Python
import requests

url = "http://api.devluxe.eu/api/"
payload = {"ip": "IP_ADDRESS", "apiKey": "API_KEY"}
headers = {"Content-Type": "application/json"}

response = requests.post(url, json=payload, headers=headers)
print(response.json())

Response Format

Successful Response
{
  "message": "The provided IP is a VPN/Proxy connection."
  "message": "The provided IP is not a VPN/Proxy connection."
}
Error Response
{
  "error": "Invalid request method. Please use POST." // Incorrect method used
}
{
  "error": "Invalid or missing IP address." // IP address is missing or invalid
}
{
  "error": "Missing API key." // API key is missing
}
{
  "error": "Invalid API key." // API key is invalid
}
{
  "error": "Unable to determine IP status" // Error checking IP address
}