# DomScan API reference

> DomScan is a domain-intelligence API. This reference covers its WHOIS and DNS lookups, including history. The service also offers availability checks, health checks, typosquatting scans, certificate and technology detection and more; see its OpenAPI spec for those. Base URL is https://domscan.net.…

Source: https://osinttools.io/apis/domscan/ (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/domscan/

- Base URL: https://domscan.net
- Authentication: API key in the `X-API-Key` header. Get a key: https://domscan.net/api-keys Authorization: Bearer also works
- Free tier: yes
- Pricing: Credits
- Rate limits: 300 requests per minute on free accounts and 900 on paid accounts, shared across all keys and sessions
- Vendor docs: https://domscan.net/docs
- OpenAPI spec: https://domscan.net/v1/openapi.json

## Overview

DomScan is a domain-intelligence API. This reference covers its WHOIS and DNS lookups, including history. The service also offers availability checks, health checks, typosquatting scans, certificate and technology detection and more; see its OpenAPI spec for those.

Base URL is `https://domscan.net`. Send the key in an `X-API-Key` header or as `Authorization: Bearer`. Each call costs credits, and a free signup gets 1,000 credits a month.

## Errors

| Status | Meaning |
| --- | --- |
| 400 | Bad request |
| 401 | Missing or invalid API key |
| 402 | Out of credits |
| 429 | Rate limit exceeded |

## WHOIS

### WHOIS and RDAP registration data for a domain.

`GET /v1/whois`

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

Returns registrar, dates, nameservers, status, contacts as published, privacy-service detection and raw WHOIS. A /v2/whois endpoint returns the same fields.

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

Response fields:

- `domain` (string): Domain looked up
- `registered` (boolean): Whether the domain is registered
- `registrar` (string): Registrar name
- `created_date` (string): Creation date
- `updated_date` (string): Last update date
- `expiry_date` (string): Expiry date
- `domain_age_days` (integer): Age of the domain in days
- `nameservers[]` (string): Nameservers
- `status[]` (string): Registration status codes
- `dnssec` (string): DNSSEC state
- `contacts.registrant` (object): Registrant contact (name, organization, email, phone, address) as published
- `privacy.is_private` (boolean): Whether a privacy service hides the registrant
- `privacy.privacy_service` (string): Detected privacy service
- `checked_at` (string): When the lookup ran

```bash
curl 'https://domscan.net/v1/whois?domain=example.com' \
  -H 'X-API-Key: YOUR_API_KEY'
```

Example response (200):

```json
{
  "domain": "example.com",
  "registered": true,
  "registrar": "Example Registrar",
  "created_date": "2000-01-01T00:00:00Z",
  "expiry_date": "2030-01-01T00:00:00Z",
  "domain_age_days": 9000,
  "nameservers": [
    "ns1.example.org",
    "ns2.example.org"
  ],
  "status": [
    "clientTransferProhibited"
  ],
  "privacy": {
    "is_private": true,
    "privacy_service": "Example Privacy"
  },
  "checked_at": "2026-01-01T00:00:00Z"
}
```

### Stored WHOIS snapshots of a domain and the changes between them.

`GET /v1/whois/history`

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

Paginated with a cursor. Includes a summary of registrar, nameserver, expiry, privacy and status changes.

| Parameter | In | Type | Required | Description |
| --- | --- | --- | --- | --- |
| `domain` | query | string | yes | Domain to look up Example: example.com |
| `limit` | query | integer | no | Snapshots per page Example: 50 |
| `cursor` | query | string | no | Cursor from next_cursor of the previous page Example: CURSOR |

Response fields:

- `domain` (string): Domain looked up
- `total_snapshots` (integer): Number of stored snapshots
- `first_seen` (string): First snapshot date
- `last_seen` (string): Latest snapshot date
- `snapshots[]` (object): Snapshots with registration fields, snapshot_date and changes_from_previous
- `has_more` (boolean): Whether another page exists
- `next_cursor` (string): Cursor for the next page

```bash
curl 'https://domscan.net/v1/whois/history?domain=example.com' \
  -H 'X-API-Key: YOUR_API_KEY'
```

Example response (200):

