IP2Proxy Proxy Detection
ip2proxy · Location
IP2Proxy allows instant detection of anonymous proxy, VPN, TOR exit nodes, search engine robots (SES), data center ranges (PX2-PX10), residential proxies (PX10) and VPN provider name (PX11) by IP address. It also returns the threat type of the proxy (PX9 or higher). Visit https://www.ip2location.com/web-service/ip2proxy for further information.
Authentication
Sample Requests
Check if an IP address is proxy
Hover any highlighted part to learn what it does
curl -X GET "https://api.apis.guru/v2/specs/ip2proxy.com/1.0/?ip=example&key=YOUR_API_KEY&format=json&package=example"
import requests
params = {
"ip": "example",
"key": "YOUR_API_KEY",
"format": "json",
"package": "example"
}
response = requests.get(
"https://api.apis.guru/v2/specs/ip2proxy.com/1.0/",
params=params,
)
print(response.json())const url = new URL('https://api.apis.guru/v2/specs/ip2proxy.com/1.0/');
url.searchParams.set('ip', 'example');
url.searchParams.set('key', 'YOUR_API_KEY');
url.searchParams.set('format', 'json');
url.searchParams.set('package', 'example');
const response = await fetch(url);
const data = await response.json();
console.log(data);package main
import (
"fmt"
"io"
"net/http"
"net/url"
)
func main() {
baseURL, _ := url.Parse("https://api.apis.guru/v2/specs/ip2proxy.com/1.0/")
q := baseURL.Query()
q.Set("ip", "example")
q.Set("key", "YOUR_API_KEY")
q.Set("format", "json")
q.Set("package", "example")
baseURL.RawQuery = q.Encode()
targetURL := baseURL.String()
req, _ := http.NewRequest("GET", targetURL, nil)
client := &http.Client{}
resp, _ := client.Do(req)
defer resp.Body.Close()
body, _ := io.ReadAll(resp.Body)
fmt.Println(string(body))
}require "net/http"
require "json"
uri = URI("https://api.apis.guru/v2/specs/ip2proxy.com/1.0/")
uri.query = URI.encode_www_form({
"ip" => "example",
"key" => "YOUR_API_KEY",
"format" => "json",
"package" => "example"
})
http = Net::HTTP.new(uri.host, uri.port)
http.use_ssl = uri.scheme == "https"
req = Net::HTTP::Get.new(uri)
res = http.request(req)
puts JSON.parse(res.body)<?php
$url = "https://api.apis.guru/v2/specs/ip2proxy.com/1.0/?" . http_build_query([
"ip" => "example",
"key" => "YOUR_API_KEY",
"format" => "json",
"package" => "example"
]);
$opts = ["http" => [
"method" => "GET",
]];
$ctx = stream_context_create($opts);
$res = file_get_contents($url, false, $ctx);
print_r(json_decode($res, true));Postman Setup Guide
- See official documentation for authentication and setup.
What can you build with IP2Proxy Proxy Detection?
IP2Proxy Proxy Detection is a Location API. Developers commonly use location APIs for:
- tracking assets and vehicles in real time
- building delivery and logistics apps
- finding nearby businesses or services
- geo-fencing and location-based notifications
- address validation and autocomplete
No authentication required. This API is open — no signup or key needed. Ideal for quick prototypes and public-facing features. IP2Proxy Proxy Detection is free to use, making it a low-risk choice to experiment with.
New to APIs? Read our beginner's guide · Learn about API keys · What is REST?