# WhoisJsonAPI API reference

> WhoisJsonAPI returns parsed WHOIS/RDAP data for a domain as JSON: registrar, registration, update and expiry dates, name servers, status and, where the registry publishes them, registrant, administrative and technical contacts. Further endpoints check whether a domain is active, return DNS records…

Source: https://osinttools.io/apis/whoisjsonapi/ (Markdown view of an OSINTtools.io page; append `.md` to any page URL for this format).

Compiled by OSINTtools.io editors from the vendor's docs, updated Nov 29, 2026. Listing: https://osinttools.io/tools/whoisjsonapi/

- Base URL: https://whoisjsonapi.com/v1
- Authentication: Bearer token in the `Authorization` header. Get a key: https://whoisjsonapi.com/ Create a developer account to get a token from the Dashboard.
- Rate limits: 50 requests per second per endpoint. The size of each plan's allowance is not stated in the docs.
- Vendor docs: https://whoisjsonapi.com/page/documentation

## Overview

WhoisJsonAPI returns parsed WHOIS/RDAP data for a domain as JSON: registrar, registration, update and expiry dates, name servers, status and, where the registry publishes them, registrant, administrative and technical contacts. Further endpoints check whether a domain is active, return DNS records and a WHOIS change history.

All calls are `GET` requests to `https://whoisjsonapi.com/v1/` with the token in an `Authorization: Bearer` header. WHOIS records are cached for up to 24 hours and older cached records are refreshed in real time when queried. Some fields can be missing because WHOIS providers return incomplete data.

The DNS records and WHOIS history endpoints need a Premium or Enterprise plan. A history call uses 50 requests of the allowance per successful response. Domain monitoring and webhooks are Dashboard features and are not part of this reference.

A bulk endpoint (`/v1/domains?d=`, up to 20 domains) also exists; its response shape is not shown in the docs, so it is not described here.

## Errors

| Status | Meaning |
| --- | --- |
| 400 | Invalid domain, types or query (codes such as DNS_INVALID_DOMAIN, DNS_INVALID_TYPES, WHOIS_HISTORY_INVALID_QUERY, WHOIS_HISTORY_INVALID_CURSOR) |
| 429 | Rate limit exceeded, or fewer than 50 requests left for a history call |
| 503 | DNS or history source temporarily unavailable; honour Retry-After if present |
| 504 | DNS lookup timed out (DNS_TIMEOUT) |

## WHOIS

### Parsed WHOIS/RDAP record for one domain.

`GET /{domain}`

- Takes: Domain
- Footprint: passive (the target is not contacted)
- Plan: Any plan

Returns domain, registrar and contact blocks. Fields can be missing when the WHOIS provider supplies incomplete data. A response with no record usually means the domain may not be registered.

| Parameter | In | Type | Required | Description |
| --- | --- | --- | --- | --- |
| `domain` | path | string | yes | Domain name to look up Example: example.com |

Response fields:

- `domain.domain` (string): The domain name
- `domain.whois_server` (string): WHOIS server used
- `domain.status` (string[]): Registry status values
- `domain.name_servers[]` (string): Name servers
- `domain.created_date` (string): Creation date
- `domain.updated_date` (string): Last update date
- `domain.expiration_date` (string): Expiry date
- `registrar.name` (string): Registrar name
- `registrar.email` (string): Registrar contact email
- `registrant.organization` (string): Registrant organisation, when published
- `registrant.country` (string): Registrant country, when published

```bash
curl 'https://whoisjsonapi.com/v1/example.com' \
  -H 'Authorization: Bearer YOUR_API_KEY'
```

Example response (200):

```json
{
  "domain": {
    "domain": "example.com",
    "name": "example",
    "extension": "com",
    "whois_server": "whois.example-registry.test",
    "status": [
      "clientTransferProhibited"
    ],
    "name_servers": [
      "ns1.example.com",
      "ns2.example.com"
    ],
    "created_date": "2001-03-29T05:00:00Z",
    "updated_date": "2025-01-15T10:00:00Z",
    "expiration_date": "2030-03-30T04:00:00Z"
  },
  "registrar": {
    "name": "Example Registrar, Inc.",
    "email": "abuse@example.org"
  },
  "registrant": {
    "organization": "Example Org",
    "country": "US"
  }
}
```

## Availability

### Check whether a domain is active, using DNS and WHOIS.

`GET /status/{domainName}`

- Takes: Domain
- Footprint: passive (the target is not contacted)

Returns active or inactive. Inactive means DNS found neither an A nor an NS record, or WHOIS reports the domain not found. It does not confirm the domain is available to register.

| Parameter | In | Type | Required | Description |
| --- | --- | --- | --- | --- |
| `domainName` | path | string | yes | Domain name to check Example: example.com |

Response fields:

- `domain` (string): The domain checked
- `status` (string): active or inactive

