Cloudflare · Schema

zones_zone

AI GatewayAPI GatewayArtificial IntelligenceCDNCloudContainersDDoS ProtectionDNSEdgeEdge ComputingObject StoragePlatformReal-Time CommunicationSecurityServerlessWeb PerformanceCloudflareA2A

Properties

Name Type Description
account object The account the zone belongs to
activated_on stringnull The last time proof of ownership was detected and the zone was made active
created_on string When the zone was created
development_mode number The interval (in seconds) from when development mode expires (positive integer) or last expired (negative integer) for the domain. If development mode has never been enabled, this value is 0.
id object
meta object Metadata about the zone
modified_on string When the zone was last modified
name string The domain name
original_dnshost stringnull DNS host at the time of switching to Cloudflare
original_name_servers arraynull Original name servers before moving to Cloudflare Notes: Is this only available for full zones?
original_registrar stringnull Registrar for the domain at the time of switching to Cloudflare
owner object The owner of the zone
vanity_name_servers array An array of domains used for custom name servers. This is only available for Business and Enterprise plans.
View JSON Schema on GitHub

JSON Schema

cloudflare-zones-zone-schema.json Raw ↑
{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://raw.githubusercontent.com/api-evangelist/cloudflare/main/json-schema/cloudflare-zones-zone-schema.json",
  "title": "zones_zone",
  "x-generated": "2026-10-03",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/cloudflare-zones-api-openapi.yml#/components/schemas/zones_zone",
  "type": "object",
  "required": [
    "id",
    "name",
    "development_mode",
    "owner",
    "account",
    "meta",
    "original_name_servers",
    "original_registrar",
    "original_dnshost",
    "created_on",
    "modified_on",
    "activated_on"
  ],
  "properties": {
    "account": {
      "type": "object",
      "description": "The account the zone belongs to",
      "properties": {
        "id": {
          "$ref": "#/$defs/zones_identifier"
        },
        "name": {
          "type": "string",
          "description": "The name of the account"
        }
      }
    },
    "activated_on": {
      "type": [
        "string",
        "null"
      ],
      "format": "date-time",
      "description": "The last time proof of ownership was detected and the zone was made\nactive",
      "readOnly": true
    },
    "created_on": {
      "type": "string",
      "format": "date-time",
      "description": "When the zone was created",
      "readOnly": true
    },
    "development_mode": {
      "type": "number",
      "description": "The interval (in seconds) from when development mode expires\n(positive integer) or last expired (negative integer) for the\ndomain. If development mode has never been enabled, this value is 0.",
      "readOnly": true
    },
    "id": {
      "$ref": "#/$defs/zones_identifier"
    },
    "meta": {
      "type": "object",
      "description": "Metadata about the zone",
      "properties": {
        "cdn_only": {
          "type": "boolean",
          "description": "The zone is only configured for CDN"
        },
        "custom_certificate_quota": {
          "type": "integer",
          "description": "Number of Custom Certificates the zone can have"
        },
        "dns_only": {
          "type": "boolean",
          "description": "The zone is only configured for DNS"
        },
        "foundation_dns": {
          "type": "boolean",
          "description": "The zone is setup with Foundation DNS"
        },
        "page_rule_quota": {
          "type": "integer",
          "description": "Number of Page Rules a zone can have"
        },
        "phishing_detected": {
          "type": "boolean",
          "description": "The zone has been flagged for phishing"
        },
        "step": {
          "type": "integer"
        }
      }
    },
    "modified_on": {
      "type": "string",
      "format": "date-time",
      "description": "When the zone was last modified",
      "readOnly": true
    },
    "name": {
      "type": "string",
      "description": "The domain name",
      "maxLength": 253,
      "pattern": "^([a-zA-Z0-9][\\-a-zA-Z0-9]*\\.)+[\\-a-zA-Z0-9]{2,20}$"
    },
    "original_dnshost": {
      "type": [
        "string",
        "null"
      ],
      "description": "DNS host at the time of switching to Cloudflare",
      "readOnly": true,
      "maxLength": 50
    },
    "original_name_servers": {
      "type": [
        "array",
        "null"
      ],
      "description": "Original name servers before moving to Cloudflare\nNotes: Is this only available for full zones?",
      "readOnly": true,
      "items": {
        "type": "string",
        "format": "hostname"
      }
    },
    "original_registrar": {
      "type": [
        "string",
        "null"
      ],
      "description": "Registrar for the domain at the time of switching to Cloudflare",
      "readOnly": true
    },
    "owner": {
      "type": "object",
      "description": "The owner of the zone",
      "properties": {
        "id": {
          "$ref": "#/$defs/zones_identifier"
        },
        "name": {
          "type": "string",
          "description": "Name of the owner"
        },
        "type": {
          "type": "string",
          "description": "The type of owner"
        }
      }
    },
    "vanity_name_servers": {
      "type": "array",
      "description": "An array of domains used for custom name servers. This is only available for Business and Enterprise plans.",
      "items": {
        "type": "string",
        "format": "hostname",
        "maxLength": 253
      }
    }
  },
  "$defs": {
    "zones_identifier": {
      "type": "string",
      "description": "Identifier",
      "maxLength": 32
    }
  }
}

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/cloudflare-zones-zone"
All schemas
curl "https://apis.io/api/v1/json-schemas?limit=25"

Discovery needs no key. Ratings and market analysis are Pro.

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. See our Privacy Policy and Terms.

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