Install: see the Java guide. Set the WHOISFREAKS_API_KEY environment variable and run any file below.
WhoisLive.java: Live WHOIS Lookup (GET /v2.0/whois/live)BulkWhois.java: Bulk WHOIS Lookup (POST /v2.0/bulkwhois/live)WhoisHistory.java: Historical WHOIS records for a domain (GET /v2.0/whois/history)WhoisReverse.java: Reverse WHOIS lookup by keyword (GET /v2.0/whois/reverse)DnsLive.java: Live DNS Lookup (GET /v2.0/dns/live)DnsHistorical.java: Historical DNS Lookup (GET /v2.0/dns/historical)DnsReverse.java: Reverse DNS Lookup (GET /v2.1/dns/reverse)DnsHistoricalV22.java: Historical DNS Lookup (v2.2) (GET /v2.2/dns/historical)DnsHistoricalV23.java: Historical DNS Lookup (v2.3) (GET /v2.3/dns/historical)DnsReverseV22.java: Reverse DNS Lookup (v2.2) (GET /v2.2/dns/reverse)DnsReverseV23.java: Reverse DNS Lookup (v2.3) (GET /v2.3/dns/reverse)DnsBulk.java: Bulk DNS Lookup (POST /v2.0/dns/bulk/live)DomainAvailabilityV2.java: Domain Availability Check with Suggestions (GET /v2.0/domain/availability)BulkDomainAvailabilityV2.java: Bulk Domain Availability Check (POST /v2.0/domain/availability)Typosquatting.java: Typosquatting Lookup (GET /v3.0/domain/typos)SslLookup.java: SSL Certificate Lookup (GET /v1.0/ssl/live)Geolocation.java: IP Geolocation Lookup (GET /v1.0/geolocation)BulkGeolocation.java: Bulk IP Geolocation (POST /v1.0/geolocation)Subdomains.java: Subdomains Lookup (GET /v1.0/subdomains)IpReputation.java: IP Reputation Lookup (GET /v1.0/security)BulkIpReputation.java: Bulk IP Reputation (POST /v1.0/security)IpReputationV2.java: IP Reputation Lookup (v2.0) (GET /v2.0/security)BulkIpReputationV2.java: Bulk IP Reputation (v2.0) (POST /v2.0/security)DomainReputation.java: Domain Reputation Lookup (GET /v1/domain/security)AsnWhois.java: ASN WHOIS Lookup (GET /v2.0/asn-whois)IpWhois.java: IP WHOIS Lookup (GET /v1.0/ip-whois)RotateApiKey.java: Rotate API Key (GET /v1.0/api-key/rotate)AccountUsage.java: Account Usage (GET /v1.0/whoisapi/usage)DatabaseFileStatus.java: Database File Status (Public) (GET /v3.4/status)DbNewlyGtld.java: Newly Registered gTLD (CSV) (GET /v3.1/download/domainer/gtld)DbNewlyCctld.java: Newly Registered ccTLD (CSV) (GET /v3.1/download/domainer/cctld)DbNewlyGtldCleaned.java: Newly Registered gTLD Cleaned WHOIS (CSV) (GET /v3.1/download/domainer/gtld/cleaned)DbNewlyCctldCleaned.java: Newly Registered ccTLD Cleaned WHOIS (CSV) (GET /v3.1/download/domainer/cctld/cleaned)DbNewlyGtldJson.java: Newly Registered gTLD (JSON) (GET /v3.1/domains/newly/gtld)DbNewlyCctldJson.java: Newly Registered ccTLD (JSON) (GET /v3.1/domains/newly/cctld)DbNewlyDns.java: Newly Registered With DNS (GET /v3.1/download/domainer/newly/dns)DbExpired.java: Expiring Domains (GET /v3.1/download/domainer/expired)DbExpiredCleaned.java: Expiring Cleaned WHOIS (GET /v3.1/download/domainer/expired/cleaned)DbDropped.java: Dropped Domains (GET /v3.1/download/domainer/dropped)DbDroppedJson.java: Dropped Domains (JSON) (GET /v3.1/domains/dropped)DbDroppedBacklinks.java: Dropped With Backlinks (GET /v3.3/download/domainer/dropped/backlinks)DbWhoisDaily.java: WHOIS Database Daily (GET /v3.3/download/dbupdate/daily/domains/whois)DbWhoisWeekly.java: WHOIS Database Weekly (GET /v3.3/download/dbupdate/weekly/domains/whois)DbWhoisMonthly.java: WHOIS Database Monthly (GET /v3.3/download/dbupdate/monthly/domains/whois)DbDnsDaily.java: DNS Database Daily (GET /v3.2/download/dbupdate/daily/dns)DbDnsWeekly.java: DNS Database Weekly (GET /v3.2/download/dbupdate/weekly/dns)DbDnsMonthly.java: DNS Database Monthly (GET /v3.2/download/dbupdate/monthly/dns)DbSubdomainsDaily.java: Subdomains Daily (GET /v3.2/download/dbupdate/daily/subdomains)DbSubdomainsWeekly.java: Subdomains Weekly (GET /v3.2/download/dbupdate/weekly/subdomains)DbSubdomainsMonthly.java: Subdomains Monthly (GET /v3.2/download/dbupdate/monthly/subdomains)DbIpCountryStatus.java: IP to Country Snapshot Status (GET /v3.3/status/snapshot/ip/country)DbIpCountry.java: IP to Country Snapshot (GET /v3.3/download/snapshot/ip/country)DbIpCityStatus.java: IP to City Snapshot Status (GET /v3.3/status/snapshot/ip/city)DbIpCity.java: IP to City Snapshot (GET /v3.3/download/snapshot/ip/city)DbAsnWhois.java: ASN WHOIS Snapshot (GET /v3.3/download/snapshot/asn/whois)DbAsnWhoisStatus.java: ASN WHOIS Snapshot Status (GET /v3.3/status/snapshot/asn/whois)DbIpWhois.java: IP WHOIS Snapshot (GET /v3.3/download/snapshot/ip/whois)DbIpWhoisStatus.java: IP WHOIS Snapshot Status (GET /v3.3/status/snapshot/ip/whois)DbIpSecurity.java: IP Security Snapshot (GET /v3.3/download/snapshot/ip/security)DbIpSecurityStatus.java: IP Security Snapshot Status (GET /v3.3/status/snapshot/ip/security)DownloadThreatFeedPhishing.java: Download the daily phishing threat feed (CSV) (GET /v3.4/download/threat-feed/phishing)DownloadThreatFeedPhishingSample.java: Download a sample of the phishing threat feed (CSV) (GET /v3.4/download/threat-feed/phishing/sample)DownloadThreatFeedMalware.java: Download the daily malware threat feed (CSV) (GET /v3.4/download/threat-feed/malware)DownloadThreatFeedMalwareSample.java: Download a sample of the malware threat feed (CSV) (GET /v3.4/download/threat-feed/malware/sample)DownloadThreatFeedSpam.java: Download the daily spam threat feed (CSV) (GET /v3.4/download/threat-feed/spam)DownloadThreatFeedSpamSample.java: Download a sample of the spam threat feed (CSV) (GET /v3.4/download/threat-feed/spam/sample)StreamThreatFeedPhishing.java: Stream the daily phishing threat feed (CSV) (GET /v3.4/stream/threat-feed/phishing)StreamThreatFeedPhishingSample.java: Stream a sample of the phishing threat feed (CSV) (GET /v3.4/stream/threat-feed/phishing/sample)StreamThreatFeedMalware.java: Stream the daily malware threat feed (CSV) (GET /v3.4/stream/threat-feed/malware)StreamThreatFeedMalwareSample.java: Stream a sample of the malware threat feed (CSV) (GET /v3.4/stream/threat-feed/malware/sample)StreamThreatFeedSpam.java: Stream the daily spam threat feed (CSV) (GET /v3.4/stream/threat-feed/spam)StreamThreatFeedSpamSample.java: Stream a sample of the spam threat feed (CSV) (GET /v3.4/stream/threat-feed/spam/sample)StreamDomainerGtld.java: Stream newly registered gTLD domains (CSV) (GET /v3.3/stream/domainer/gtld)StreamDomainerGtldCleaned.java: Stream cleaned newly registered gTLD domains (CSV) (GET /v3.3/stream/domainer/gtld/cleaned)StreamDomainerGtldCleanedEmail.java: Stream cleaned newly registered gTLD domains with an email (CSV) (GET /v3.3/stream/domainer/gtld/cleaned/email)StreamDomainerGtldCleanedPhone.java: Stream cleaned newly registered gTLD domains with a phone (CSV) (GET /v3.3/stream/domainer/gtld/cleaned/phone)StreamDomainerCctld.java: Stream newly registered ccTLD domains (CSV) (GET /v3.3/stream/domainer/cctld)StreamDomainerCctldCleaned.java: Stream cleaned newly registered ccTLD domains (CSV) (GET /v3.3/stream/domainer/cctld/cleaned)StreamDomainerCctldCleanedEmail.java: Stream cleaned newly registered ccTLD domains with an email (CSV) (GET /v3.3/stream/domainer/cctld/cleaned/email)StreamDomainerCctldCleanedPhone.java: Stream cleaned newly registered ccTLD domains with a phone (CSV) (GET /v3.3/stream/domainer/cctld/cleaned/phone)StreamDomainerExpired.java: Stream expiring domains (CSV) (GET /v3.3/stream/domainer/expired)StreamDomainerExpiredCleaned.java: Stream cleaned expiring domains (CSV) (GET /v3.3/stream/domainer/expired/cleaned)StreamDomainerExpiredCleanedEmail.java: Stream cleaned expiring domains with an email (CSV) (GET /v3.3/stream/domainer/expired/cleaned/email)StreamDomainerExpiredCleanedPhone.java: Stream cleaned expiring domains with a phone (CSV) (GET /v3.3/stream/domainer/expired/cleaned/phone)StreamDomainerDropped.java: Stream dropped domains (CSV) (GET /v3.3/stream/domainer/dropped)StreamDomainerDroppedBacklinks.java: Stream dropped domains with backlinks (CSV) (GET /v3.3/stream/domainer/dropped/backlinks)StreamDomainerGtldSample.java: Stream a sample of newly registered gTLD domains (CSV) (GET /v3.3/stream/domainer/sample/gtld)StreamDomainerGtldCleanedSample.java: Stream a sample of cleaned newly registered gTLD domains (CSV) (GET /v3.3/stream/domainer/sample/gtld/cleaned)StreamDomainerCctldSample.java: Stream a sample of newly registered ccTLD domains (CSV) (GET /v3.3/stream/domainer/sample/cctld)StreamDomainerCctldCleanedSample.java: Stream a sample of cleaned newly registered ccTLD domains (CSV) (GET /v3.3/stream/domainer/sample/cctld/cleaned)StreamDomainerExpiredSample.java: Stream a sample of expiring domains (CSV) (GET /v3.3/stream/domainer/sample/expired)StreamDomainerExpiredCleanedSample.java: Stream a sample of cleaned expiring domains (CSV) (GET /v3.3/stream/domainer/sample/expired/cleaned)StreamDomainerDroppedSample.java: Stream a sample of dropped domains (CSV) (GET /v3.3/stream/domainer/sample/dropped)StreamDomainerDroppedBacklinksSample.java: Stream a sample of dropped domains with backlinks (CSV) (GET /v3.3/stream/domainer/sample/dropped/backlinks)