{
  "openapi": "3.0.1",
  "info": {
    "title": "Bulk Domain DMARC, SPF, MX & Email Security Auditor",
    "description": "Bulk email security and deliverability scanner for MSPs, vCISOs, and cold-email teams. Verify live MX providers, SPF syntax, and DMARC enforcement policies across thousands of domains.",
    "version": "4.0",
    "x-build-id": "LxKCMq0rIReDnrsdm"
  },
  "servers": [
    {
      "url": "https://api.apify.com/v2"
    }
  ],
  "paths": {
    "/acts/sayod111~dmarc-spf-mx-deliverability-auditor/run-sync-get-dataset-items": {
      "post": {
        "operationId": "run-sync-get-dataset-items-sayod111-dmarc-spf-mx-deliverability-auditor",
        "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/sayod111~dmarc-spf-mx-deliverability-auditor/runs": {
      "post": {
        "operationId": "runs-sync-sayod111-dmarc-spf-mx-deliverability-auditor",
        "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/sayod111~dmarc-spf-mx-deliverability-auditor/run-sync": {
      "post": {
        "operationId": "run-sync-sayod111-dmarc-spf-mx-deliverability-auditor",
        "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",
        "properties": {
          "domains": {
            "title": "Domains or URLs",
            "type": "array",
            "description": "Hostnames or full public company URLs. One row per company.",
            "items": {
              "type": "string"
            }
          },
          "bulkTextInput": {
            "title": "Paste company list",
            "type": "string",
            "description": "Optional pasted text, CSV or URLs. Explicitly labeled social-network URLs are skipped.",
            "default": ""
          },
          "presetPack": {
            "title": "Example target pack",
            "enum": [
              "custom",
              "saas_devtools_demo",
              "ecommerce_brands_demo",
              "ai_startups_demo"
            ],
            "type": "string",
            "description": "Non-custom packs add curated domains; custom uses supplied domains.",
            "default": "custom"
          },
          "icpProfile": {
            "title": "Target agency service",
            "enum": [
              "general",
              "shopify_retention",
              "paid_media_agency",
              "b2b_saas",
              "recruitment",
              "email_security",
              "ai_automation",
              "custom"
            ],
            "type": "string",
            "description": "Public evidence-based company scoring profile, not purchase intent prediction.",
            "default": "general"
          },
          "detectTechStack": {
            "title": "Detect technology stack",
            "type": "boolean",
            "description": "Identify evidence of SaaS, ads, analytics, CMS, cloud and ATS tools.",
            "default": true
          },
          "verifyDns": {
            "title": "Query MX, SPF and DMARC",
            "type": "boolean",
            "description": "DNS verifies mail infrastructure, never individual mailbox existence.",
            "default": true
          },
          "enrichEcommerceIntel": {
            "title": "Sample Shopify public catalog",
            "type": "boolean",
            "description": "Probe public products.json for up to ten product records.",
            "default": true
          },
          "generateExecutiveReport": {
            "title": "Executive brief",
            "type": "boolean",
            "description": "Create a Markdown report for managers and AI workflows.",
            "default": true
          },
          "reviewedDomains": {
            "title": "Accounts already reviewed",
            "maxItems": 1000,
            "type": "array",
            "description": "Optional list of domains that your team has already reviewed. Used to adjust action priority.",
            "items": {
              "type": "string"
            },
            "default": []
          },
          "onlyPushQualified": {
            "title": "Only bill and export qualified companies",
            "type": "boolean",
            "description": "When true, below-threshold or excluded accounts do not go to Dataset/CSV/brief and are not charged.",
            "default": false
          },
          "minIcpFitScore": {
            "title": "Minimum ICP fit score",
            "minimum": 0,
            "maximum": 100,
            "type": "integer",
            "description": "0 to 100 evidence-based score; applies to onlyPushQualified and qualified CSV.",
            "default": 0
          },
          "minDataQualityScore": {
            "title": "Minimum data quality score",
            "minimum": 0,
            "maximum": 100,
            "type": "integer",
            "description": "0 to 100 score for verifiable public evidence coverage; not a deliverability or buying-intent score.",
            "default": 0
          },
          "includeTechnologies": {
            "title": "Match technologies",
            "type": "array",
            "description": "Optional exact names from the detector (e.g. Shopify, HubSpot); adds a fit score bonus.",
            "items": {
              "type": "string"
            },
            "default": []
          },
          "excludeTechnologies": {
            "title": "Exclude observed technologies",
            "type": "array",
            "description": "Exclude companies when listed tools were positively detected.",
            "items": {
              "type": "string"
            },
            "default": []
          },
          "requireAllIncludedTechnologies": {
            "title": "Require every listed technology",
            "type": "boolean",
            "description": "When enabled, nonmatching or unobserved technology filters prevent qualification.",
            "default": false
          },
          "targetCountries": {
            "title": "Target countries",
            "type": "array",
            "description": "Optional country code or label (e.g. DE, Germany). Country inferred only when public website data allows it.",
            "items": {
              "type": "string"
            },
            "default": []
          },
          "targetLanguages": {
            "title": "Site languages",
            "type": "array",
            "description": "Optional HTML language values (e.g. en, de).",
            "items": {
              "type": "string"
            },
            "default": []
          },
          "strictTargetGeo": {
            "title": "Exclude unknown country/language",
            "type": "boolean",
            "description": "If true and a location/language filter is provided, exclude records without a corresponding public hint.",
            "default": false
          },
          "incrementalMode": {
            "title": "Track changes between runs",
            "type": "boolean",
            "description": "Use persistent named Apify Key-Value Store to compare previous snapshots.",
            "default": false
          },
          "monitorNamespace": {
            "title": "Monitoring campaign identifier",
            "minLength": 1,
            "maxLength": 80,
            "type": "string",
            "description": "Reuse this non-sensitive campaign name for comparisons. Use a separate name for each independent campaign.",
            "default": "default"
          },
          "onlyPushChanged": {
            "title": "Dataset: changed rows only",
            "type": "boolean",
            "description": "When incrementalMode is enabled, push and charge NEW_DOMAIN or independently confirmed public changes only. Missing pages and unconfirmed disappearance are not billable changed-only results.",
            "default": false
          },
          "monitorHistoryLimit": {
            "title": "Number of observations to retain",
            "minimum": 2,
            "maximum": 30,
            "type": "integer",
            "description": "Keep 2 to 30 compact historical counts per domain, without copying historical contacts into the timeline.",
            "default": 12
          },
          "migrateLegacySnapshots": {
            "title": "Read old v2 snapshot stores once",
            "type": "boolean",
            "description": "Optional migration reads old per-domain stores when v3 state is missing. Off by default to avoid unnecessary storage requests.",
            "default": false
          },
          "maxDomains": {
            "title": "Maximum domains",
            "minimum": 1,
            "maximum": 1000,
            "type": "integer",
            "description": "Hard cap on distinct targets to process.",
            "default": 100
          },
          "maxPagesPerDomain": {
            "title": "Maximum HTML pages per domain",
            "minimum": 1,
            "maximum": 8,
            "type": "integer",
            "description": "Includes homepage. Up to eight pages.",
            "default": 5
          },
          "concurrency": {
            "title": "Parallel domains",
            "minimum": 1,
            "maximum": 20,
            "type": "integer",
            "description": "Maximum simultaneously active domain crawls.",
            "default": 5
          },
          "requestTimeoutSecs": {
            "title": "Request timeout (seconds)",
            "minimum": 3,
            "maximum": 30,
            "type": "integer",
            "description": "Per request timeout; DNS uses a separate four-second resolver timeout.",
            "default": 10
          },
          "pageConcurrency": {
            "title": "Parallel page requests per domain",
            "minimum": 1,
            "maximum": 5,
            "type": "integer",
            "description": "Limits subpage concurrency for each website; no browser or proxy required.",
            "default": 2
          },
          "minPageDelaySecs": {
            "title": "Minimum seconds between subpage requests",
            "minimum": 0,
            "maximum": 10,
            "type": "number",
            "description": "Optional polite pacing per company. A larger robots.txt crawl-delay takes priority.",
            "default": 0
          },
          "maxEventChargesUsd": {
            "title": "Per-run event charge ceiling (USD)",
            "minimum": 0,
            "maximum": 10000,
            "type": "number",
            "description": "Optional additional budget ceiling for the five named PPE events. 0 disables this local cap. Does not include platform fees or synthetic events.",
            "default": 0
          },
          "respectRobotsTxt": {
            "title": "Respect robots.txt",
            "type": "boolean",
            "description": "Public website requests follow robots rules. This field accepts legacy saved inputs.",
            "default": true
          },
          "verifyTls": {
            "title": "Verify TLS certificates",
            "type": "boolean",
            "description": "TLS verification is always enabled. This field accepts legacy saved inputs.",
            "default": true
          }
        }
      },
      "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
                  }
                }
              }
            }
          }
        }
      }
    }
  }
}