The OpenAPI specification describes every WhoisFreaks API in one machine-readable file, the lookup APIs and the database and feed downloads alike. Import it into Postman or Insomnia, generate a typed client in your language, or render your own reference, all from the same source as these docs.
The specification is a single YAML file that covers every endpoint at its newest version. It is the same file the WhoisFreaks SDKs are generated from.
ⓘ Tip
The file is the one the WhoisFreaks SDKs are generated from, so an endpoint described here behaves the way the SDKs call it.
Each part of the API is described in standard OpenAPI terms, so any compliant tool can read it.
exact (default false) and count (5 to 100).apiKey query parameter or the X-API-KEY header.x-ratelimit-* headers returned with every successful response.Most API tools can import an OpenAPI file from a URL or from disk.
Redocly turns the file into a single HTML page you can host anywhere:
npx @redocly/cli build-docs whoisfreaks-openapi.yaml
OpenAPI Generator creates a typed client for your language from the same file:
npx @openapitools/openapi-generator-cli generate \-i whoisfreaks-openapi.yaml \-g python \-o whoisfreaks-client
ⓘ Tip
Swap python for typescript-fetch, go, java or any other generator that OpenAPI Generator supports. Prefer a maintained client? Use the official SDKs.
The spec defines two equivalent ways to send your API key. Use whichever your client supports.
curl "https://api.whoisfreaks.com/v2.0/whois/live?domainName=whoisfreaks.com" \-H "X-API-KEY: API_KEY"
ⓘ Tip
If a request carries both, the apiKey query parameter is used. See API Key Rotation to get or rotate your key.
Every operation in the file, grouped the way the specification groups them. Open one to read its parameters, request body and responses, taken straight from the YAML you can download above.
WHOIS lookup APIs (live, historical, reverse, bulk)
DNS lookup APIs (live, historical, reverse, bulk)
Check domain availability
Detect typo variants of brand domains
SSL certificate lookup
IP geolocation lookup
Subdomain enumeration
IP threat intelligence
Real-time domain threat assessment and trust scoring
Autonomous System Number WHOIS
IP address WHOIS
Account, API key, and usage utilities
Newly registered domain downloads
Expiring and dropped domain downloads
WHOIS database snapshots
DNS database snapshots
Subdomain database snapshots
IP geolocation database snapshots
ASN WHOIS database snapshots
IP WHOIS database snapshots
IP security database snapshots
Daily phishing, malware and spam threat feeds
Stream database files and threat feeds as plain CSV text instead of downloading a gzip file
Common questions about the OpenAPI specification.