{
  "openapi": "3.0.1",
  "info": {
    "title": "Domain Security & Email Deliverability MCP",
    "description": "Read-only MCP Actor for domain security & email deliverability audits: RFC 7208 SPF 10-lookup cliff, DMARC, DKIM, MX, MTA-STS, TLS-RPT, BIMI, DNSSEC/CAA, native TLS 1.3 X.509, OWASP headers & RDAP. Pure HTTP, zero API keys, SSRF-hardened, $0.02/domain PPE ($0 on invalid/unreachable).",
    "version": "0.1",
    "x-build-id": "FKVXgvnTJhrpBKnOW"
  },
  "servers": [
    {
      "url": "https://api.apify.com/v2"
    }
  ],
  "paths": {
    "/acts/signalnodes~domain-security-deliverability-mcp/run-sync-get-dataset-items": {
      "post": {
        "operationId": "run-sync-get-dataset-items-signalnodes-domain-security-deliverability-mcp",
        "x-openai-isConsequential": false,
        "summary": "Executes an Actor, waits for its completion, and returns Actor's dataset items in response.",
        "tags": [
          "Run Actor"
        ],
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/inputSchema"
              }
            }
          }
        },
        "parameters": [
          {
            "name": "token",
            "in": "query",
            "required": true,
            "schema": {
              "type": "string"
            },
            "description": "Enter your Apify token here"
          }
        ],
        "responses": {
          "200": {
            "description": "OK"
          }
        }
      }
    },
    "/acts/signalnodes~domain-security-deliverability-mcp/runs": {
      "post": {
        "operationId": "runs-sync-signalnodes-domain-security-deliverability-mcp",
        "x-openai-isConsequential": false,
        "summary": "Executes an Actor and returns information about the initiated run in response.",
        "tags": [
          "Run Actor"
        ],
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/inputSchema"
              }
            }
          }
        },
        "parameters": [
          {
            "name": "token",
            "in": "query",
            "required": true,
            "schema": {
              "type": "string"
            },
            "description": "Enter your Apify token here"
          }
        ],
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/runsResponseSchema"
                }
              }
            }
          }
        }
      }
    },
    "/acts/signalnodes~domain-security-deliverability-mcp/run-sync": {
      "post": {
        "operationId": "run-sync-signalnodes-domain-security-deliverability-mcp",
        "x-openai-isConsequential": false,
        "summary": "Executes an Actor, waits for completion, and returns the OUTPUT from Key-value store in response.",
        "tags": [
          "Run Actor"
        ],
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/inputSchema"
              }
            }
          }
        },
        "parameters": [
          {
            "name": "token",
            "in": "query",
            "required": true,
            "schema": {
              "type": "string"
            },
            "description": "Enter your Apify token here"
          }
        ],
        "responses": {
          "200": {
            "description": "OK"
          }
        }
      }
    }
  },
  "components": {
    "schemas": {
      "inputSchema": {
        "type": "object",
        "required": [
          "domains"
        ],
        "properties": {
          "domains": {
            "title": "Public Domains to Audit",
            "minItems": 1,
            "maxItems": 10,
            "uniqueItems": true,
            "type": "array",
            "description": "REQUIRED array of 1 to 10 unique public domain names (hard bounds: min 1, max 10 items per run; duplicate normalized domains are strictly rejected to prevent duplicate charges if MCP strips uniqueItems). Inputs are automatically lowercased, stripped of http(s):// schemes, paths, ports, and a single trailing dot, converted from IDN to ASCII Punycode, and checked against RFC 1035 syntax. Security/SSRF guard: IPv4/IPv6 literals (including obfuscated IPs), localhost, single-label names, and reserved suffixes (.local, .internal, .lan, .home, .arpa, .localhost, .invalid, .example, .test, .localdomain, .corp, .intranet) are strictly rejected. Any violation aborts immediately with VALIDATION_ERROR, 0 network calls, and $0.00 charged.",
            "items": {
              "type": "string"
            }
          },
          "mode": {
            "title": "Audit Mode",
            "enum": [
              "quick",
              "standard",
              "deep"
            ],
            "type": "string",
            "description": "Audit depth mode. Allowed enum values ONLY: \"quick\", \"standard\", or \"deep\" (default: \"standard\"). Controls default active DKIM selector probing when dkimSelectors is empty: \"quick\" skips active DKIM enumeration; \"standard\" probes 6 curated selectors (google, selector1, selector2, k1, s1, default); \"deep\" probes 10 selectors (adds s2, dkim, mail, mandrill). Any value outside this enum fails immediately with VALIDATION_ERROR, 0 network calls, and $0.00 charged.",
            "default": "standard"
          },
          "dkimSelectors": {
            "title": "Custom DKIM Selectors (Optional)",
            "minItems": 0,
            "maxItems": 8,
            "uniqueItems": true,
            "type": "array",
            "description": "Optional array of 0 to 8 unique custom DKIM selector names (default: []). Each selector must match ^[a-z0-9](?:[a-z0-9._-]{0,61}[a-z0-9])?$ and must not contain '..' (prevents DNS label/path injection). When omitted or empty, built-in mode defaults apply (quick: skipped; standard: 6 curated selectors; deep: 10 selectors). Exceeding 8 items, duplicates, or invalid characters fail immediately with VALIDATION_ERROR, 0 network calls, and $0.00 charged.",
            "items": {
              "type": "string",
              "pattern": "^[a-z0-9](?:[a-z0-9._-]{0,61}[a-z0-9])?$"
            },
            "default": []
          },
          "includeHttpHeaders": {
            "title": "Include OWASP HTTP Headers & security.txt",
            "type": "boolean",
            "description": "Strict boolean (true or false; default: true). When true, inspects HTTPS responses for 6 OWASP security headers (HSTS, CSP, X-Content-Type-Options, X-Frame-Options, Referrer-Policy, Permissions-Policy) and /.well-known/security.txt. If a target WAF returns HTTP 403/429/challenge or times out, gracefully degrades with http_probe_blocked: true without blocking DoH, TLS 1.3, or RDAP results. Non-boolean values fail immediately with VALIDATION_ERROR and $0.00 charged.",
            "default": true
          },
          "includeRdap": {
            "title": "Include RDAP Registration & Expiry",
            "type": "boolean",
            "description": "Strict boolean (true or false; default: true). When true, queries public RDAP via IANA DNS Bootstrap (cached in memory with static TLD fallback; zero API keys) for registrar, registration/expiration timestamps, days_until_expiry, transfer lock, and nameservers. Non-boolean values fail immediately with VALIDATION_ERROR and $0.00 charged.",
            "default": true
          },
          "timeoutSec": {
            "title": "Network Timeout (Seconds)",
            "minimum": 5,
            "maximum": 30,
            "type": "integer",
            "description": "Per-probe network timeout in seconds. Must be a strict integer (booleans, floats, and strings are rejected) within hard bounds: min 5, max 30 (default: 15). Values <5, >30, or non-integers fail immediately with VALIDATION_ERROR, 0 network calls, and $0.00 charged.",
            "default": 15
          }
        }
      },
      "runsResponseSchema": {
        "type": "object",
        "properties": {
          "data": {
            "type": "object",
            "properties": {
              "id": {
                "type": "string"
              },
              "actId": {
                "type": "string"
              },
              "userId": {
                "type": "string"
              },
              "startedAt": {
                "type": "string",
                "format": "date-time",
                "example": "2025-01-08T00:00:00.000Z"
              },
              "finishedAt": {
                "type": "string",
                "format": "date-time",
                "example": "2025-01-08T00:00:00.000Z"
              },
              "status": {
                "type": "string",
                "example": "READY"
              },
              "meta": {
                "type": "object",
                "properties": {
                  "origin": {
                    "type": "string",
                    "example": "API"
                  },
                  "userAgent": {
                    "type": "string"
                  }
                }
              },
              "stats": {
                "type": "object",
                "properties": {
                  "inputBodyLen": {
                    "type": "integer",
                    "example": 2000
                  },
                  "rebootCount": {
                    "type": "integer",
                    "example": 0
                  },
                  "restartCount": {
                    "type": "integer",
                    "example": 0
                  },
                  "resurrectCount": {
                    "type": "integer",
                    "example": 0
                  },
                  "computeUnits": {
                    "type": "integer",
                    "example": 0
                  }
                }
              },
              "options": {
                "type": "object",
                "properties": {
                  "build": {
                    "type": "string",
                    "example": "latest"
                  },
                  "timeoutSecs": {
                    "type": "integer",
                    "example": 300
                  },
                  "memoryMbytes": {
                    "type": "integer",
                    "example": 1024
                  },
                  "diskMbytes": {
                    "type": "integer",
                    "example": 2048
                  }
                }
              },
              "buildId": {
                "type": "string"
              },
              "defaultKeyValueStoreId": {
                "type": "string"
              },
              "defaultDatasetId": {
                "type": "string"
              },
              "defaultRequestQueueId": {
                "type": "string"
              },
              "buildNumber": {
                "type": "string",
                "example": "1.0.0"
              },
              "containerUrl": {
                "type": "string"
              },
              "usage": {
                "type": "object",
                "properties": {
                  "ACTOR_COMPUTE_UNITS": {
                    "type": "integer",
                    "example": 0
                  },
                  "DATASET_READS": {
                    "type": "integer",
                    "example": 0
                  },
                  "DATASET_WRITES": {
                    "type": "integer",
                    "example": 0
                  },
                  "KEY_VALUE_STORE_READS": {
                    "type": "integer",
                    "example": 0
                  },
                  "KEY_VALUE_STORE_WRITES": {
                    "type": "integer",
                    "example": 1
                  },
                  "KEY_VALUE_STORE_LISTS": {
                    "type": "integer",
                    "example": 0
                  },
                  "REQUEST_QUEUE_READS": {
                    "type": "integer",
                    "example": 0
                  },
                  "REQUEST_QUEUE_WRITES": {
                    "type": "integer",
                    "example": 0
                  },
                  "DATA_TRANSFER_INTERNAL_GBYTES": {
                    "type": "integer",
                    "example": 0
                  },
                  "DATA_TRANSFER_EXTERNAL_GBYTES": {
                    "type": "integer",
                    "example": 0
                  },
                  "PROXY_RESIDENTIAL_TRANSFER_GBYTES": {
                    "type": "integer",
                    "example": 0
                  },
                  "PROXY_SERPS": {
                    "type": "integer",
                    "example": 0
                  },
                  "PROXY_UNBLOCKER_UNITS": {
                    "type": "integer",
                    "example": 0
                  }
                }
              },
              "usageTotalUsd": {
                "type": "number",
                "example": 0.00005
              },
              "usageUsd": {
                "type": "object",
                "properties": {
                  "ACTOR_COMPUTE_UNITS": {
                    "type": "integer",
                    "example": 0
                  },
                  "DATASET_READS": {
                    "type": "integer",
                    "example": 0
                  },
                  "DATASET_WRITES": {
                    "type": "integer",
                    "example": 0
                  },
                  "KEY_VALUE_STORE_READS": {
                    "type": "integer",
                    "example": 0
                  },
                  "KEY_VALUE_STORE_WRITES": {
                    "type": "number",
                    "example": 0.00005
                  },
                  "KEY_VALUE_STORE_LISTS": {
                    "type": "integer",
                    "example": 0
                  },
                  "REQUEST_QUEUE_READS": {
                    "type": "integer",
                    "example": 0
                  },
                  "REQUEST_QUEUE_WRITES": {
                    "type": "integer",
                    "example": 0
                  },
                  "DATA_TRANSFER_INTERNAL_GBYTES": {
                    "type": "integer",
                    "example": 0
                  },
                  "DATA_TRANSFER_EXTERNAL_GBYTES": {
                    "type": "integer",
                    "example": 0
                  },
                  "PROXY_RESIDENTIAL_TRANSFER_GBYTES": {
                    "type": "integer",
                    "example": 0
                  },
                  "PROXY_SERPS": {
                    "type": "integer",
                    "example": 0
                  },
                  "PROXY_UNBLOCKER_UNITS": {
                    "type": "integer",
                    "example": 0
                  }
                }
              }
            }
          }
        }
      }
    }
  }
}