Threat attribution
A phishing domain registered today often reuses a registrant, email or name server from an older campaign. The history shows who held it before privacy was added. To map the network behind it, follow up with the IP WHOIS Lookup API.
import requestsurl = "https://api.apifreaks.com/v1.0/domain/whois/history?domainName=ai.com"payload = {}headers = {'X-apiKey': 'YOUR_API_KEY'}response = requests.request("GET", url, headers=headers, data=payload)print(response.text)