Developer REST API
Ultra-low latency programmatic IP threat scoring endpoint for backend microservices, CRM pipelines, and payment processors.
Endpoint Overview
Perform real-time lookups on any IPv4 or IPv6 address:
GET
https://www.trafficdam.com/api/v1/ip/{ip}
Example Request (cURL)
curl -X GET "https://www.trafficdam.com/api/v1/ip/185.220.101.5" \
-H "Authorization: Bearer YOUR_API_KEY" \
-H "Accept: application/json"
Example Request (Node.js)
const res = await fetch("https://www.trafficdam.com/api/v1/ip/185.220.101.5", {
headers: {
"Authorization": "Bearer YOUR_API_KEY",
"Accept": "application/json"
}
});
const data = await res.json();
console.log(data.security.threat_score);
Structured JSON Response
Complete geographic, network, and security risk intelligence delivered in sub-15ms:
{
"status": "success",
"ip": "185.220.101.5",
"country": "DE",
"city": "Frankfurt",
"asn": "AS206238",
"organization": "Freedom Technologies",
"network_type": "datacenter",
"security": {
"is_vpn": true,
"is_proxy": false,
"is_tor": true,
"is_datacenter": true,
"is_threat": true,
"bot_risk": "high",
"threat_score": 95,
"trust_score": 10
},
"meta": {
"latency_ms": 4.12,
"remaining_api_credits": 4999
}
}
Ready to integrate?
Read our complete documentation guide and generate your API keys instantly from the developer dashboard.