Use cases
From fraud prevention to geo-compliance, plug Predax where decisions are made.
Fraud Prevention
Score IPs in real-time to block VPNs, proxies, Tor, and known bad networks during checkout and signup.
Best practices guide →curl -X POST https://predax.io/api/v1/check/ip \
-H "X-API-Key: YOUR_KEY" \
-H "Content-Type: application/json" \
-d '{"ip": "8.8.8.8"}'Content Protection
Use ASN and country signals to enforce geo rules and stop scraping traffic.
Geo-blocking guide →import requests
resp = requests.post(
"https://predax.io/api/v1/check/ip",
headers={"X-API-Key": "YOUR_KEY"},
json={"ip": "1.1.1.1"},
)
data = resp.json()
country = data["location"]["country_code"]
if country not in ALLOWED_COUNTRIES:
block_request()Ad & Analytics Quality
Flag datacenter IPs and repeat offenders to improve attribution accuracy and reduce ad fraud.
API reference →const res = await fetch("https://predax.io/api/v1/check/ip", {
method: "POST",
headers: {
"X-API-Key": API_KEY,
"Content-Type": "application/json",
},
body: JSON.stringify({ ip: visitorIp }),
});
const { classification } = await res.json();
if (classification.is_datacenter || classification.risk_score > 60) {
flagAsInvalidTraffic();
}Account Takeover Prevention
Check every login attempt against known threat networks, VPNs, and anomalous geolocations.
Read scenario →// Express middleware example
app.post("/login", async (req, res, next) => {
const check = await fetch("https://predax.io/api/v1/check/ip", {
method: "POST",
headers: {
"X-API-Key": process.env.PREDAX_KEY,
"Content-Type": "application/json",
},
body: JSON.stringify({ ip: req.ip }),
}).then(r => r.json());
const { risk_score, is_tor } = check.classification;
if (risk_score > 70 || is_tor) {
return res.status(403).json({ error: "Login blocked for security" });
}
next();
});E-Commerce Order Screening
Automatically tag or hold high-risk WooCommerce and Shopify orders using the Predax plugins.
WooCommerce plugin →// WooCommerce: orders are auto-scored
// In WooCommerce → Settings → Predax:
// Mode: tag_only
// Tag threshold: 40
// Block threshold: 70
//
// Risk scores appear as order notes
// on every WooCommerce order.Compliance & Geo-Restrictions
Block or flag traffic from specific countries or regions to meet licensing, export control, or regulatory requirements.
Geo-blocking guide →const res = await fetch("https://predax.io/api/v1/check/ip", {
method: "POST",
headers: {
"X-API-Key": API_KEY,
"Content-Type": "application/json",
},
body: JSON.stringify({ ip }),
}).then(r => r.json());
const country = res.location?.country_code;
const isVpn = res.classification?.is_vpn;
// Block sanctioned countries
if (SANCTIONED.includes(country)) {
return deny("Service unavailable in your region");
}
// Flag VPN users bypassing geo-restrictions
if (isVpn && !ALLOWED_COUNTRIES.includes(country)) {
return challenge("Please verify your location");
}Ready to add IP intelligence to your stack?
Get started with 1,000 free lookups per month. No credit card required.