DNS Coffee · Schema

RootInfo

DNSDomain NamesDomainsZone FilesNameserversResearch

Properties

Name Type Description
$schema string A URL to the JSON Schema for this object.
archive_nameserver_count integer Number of nameservers once authoritative for the zone but no longer present.
country string The country or territory a country-code TLD is assigned to, by its common English name (for example "United Kingdom" for uk, "Russia" for xn--p1ai). Retired ccTLDs keep their historical name, such as
first_seen string Date the zone (or, on a nameserver's zone lists, this association) was first observed. Absent when it was already present when tracking began.
history object Count history for the root zone, newest first, bucketed by import count exactly as on /zones/{zone}/history: buckets of equal size starting from the root's oldest import with recorded counts, so publi
import_data object Summary of the zone's most recent zone-file import. Absent for zones never imported.
last_import string Date of the zone's most recent zone-file import. Present alongside stale; absent for a zone never imported.
last_seen string Date the zone (or, on a nameserver's zone lists, this association) was last observed. Absent while the zone is still active.
name string Zone name (the TLD), in lowercase. Empty for the root zone.
nameserver_count integer Number of nameservers currently authoritative for the zone.
organization string The organization IANA records as managing the zone. IANA writes "Not assigned" for delegated-but-unassigned zones; that value is passed through as-is.
removed string Authoritative date the TLD was removed from the root zone. Present only for removed TLDs.
root object The zone's first and most recent appearance in root-zone imports.
stale boolean True when we have not received a zone file for the zone in over six months, although it has not been removed from the root. Its last-known delegations are still listed as current, but they are left ou
type string IANA classification of the zone: generic, country-code, sponsored, test, infrastructure or generic-restricted; public-suffix for a Public Suffix List entry that is not a TLD. Empty when neither source
View JSON Schema on GitHub

JSON Schema

dns-coffee-root-info-schema.json Raw ↑
{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/dns-coffee/json-schema/dns-coffee-root-info-schema.json",
  "title": "RootInfo",
  "x-generated": "2026-11-19",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/dns-coffee-openapi.yml#/components/schemas/RootInfo",
  "additionalProperties": false,
  "properties": {
    "$schema": {
      "description": "A URL to the JSON Schema for this object.",
      "format": "uri",
      "readOnly": true,
      "type": "string"
    },
    "archive_nameserver_count": {
      "description": "Number of nameservers once authoritative for the zone but no longer present.",
      "format": "int64",
      "type": "integer"
    },
    "country": {
      "description": "The country or territory a country-code TLD is assigned to, by its common English name (for example \"United Kingdom\" for uk, \"Russia\" for xn--p1ai). Retired ccTLDs keep their historical name, such as \"Soviet Union\" for su. Absent for every other zone type.",
      "type": "string"
    },
    "first_seen": {
      "description": "Date the zone (or, on a nameserver's zone lists, this association) was first observed. Absent when it was already present when tracking began.",
      "format": "date-time",
      "type": "string"
    },
    "history": {
      "$ref": "#/$defs/ZoneCount",
      "description": "Count history for the root zone, newest first, bucketed by import count exactly as on /zones/{zone}/history: buckets of equal size starting from the root's oldest import with recorded counts, so published points do not change."
    },
    "import_data": {
      "$ref": "#/$defs/ZoneImportResult",
      "description": "Summary of the zone's most recent zone-file import. Absent for zones never imported."
    },
    "last_import": {
      "description": "Date of the zone's most recent zone-file import. Present alongside stale; absent for a zone never imported.",
      "format": "date-time",
      "type": "string"
    },
    "last_seen": {
      "description": "Date the zone (or, on a nameserver's zone lists, this association) was last observed. Absent while the zone is still active.",
      "format": "date-time",
      "type": "string"
    },
    "name": {
      "description": "Zone name (the TLD), in lowercase. Empty for the root zone.",
      "type": "string"
    },
    "nameserver_count": {
      "description": "Number of nameservers currently authoritative for the zone.",
      "format": "int64",
      "type": "integer"
    },
    "organization": {
      "description": "The organization IANA records as managing the zone. IANA writes \"Not assigned\" for delegated-but-unassigned zones; that value is passed through as-is.",
      "type": "string"
    },
    "removed": {
      "description": "Authoritative date the TLD was removed from the root zone. Present only for removed TLDs.",
      "format": "date-time",
      "type": "string"
    },
    "root": {
      "$ref": "#/$defs/RootZone",
      "description": "The zone's first and most recent appearance in root-zone imports."
    },
    "stale": {
      "description": "True when we have not received a zone file for the zone in over six months, although it has not been removed from the root. Its last-known delegations are still listed as current, but they are left out of live counts such as a nameserver's domain_count and an address's nameserver_count, and reported separately as stale counts. Always false for the root zone and for zones removed from the root. Present on zone responses and on parent_zone objects.",
      "type": "boolean"
    },
    "type": {
      "description": "IANA classification of the zone: generic, country-code, sponsored, test, infrastructure or generic-restricted; public-suffix for a Public Suffix List entry that is not a TLD. Empty when neither source lists the zone.",
      "type": "string"
    }
  },
  "required": [
    "name"
  ],
  "type": "object",
  "$defs": {
    "RootZone": {
      "additionalProperties": false,
      "properties": {
        "first_import": {
          "description": "Date the zone first appeared in a root-zone import.",
          "format": "date-time",
          "type": [
            "string",
            "null"
          ]
        },
        "last_import": {
          "description": "Date the zone most recently appeared in a root-zone import.",
          "format": "date-time",
          "type": [
            "string",
            "null"
          ]
        }
      },
      "required": [
        "first_import",
        "last_import"
      ],
      "type": "object"
    },
    "ZoneCount": {
      "additionalProperties": false,
      "properties": {
        "$schema": {
          "description": "A URL to the JSON Schema for this object.",
          "format": "uri",
          "readOnly": true,
          "type": "string"
        },
        "history": {
          "description": "The zone's count history, one point per time bucket.",
          "items": {
            "$ref": "#/$defs/ZoneCounts"
          },
          "type": [
            "array",
            "null"
          ]
        },
        "zone": {
          "description": "Zone name. Empty for the root zone.",
          "type": "string"
        }
      },
      "required": [
        "zone",
        "history"
      ],
      "type": "object"
    },
    "ZoneCounts": {
      "additionalProperties": false,
      "properties": {
        "date": {
          "description": "Date of the point. On per-zone history (/zones/{zone}/history, /root) it is the newest import in the bucket; on /stats/internet and /stats/zones it is the first day of the week (Monday) or month.",
          "format": "date-time",
          "type": "string"
        },
        "domains": {
          "description": "Average domain count over the bucket.",
          "format": "int64",
          "type": "integer"
        },
        "moved": {
          "description": "Number of domains whose nameservers changed over the bucket.",
          "format": "int64",
          "type": "integer"
        },
        "new": {
          "description": "Number of domains added to the zone over the bucket.",
          "format": "int64",
          "type": "integer"
        },
        "old": {
          "description": "Number of domains removed from the zone over the bucket.",
          "format": "int64",
          "type": "integer"
        }
      },
      "required": [
        "date",
        "domains",
        "old",
        "moved",
        "new"
      ],
      "type": "object"
    },
    "ZoneImportResult": {
      "additionalProperties": false,
      "properties": {
        "count": {
          "description": "Total number of imports for the zone.",
          "format": "int64",
          "type": "integer"
        },
        "country": {
          "description": "The country or territory a country-code TLD is assigned to, by its common English name (for example \"United Kingdom\" for uk, \"Russia\" for xn--p1ai). Retired ccTLDs keep their historical name, such as \"Soviet Union\" for su. Absent for every other zone type.",
          "type": "string"
        },
        "domains": {
          "description": "Number of domains in the most recent import.",
          "format": "int64",
          "type": "integer"
        },
        "first_date": {
          "description": "Date of the first zone-file import for the zone.",
          "format": "date-time",
          "type": [
            "string",
            "null"
          ]
        },
        "last_date": {
          "description": "Date of the most recent zone-file import for the zone.",
          "format": "date-time",
          "type": [
            "string",
            "null"
          ]
        },
        "organization": {
          "description": "The organization IANA records as managing the zone. IANA writes \"Not assigned\" for delegated-but-unassigned zones; that value is passed through as-is.",
          "type": "string"
        },
        "records": {
          "description": "Number of resource records of every type in the most recent import's zone file (delegations, glue, DNSSEC and catch-all records alike).",
          "format": "int64",
          "type": "integer"
        },
        "removed": {
          "description": "Authoritative date the TLD was removed from the root zone. Present on /zones rows for removed TLDs only.",
          "format": "date-time",
          "type": "string"
        },
        "stale": {
          "description": "True when we have not received a zone file for the zone in over six months (last_date is more than six months old) and it has not been removed from the root. Its last-known delegations are still listed as current, but they are left out of live counts. Present on /zones rows.",
          "type": "boolean"
        },
        "type": {
          "description": "IANA classification of the zone: generic, country-code, sponsored, test, infrastructure or generic-restricted; public-suffix for a Public Suffix List entry that is not a TLD. Empty when neither source lists the zone.",
          "type": "string"
        },
        "zone": {
          "description": "Zone name, in lowercase. Empty for the root zone.",
          "type": "string"
        }
      },
      "required": [
        "first_date",
        "last_date",
        "zone",
        "records",
        "domains",
        "count"
      ],
      "type": "object"
    }
  }
}

Work with this as data

Every JSON Schema here is available over the APIs.io API and to AI agents over MCP.

MCP server

One button, every client — Claude, Cursor, VS Code and the rest.

https://apis.io/mcp

Tools for schemas

4 MCP tools reach this
  • find_json_schemasBrowse and filter every JSON Schema in the catalog.
  • apis_io_searchSTART HERE — APIs, providers and tags for one query, each with its total.
  • resolveTurn a domain, URL or GitHub org into the provider it belongs to.
  • find_cohortsEvery scored population of providers in the catalog.
All 92 tools →

Call it yourself

curl for this page
This JSON Schema
curl "https://apis.io/api/v1/json-schemas/dns-coffee-root-info"
All schemas
curl "https://apis.io/api/v1/json-schemas?limit=25"

Calls without X-API-Key need no key. Calls with it need a paid plan — get a key.

Get an API key

Free tier, no form to fill in. Signing in shares your email address with us — we store it to create your key and to recognise you if you sign in with another provider. By signing up you are subscribing to the APIs.io and API Evangelist newsletters — you can unsubscribe from any issue. See our Privacy Policy and Terms.

A second provider on the same verified email joins the account you already have.