```bash
curl 'https://whoisjsonapi.com/v1/status/example.com' \
  -H 'Authorization: Bearer YOUR_API_KEY'
```

Example response (200):

```json
{
  "domain": "example.com",
  "status": "active"
}
```

## DNS

### DNS records for a domain, optionally limited to chosen record types.

`GET /dns/{domainName}`

- Takes: Domain
- Footprint: passive (the target is not contacted)
- Cost: 1 request
- Plan: Premium and Enterprise

Each accepted lookup uses one request from the allowance, however many types are asked for. Successful responses include X-Requests-Remaining when available.

| Parameter | In | Type | Required | Description |
| --- | --- | --- | --- | --- |
| `domainName` | path | string | yes | Domain name Example: example.com |
| `types` | query | string | no | Comma-separated record types; omit for all eight Example: A,MX,TXT One of: A, AAAA, MX, NS, TXT, CNAME, SOA, CAA |

Response fields:

- `domain` (string): Domain as requested
- `domain_ascii` (string): ASCII form of the domain
- `status` (string): success, no_data, nxdomain or partial
- `requested_types[]` (string): Record types looked up
- `fetched_at` (string): When the records were fetched
- `expires_at` (string): When the cached answer expires
- `records.A[].value` (string): A record address
- `records.MX[].exchange` (string): Mail exchanger host
- `records.MX[].priority` (integer): MX priority
- `warnings[]` (string): Warnings about the lookup

```bash
curl 'https://whoisjsonapi.com/v1/dns/example.com' \
  -H 'Authorization: Bearer YOUR_API_KEY'
```

Example response (200):

```json
{
  "domain": "example.com",
  "domain_ascii": "example.com",
  "status": "success",
  "resolver_policy": "default",
  "requested_types": [
    "A",
    "MX"
  ],
  "fetched_at": "2026-01-01T00:00:00Z",
  "expires_at": "2026-01-01T00:05:00Z",
  "records": {
    "A": [
      {
        "name": "example.com.",
        "type": "A",
        "ttl": 120,
        "value": "203.0.113.7"
      }
    ],
    "MX": [
      {
        "name": "example.com.",
        "type": "MX",
        "ttl": 300,
        "priority": 10,
        "exchange": "mail.example.com."
      }
    ]
  },
  "warnings": []
}
```

## History

### Timeline of changes to a domain's WHOIS record.

`GET /{domainName}/history`

- Takes: Domain
- Footprint: passive (the target is not contacted)
- Cost: 50 requests per successful response, including each cursor page; errors cost nothing
- Plan: Premium and Enterprise

Subdomains resolve to the registrable domain. Excludes contact details and raw WHOIS text. Tracked paths are registrar.name, domain.created_date, domain.updated_date, domain.expiration_date, domain.name_servers, domain.status and domain.dnssec. Page with pagination.next_cursor, reusing the same limit, from and to; a cursor is valid for 24 hours. offset and page are not supported.

| Parameter | In | Type | Required | Description |
| --- | --- | --- | --- | --- |
| `domainName` | path | string | yes | Domain name Example: example.com |
| `limit` | query | integer | no | Events per page, 1 to 100 Example: 20 |
| `from` | query | string | no | Start of the range, ISO 8601 with timezone; URL-encode + as %2B Example: 2020-01-01T00:00:00Z |
| `to` | query | string | no | End of the range, ISO 8601 with timezone; must be later than from Example: 2026-01-01T00:00:00Z |
| `cursor` | query | string | no | pagination.next_cursor from the previous page Example: YOUR_CURSOR |

Response fields:

- `domain` (string): Registrable domain
- `history_status` (string): records_available or no_records_confirmed
- `page_status` (string): changes, observation, no_matching_records, scan_limited, exhausted or no_history
- `events[]` (object): Detected changes, each with before and after values
- `observation` (object): Observation details
- `coverage` (object): Coverage of the stored history
- `pagination.next_cursor` (string): Cursor for the next page

```bash
curl 'https://whoisjsonapi.com/v1/example.com/history' \
  -H 'Authorization: Bearer YOUR_API_KEY'
```

Example response (200):

```json
{
  "domain": "example.com",
  "history_status": "records_available",
  "page_status": "changes",
  "events": [
    {
      "path": "registrar.name",
      "before": {
        "state": "present",
        "value": "Example Registrar, Inc."
      },
      "after": {
        "state": "present",
        "value": "Sample Registrar LLC"
      }
    }
  ],
  "pagination": {
    "next_cursor": "YOUR_CURSOR"
  }
}
```

---

Listings on OSINTtools.io are reviewed by editors and re-verified on a schedule; check pricing and availability on the vendor's site before relying on them, and use OSINT tools only with a lawful basis.
Site index for agents: https://osinttools.io/llms.txt · Full catalog: https://osinttools.io/llms-full.txt · MCP server (Streamable HTTP, no auth): https://osinttools.io/mcp/