```json
{
  "domain": "example.com",
  "total_snapshots": 1,
  "first_seen": "2025-01-01",
  "last_seen": "2025-01-01",
  "snapshots": [
    {
      "snapshot_date": "2025-01-01",
      "registrar": "Example Registrar",
      "changes_from_previous": []
    }
  ],
  "has_more": false
}
```

## DNS

### DNS records of one type for a domain.

`GET /v1/dns`

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

Record type defaults to A. ALL is an accepted type.

| Parameter | In | Type | Required | Description |
| --- | --- | --- | --- | --- |
| `domain` | query | string | yes | Domain to resolve Example: example.com |
| `type` | query | string | no | Record type Example: MX One of: A, AAAA, MX, NS, TXT, SOA, CNAME, CAA, PTR, SRV, ALL |

Response fields:

- `domain` (string): Domain queried
- `record_type` (string): Record type queried
- `records` (array): Records returned
- `status` (string): Resolution status
- `dnssec_validated` (boolean): Whether DNSSEC validated
- `checked_at` (string): When the lookup ran

```bash
curl 'https://domscan.net/v1/dns?domain=example.com' \
  -H 'X-API-Key: YOUR_API_KEY'
```

Example response (200):

```json
{
  "domain": "example.com",
  "record_type": "A",
  "records": [
    "192.0.2.10"
  ],
  "status": "NOERROR",
  "dnssec_validated": false,
  "checked_at": "2026-01-01T00:00:00Z"
}
```

### All common DNS record types for a domain, with a summary.

`GET /v1/dns/all`

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

Optional wildcard probe reports whether wildcard DNS is suspected.

| Parameter | In | Type | Required | Description |
| --- | --- | --- | --- | --- |
| `domain` | query | string | yes | Domain to resolve Example: example.com |
| `wildcard_probe` | query | string | no | Set to 1 to probe for wildcard DNS Example: 1 One of: 1 |

Response fields:

- `domain` (string): Domain queried
- `records` (object): Records by type
- `summary.has_mx` (boolean): Whether MX records exist
- `summary.has_txt` (boolean): Whether TXT records exist
- `failed_types[]` (string): Record types that failed to resolve
- `wildcard.suspected` (boolean): Whether wildcard DNS is suspected
- `checked_at` (string): When the lookup ran

```bash
curl 'https://domscan.net/v1/dns/all?domain=example.com' \
  -H 'X-API-Key: YOUR_API_KEY'
```

Example response (200):

```json
{
  "domain": "example.com",
  "records": {
    "A": [
      "192.0.2.10"
    ],
    "MX": [
      "mail.example.com"
    ]
  },
  "summary": {
    "has_mx": true,
    "has_txt": false
  },
  "failed_types": [],
  "wildcard": {
    "suspected": false
  },
  "checked_at": "2026-01-01T00:00:00Z"
}
```

### Recorded changes to a domain's DNS records over time (beta).

`GET /v1/dns/history`

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

Paginated with a cursor. Returns current records and a list of dated changes.

| Parameter | In | Type | Required | Description |
| --- | --- | --- | --- | --- |
| `domain` | query | string | yes | Domain to look up Example: example.com |
| `type` | query | string | no | Record type filter Example: A |
| `from` | query | string | no | Start of the date range Example: 2025-01-01 |
| `to` | query | string | no | End of the date range Example: 2025-12-31 |
| `limit` | query | integer | no | Rows per page Example: 100 |
| `cursor` | query | string | no | Cursor from the previous page Example: CURSOR |

Response fields:

- `domain` (string): Domain looked up
- `history[].date` (string): Date of the change
- `history[].record_type` (string): Record type changed
- `history[].changes[].action` (string): Kind of change
- `history[].changes[].value` (string): Record value
- `first_seen` (string): First observation
- `last_seen` (string): Latest observation
- `total_changes` (integer): Number of changes
- `has_more` (boolean): Whether another page exists
- `next_cursor` (string): Cursor for the next page

```bash
curl 'https://domscan.net/v1/dns/history?domain=example.com' \
  -H 'X-API-Key: YOUR_API_KEY'
```

Example response (200):

```json
{
  "domain": "example.com",
  "history": [
    {
      "date": "2025-06-01",
      "record_type": "A",
      "changes": [
        {
          "action": "added",
          "value": "192.0.2.10",
          "ttl": 300
        }
      ]
    }
  ],
  "total_changes": 1,
  "has_more": false
}
```

---

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/
