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