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