# CompleteDNS API reference

> CompleteDNS API v2 returns the DNS history of a domain: the nameservers it used over time and when they changed. An investigator uses it to see when a domain moved between hosts, was dropped and re-registered, or was parked. Calls are GET requests to https://api.completedns.com. The API key goes…

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

- Base URL: https://api.completedns.com
- Authentication: API key in the `key` query parameter. Keys are in the API section of your account.
- Rate limits: Not stated in the docs
- Vendor docs: https://completedns.com/api/documentation/v2

## Overview

CompleteDNS API v2 returns the DNS history of a domain: the nameservers it used over time and when they changed. An investigator uses it to see when a domain moved between hosts, was dropped and re-registered, or was parked.

Calls are GET requests to `https://api.completedns.com`. The API key goes in the `key` query parameter. Each call uses one report from your quota; the `reports-left` response header shows how many remain.

The docs do not state a requests-per-second limit. Errors come back with `error_type` and `error_msg` fields (for example `no_api_key`, `api_key_not_valid`, `ip_not_allowed`, `domain_not_valid`, `tld_not_supported`, `no_reports_left`).

## DNS history

### Nameserver history of a domain: changes, drops and parked status.

`GET /v2/dns-history/{domain}`

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

Returns counts of drops and changes, the years since the first recorded change, and a list of events with the nameservers at each date. The reports-left header shows the remaining quota.

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

Response fields:

- `domain` (string): Queried domain name
- `drops` (integer): Number of drops recorded
- `changes` (integer): Number of change events recorded
- `years` (string): Years since the first recorded change
- `was_parked` (string): Whether the domain was parked before
- `events[].date.type` (string): between (occurred between date_start and date_end) or exact (recorded on date)
- `events[].date.date_start` (string): Start of the window for a between event
- `events[].date.date_end` (string): End of the window for a between event
- `events[].type` (string): start_tracking, dropped, created or change
- `events[].nameservers[]` (string): Nameservers on that date
- `events[].changes[].type` (string): added or removed
- `events[].changes[].ns` (string): The nameserver added or removed

```bash
curl 'https://api.completedns.com/v2/dns-history/example.com?key=YOUR_API_KEY'
```

Example response (200):

```json
{
  "domain": "example.com",
  "drops": 0,
  "changes": 2,
  "years": "11",
  "was_parked": "0",
  "events": [
    {
      "date": {
        "type": "between",
        "date": null,
        "date_start": "2015-06-02",
        "date_end": "2015-10-01"
      },
      "type": "change",
      "nameservers": [
        "ns1.example.net",
        "ns2.example.net"
      ],
      "changes": [
        {
          "type": "added",
          "ns": "ns1.example.net"
        },
        {
          "type": "removed",
          "ns": "ns1.example.org"
        }
      ]
    }
  ]
}
```

---

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/
