{
  "openapi": "3.0.1",
  "info": {
    "title": "DMARC Checker Bulk - SPF, DKIM & Email Security",
    "description": "Bulk DMARC, SPF and DKIM checker for domain lists. Get mail provider (M365, Google Workspace), DMARC policy, SPF lookup count, MTA-STS, BIMI, TLS-RPT, cert expiry, a 0-100 score and a fix list per domain. Passive DNS checks only. Find p=none prospects, check Google/Yahoo bulk-sender compliance.",
    "version": "0.1",
    "x-build-id": "SmOx9oNdCL8Eivsss"
  },
  "servers": [
    {
      "url": "https://api.apify.com/v2"
    }
  ],
  "paths": {
    "/acts/lentic_labs~email-dmarc-security-prospector/run-sync-get-dataset-items": {
      "post": {
        "operationId": "run-sync-get-dataset-items-lentic_labs-email-dmarc-security-prospector",
        "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/lentic_labs~email-dmarc-security-prospector/runs": {
      "post": {
        "operationId": "runs-sync-lentic_labs-email-dmarc-security-prospector",
        "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/lentic_labs~email-dmarc-security-prospector/run-sync": {
      "post": {
        "operationId": "run-sync-lentic_labs-email-dmarc-security-prospector",
        "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": "Domains",
            "type": "array",
            "description": "Domains to audit. URLs, 'www.' hosts and email addresses are accepted and normalized (scheme, path and local part are stripped, duplicates removed).",
            "default": [
              "google.com",
              "microsoft.com",
              "apple.com",
              "github.com",
              "cloudflare.com",
              "mozilla.org",
              "mit.edu",
              "python.org",
              "zoho.com",
              "mimecast.com"
            ],
            "items": {
              "type": "string"
            }
          },
          "domainsText": {
            "title": "Paste domains / CSV (optional)",
            "type": "string",
            "description": "Paste a list or CSV column of domains, websites or email addresses. Anything that looks like a domain is extracted; other text (company names) is ignored."
          },
          "maxDomains": {
            "title": "Max domains",
            "minimum": 0,
            "type": "integer",
            "description": "Stop after this many unique domains (0 = no limit). The run also stops cleanly when your maximum total charge is reached.",
            "default": 0
          },
          "summary": {
            "title": "Generate summary report",
            "type": "boolean",
            "description": "Also write a Markdown REPORT (provider mix, DMARC policy distribution, top findings, lowest-scoring prospects) to the key-value store. Charged once per run as the 'report-summary' event.",
            "default": false
          },
          "runbookUrl": {
            "title": "Runbook / landing page link (optional)",
            "type": "string",
            "description": "Optional URL copied into every row (column runbookUrl), e.g. your DMARC rollout guide or a booking page for outreach.",
            "default": ""
          },
          "checkDkim": {
            "title": "Probe common DKIM selectors",
            "type": "boolean",
            "description": "Look up about 26 common DKIM selectors (selector1, selector2, google, k1, s1, default, mxvault, ...).",
            "default": true
          },
          "extraDkimSelectors": {
            "title": "Extra DKIM selectors",
            "type": "array",
            "description": "Additional selectors to probe, e.g. your ESP's selector.",
            "default": [],
            "items": {
              "type": "string"
            }
          },
          "fetchMtaStsPolicy": {
            "title": "Fetch MTA-STS policy file",
            "type": "boolean",
            "description": "When an _mta-sts TXT record exists, fetch https://mta-sts.<domain>/.well-known/mta-sts.txt to read the mode.",
            "default": true
          },
          "checkHttps": {
            "title": "Check website HTTPS certificate and HSTS",
            "type": "boolean",
            "description": "One HTTPS GET to the apex (falls back to www. only if the apex is unreachable) to read certificate expiry and the HSTS header. The body is not downloaded.",
            "default": true
          },
          "stripWww": {
            "title": "Strip leading www.",
            "type": "boolean",
            "description": "Audit example.com instead of www.example.com.",
            "default": true
          },
          "dnsServers": {
            "title": "DNS resolvers",
            "type": "array",
            "description": "Public recursive resolvers to query (IP addresses; for DoH you may also give https:// endpoints).",
            "default": [
              "1.1.1.1",
              "8.8.8.8"
            ],
            "items": {
              "type": "string"
            }
          },
          "dnsTransport": {
            "title": "DNS transport",
            "enum": [
              "auto",
              "udp",
              "doh"
            ],
            "type": "string",
            "description": "Auto uses classic DNS and falls back to DNS-over-HTTPS (same providers) if classic DNS is blocked.",
            "default": "auto"
          },
          "dnsTimeoutMs": {
            "title": "DNS timeout (ms)",
            "minimum": 500,
            "maximum": 30000,
            "type": "integer",
            "description": "Per-query timeout.",
            "default": 4000
          },
          "httpTimeoutMs": {
            "title": "HTTPS timeout (ms)",
            "minimum": 1000,
            "maximum": 60000,
            "type": "integer",
            "description": "Timeout for the site GET and MTA-STS policy fetch.",
            "default": 8000
          },
          "maxConcurrency": {
            "title": "Max concurrency",
            "minimum": 1,
            "maximum": 20,
            "type": "integer",
            "description": "Domains audited in parallel (max 20).",
            "default": 10
          }
        }
      },
      "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
                  }
                }
              }
            }
          }
        }
      }
    }
  }
}