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