pricing background

OpenAPI Specification

Download the WhoisFreaks OpenAPI file to import every endpoint into your tools, generate a typed client, or build your own API reference.

OpenAPI Specification

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.

OpenAPI 3.0.3, YAML95 operations, 91 pathsVersion 2026-11-18.123 API groups

Download the file

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.

Property
Value
Format
OpenAPI 3.0.3, YAML
Version
2026-11-18.1
Servers
https://api.whoisfreaks.comhttps://files.whoisfreaks.com
Coverage
95 operations across 91 paths in 23 API groups

ⓘ Tip

The file is the one the WhoisFreaks SDKs are generated from, so an endpoint described here behaves the way the SDKs call it.

What's in the file

Each part of the API is described in standard OpenAPI terms, so any compliant tool can read it.

Part
What it describes
Paths
23 operations for WHOIS, DNS, domain availability, typosquatting, SSL, subdomains, ASN and IP WHOIS, IP geolocation, IP and domain reputation, and account usage.
Parameters
Every query parameter with its type, default and limits, for example exact (default false) and count (5 to 100).
Request bodies
JSON bodies for each bulk endpoint, with up to 100 items per request.
Responses
Schemas and examples for successful, partial (206) and cached (210) responses, plus every documented error.
Security
Your API key, sent as the apiKey query parameter or the X-API-KEY header.
Headers
The x-ratelimit-* headers returned with every successful response.

Import into your tools

Most API tools can import an OpenAPI file from a URL or from disk.

Tool
How to import
Postman
Select Import, then paste the spec URL or drop in the YAML file. Postman creates a collection with one request per operation.
Insomnia
Select Import, then choose the file or paste the spec URL.
Swagger UI or Redoc
Point the viewer at the spec URL to browse every endpoint with its parameters and examples.

Build a standalone reference

Redocly turns the file into a single HTML page you can host anywhere:

Terminal
npx @redocly/cli build-docs whoisfreaks-openapi.yaml

Generate a client

OpenAPI Generator creates a typed client for your language from the same file:

Terminal
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.

Authentication

The spec defines two equivalent ways to send your API key. Use whichever your client supports.

Method
Format
Query parameter
?apiKey=API_KEY
Request header
X-API-KEY: API_KEY

Example request

GET · header authentication
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.

Endpoints

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.

95 of 95 operations

WHOIS

4 operations

WHOIS lookup APIs (live, historical, reverse, bulk)

DNS

8 operations

DNS lookup APIs (live, historical, reverse, bulk)

Domain Availability

2 operations

Check domain availability

Typosquatting

2 operations

Detect typo variants of brand domains

SSL

1 operation

SSL certificate lookup

Geolocation

2 operations

IP geolocation lookup

Subdomains

1 operation

Subdomain enumeration

IP Reputation

4 operations

IP threat intelligence

Domain Reputation

1 operation

Real-time domain threat assessment and trust scoring

ASN WHOIS

1 operation

Autonomous System Number WHOIS

IP WHOIS

1 operation

IP address WHOIS

Account

3 operations

Account, API key, and usage utilities

Databases - Newly Registered

7 operations

Newly registered domain downloads

Databases - Expiring & Dropped

5 operations

Expiring and dropped domain downloads

Databases - WHOIS

3 operations

WHOIS database snapshots

Databases - DNS

3 operations

DNS database snapshots

Databases - Subdomains

3 operations

Subdomain database snapshots

Databases - IP Geolocation

4 operations

IP geolocation database snapshots

Databases - ASN WHOIS

2 operations

ASN WHOIS database snapshots

Databases - IP WHOIS

2 operations

IP WHOIS database snapshots

Databases - IP Security

2 operations

IP security database snapshots

Databases - Threat Feed

6 operations

Daily phishing, malware and spam threat feeds

Databases - Streaming

28 operations

Stream database files and threat feeds as plain CSV text instead of downloading a gzip file

FAQs

Common questions about the OpenAPI specification.

Which OpenAPI version does the file use?

OpenAPI 3.0.3. It is the same file the WhoisFreaks SDKs are generated from, and OpenAPI Generator builds its most reliable clients from 3.0, so the file stays on that version. Every tool that reads OpenAPI 3.0 can read it.

Does the file include older API versions?

Some of them. Most endpoints appear at their newest version only, but where an older version is still in service it is described too, so /dns/historical appears as v2.0, v2.2 and v2.3, /dns/reverse as v2.1, v2.2 and v2.3, and /security as v1.0 and v2.0. Every version is also documented on each API's documentation page.

Are database and feed downloads included?

Yes. The file covers the lookup APIs and the database, streaming and threat feed downloads, which are served from files.whoisfreaks.com. Each one also has its own documentation page under Databases in the sidebar.

Can I send the API key in a header?

Yes. Send it as the X-API-KEY header or as the apiKey query parameter. If a request carries both, the query parameter is used.