Test IP Addresses & Email Validation
Explore the ProxyCheck SDK capabilities with live examples and code snippets
IP Address Lookup
Enter an IP address to check for proxy, VPN, or malicious activity
Click any IP below to test different risk levels
ProxyCheck SDK Implementation
Complete TypeScript implementation showing API usage and response parsing
1import { ProxyCheckClient } from 'proxycheck-sdk';
2
3// Initialize ProxyCheck client
4const client = new ProxyCheckClient({
5 apiKey: 'your-api-key-here'
6});
7
8// Advanced IP check with detailed options
9const result = await client.check.checkAddress('YOUR_IP_ADDRESS', {
10 vpnDetection: 2, // Enable VPN detection
11 asnData: true, // Include ASN information
12 riskData: 2, // Include risk scoring
13});
14
15// Extract data from nested response structure
16const ipData = result['YOUR_IP_ADDRESS'];
17
18// Format the response
19const formattedResult = {
20 ip: 'YOUR_IP_ADDRESS',
21 proxy: ipData.proxy === "yes",
22 vpn: ipData.type === "VPN" || ipData.vpn === "yes",
23 country: ipData.country,
24 city: ipData.city,
25 latitude: ipData.latitude,
26 longitude: ipData.longitude,
27 asn: ipData.asn ? {
28 asn: parseInt(ipData.asn.replace("AS", "")),
29 name: ipData.provider || ipData.organisation,
30 route: ipData.range,
31 } : undefined,
32 risk: ipData.risk,
33 riskData: ipData.risk ? {
34 score: ipData.risk,
35 attackHistory: ipData.attack_history === "yes",
36 badReputation: ipData.bad_reputation === "yes",
37 maliciousActivity: ipData.malicious_activity === "yes",
38 riskFactors: ipData.risk_factors ? ipData.risk_factors.split(",").map(f => f.trim()) : [],
39 } : undefined,
40};Get Started with ProxyCheck SDK
Follow these steps to integrate IP checking into your application
1. Installation
pnpm add proxycheck-sdk2. Get API Key
Sign up at proxycheck.io to get your API key
3. Environment Setup
PROXYCHECK_API_KEY=your_key_here4. Start Checking
Use the code example above to implement IP address validation