API DOCUMENTATION
VPN/Proxy Detector API
Integrate our VPN/Proxy detection into your application in minutes. Clear endpoints, request formats, simple to use, fast and responses.
VPN/Proxy Detector API Documentation
⚠️ NOTE: An API key is required to use this endpoint.
Please obtain your key and contact me on Discord for access and support.
- API Endpoint
-
POST https://api.devluxe.eu/api/
Checks if an IP address is using a VPN or proxy.
- Request Headers
-
{ "Content-Type": "application/json", "apiKey": "YOUR_API_KEY" }
- Request Body
-
{ "ip": "STRING" // IP address to check }
- Example Request (JavaScript)
-
fetch('https://api.devluxe.eu/api/', { method: 'POST', headers: { 'Content-Type': 'application/json', 'apiKey': 'YOUR_API_KEY' }, body: JSON.stringify({ ip: '1.2.3.4' }) }) .then(res => res.json()) .then(console.log) .catch(console.error);
- Example Request (Python)
-
import requests url = "https://api.devluxe.eu/api/" payload = {"ip":"1.2.3.4"} headers = {"Content-Type":"application/json","apiKey":"YOUR_API_KEY"} resp = requests.post(url, json=payload, headers=headers) print(resp.json())
- Successful Response
-
{ "message": "The provided IP is a VPN/Proxy connection." } // or { "message": "The provided IP is not a VPN/Proxy connection." }
- Error Responses
-
{ "error": "Invalid request method. Please use POST." } // Other errors: { "error": "Invalid or missing IP address." } { "error": "Missing or invalid API key." } { "error": "Unable to determine IP status." }