IP/domain/URL reputation
AbuseIPDB offers an API to check the reputation of IP addresses, domains, and URLs for potential malicious activity.
import requests
url = 'https://api.abuseipdb.com/api/v2/check'
querystring = {
'ipAddress': '8.8.8.8',
'maxAgeInDays': '90'
}
headers = {
'Accept': 'application/json',
'Key': 'YOUR_API_KEY'
}
response = requests.get(url, headers=headers, params=querystring)
print(response.json())Last 50 checks (10 min intervals)