Skip to content
OSINTtools.io

CompleteDNS API

Name server history database going back to 2002, showing every recorded NS change, drop and parking period for a domain.

Base URL
https://api.completedns.com
Sign-in
API key
Format
REST
Endpoints
1

Compiled by OSINTtools.io editors from completedns.com · updated Nov 29, 2026Work on this API? Claim it to keep these docs currentReport a mistake

Introduction

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

Quick start

  1. Get a key

    Create an account with CompleteDNS and copy your api key. Where to get it

  2. Make your first request

    Nameserver history of a domain: changes, drops and parked status.. Replace YOUR_API_KEY and run it in a terminal, or use Try it on the endpoint.

    curl 'https://api.completedns.com/v2/dns-history/example.com?key=YOUR_API_KEY'
  3. Read the response

    A 200 response looks like this, shortened.

    {
      "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"
            },
    …

Authentication

Send your API key in the key query parameter of every request.

Keys are in the API section of your account.

Try it on this page keeps your key in your browser; it is never sent to OSINTtools.io.

Rate limits and pricing

Not stated in the docs

DNS history

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.

Path parameters

domainstringrequiredtakes your domain

Domain name to look up

Example: example.com
Response fields · 12Show

domainstring

Queried domain name

dropsinteger

Number of drops recorded

changesinteger

Number of change events recorded

yearsstring

Years since the first recorded change

was_parkedstring

Whether the domain was parked before

typestring

between (occurred between date_start and date_end) or exact (recorded on date)

date_startstring

Start of the window for a between event

date_endstring

End of the window for a between event

typestring

start_tracking, dropped, created or change

nameservers[]string

Nameservers on that date

typestring

added or removed

nsstring

The nameserver added or removed

curl 'https://api.completedns.com/v2/dns-history/example.com?key=YOUR_API_KEY'
Replace YOUR_API_KEY with your key
Response
{
  "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"
        }
      ]
    }
  ]
}