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