IP Threat Intelligence & Abuse Management
Combine IP reputation, privacy classification, and ownership context
Combine IP reputation, privacy classification, and ownership context. Use the API workflow below to collect dated findings, review their scope, and decide which follow-up checks your team needs.
Implementation example by the EdgeDNS team · Updated
The Challenge
Feed coverage, shared addresses, and network changes can make a single reputation verdict misleading.
The Solution
Collect reputation, privacy, WHOIS, geolocation, and reverse-DNS findings for an IP. Check source coverage, timestamps, and partial-result metadata. Geolocation and privacy classifications are estimates; corroborate them before blocking traffic or attributing an incident.
Endpoints Used
Combine these EdgeDNS endpoints to build this solution.
/v1/ip/reputationAPI referenceIP Reputation: Check IP against blacklists and threat feeds
/v1/ip/privacyAPI referenceIP Privacy Detection: Detect VPN, proxy, Tor, and datacenter IPs
/v1/ip/whoisAPI referenceIP WHOIS: Get WHOIS registration data for an IP
/v1/ip/geolocationAPI referenceIP Geolocation: Get location, ASN, and org for an IP
/v1/ip/reverseAPI referenceReverse DNS: Find hostname from IP via PTR lookup
What this workflow helps you do
Review multiple signals
Combine source findings with your observed traffic.
Find reporting context
Use available network and abuse-contact data for investigation.
Preserve uncertainty
Treat unavailable feeds and unknown classifications explicitly.
Code Example
Combine IP reputation, privacy classification, and ownership context
const headers = { Authorization: 'Bearer YOUR_API_KEY' };
const checks = [
{
"path": "/v1/ip/reputation",
"params": {
"ip": "1.2.3.4"
}
},
{
"path": "/v1/ip/privacy",
"params": {
"ip": "1.2.3.4"
}
},
{
"path": "/v1/ip/whois",
"params": {
"ip": "8.8.8.8"
}
}
];
// Run sequentially to keep concurrency bounded. API tier restrictions apply.
for (const { path, params } of checks) {
const url = new URL(path, 'https://api.edgedns.dev');
url.search = new URLSearchParams(params).toString();
const response = await fetch(url, { headers });
const result = await response.json();
if (!response.ok) {
throw new Error(`${path}: ${response.status} ${result.error?.message ?? 'Request failed'}`);
}
// Keep the response metadata and any partial/unknown findings for review.
console.log(path, result);
}Learn More
Explore industry standards and best practices related to this use case.
Spamhaus Blocklists
Industry-standard IP and domain blocklists used by ISPs and security teams worldwide
NIST SP 800-150: Cyber Threat Information Sharing
NIST guidelines for sharing and consuming cyber threat intelligence data
FIRST - Forum of Incident Response and Security Teams
Global forum for incident response teams coordinating threat intelligence and security operations
Ready to build IP Threat Intelligence & Abuse Management?
Get started with 200 free API requests per month. No credit card required.
Other Use Cases
IP Geolocation for Content Localization
Suggest a regional experience while keeping the visitor in control
SOC Analyst / Security OperationsSOC Alert Enrichment
Add domain and IP context to incident alerts
Network Security Analyst / Threat ResearcherASN & Network Intelligence
Inspect ASN ownership, announced prefixes, and available routing evidence