{
  "openapi": "3.0.1",
  "info": {
    "title": "SPF, DKIM & DMARC Checker – Bulk Email Deliverability Audit",
    "description": "Bulk SPF, DKIM and DMARC checker for thousands of domains: MX, SPF 10-lookup limit, DMARC policy & rua, 65 DKIM selectors, BIMI, MTA-STS, TLS-RPT, Gmail/Yahoo bulk-sender readiness, 0-100 score, A-F grade and fix list. $1 per 1,000 domains.",
    "version": "0.1",
    "x-build-id": "yDUvPOUStQv9ScDum"
  },
  "servers": [
    {
      "url": "https://api.apify.com/v2"
    }
  ],
  "paths": {
    "/acts/gazidev~email-auth-checker/run-sync-get-dataset-items": {
      "post": {
        "operationId": "run-sync-get-dataset-items-gazidev-email-auth-checker",
        "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/gazidev~email-auth-checker/runs": {
      "post": {
        "operationId": "runs-sync-gazidev-email-auth-checker",
        "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/gazidev~email-auth-checker/run-sync": {
      "post": {
        "operationId": "run-sync-gazidev-email-auth-checker",
        "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",
            "type": "array",
            "description": "Domains to audit, e.g. `example.com`. URLs (`https://www.example.com/page`) and email addresses (`jane@example.com`) are accepted and reduced to the domain. Duplicates are removed automatically.",
            "items": {
              "type": "string"
            }
          },
          "bulkText": {
            "title": "Bulk list (paste text or CSV)",
            "type": "string",
            "description": "Paste a long list: one domain/email/URL per line, comma or semicolon separated, or a whole CSV export (the first cell that looks like a domain, URL or email in each row is used)."
          },
          "sourceFileUrl": {
            "title": "Bulk list file URL (TXT/CSV)",
            "type": "string",
            "description": "Public URL of a .txt or .csv file with domains or emails (e.g. a Google Sheets 'Publish to web' CSV link)."
          },
          "dkimSelectors": {
            "title": "Your DKIM selectors",
            "type": "array",
            "description": "Extra DKIM selectors to check, e.g. `s1`, `mailo`, `scph0922` (the part before `._domainkey`). Find yours in the `DKIM-Signature: s=` header of a sent email. They are checked in addition to ~65 common selectors (Google, Microsoft 365, Mailchimp, SendGrid, Mailgun, Amazon SES, HubSpot, Klaviyo, Brevo, Zoho, Proton...).",
            "items": {
              "type": "string"
            }
          },
          "onlyCustomSelectors": {
            "title": "Check only my selectors",
            "type": "boolean",
            "description": "Skip the common-selector list and check only the selectors above (faster for large lists where you know the selector).",
            "default": false
          },
          "checkDkim": {
            "title": "Check DKIM",
            "type": "boolean",
            "description": "DKIM keys cannot be listed via DNS, so 'not found' means 'not under the checked selectors'.",
            "default": true
          },
          "lookupTarget": {
            "title": "What to check",
            "enum": [
              "rootDomain",
              "asEntered"
            ],
            "type": "string",
            "description": "'Root domain' (default) checks the registrable domain (www.example.com → example.com), which is what email uses. 'As entered' checks the exact host name, e.g. a sending subdomain like `mail.example.com`.",
            "default": "rootDomain"
          },
          "fetchMtaStsPolicy": {
            "title": "Fetch and validate MTA-STS policy file",
            "type": "boolean",
            "description": "When `_mta-sts` TXT exists, download https://mta-sts.<domain>/.well-known/mta-sts.txt and check mode, max_age and that all MX hosts are covered.",
            "default": true
          },
          "checkReportAuthorization": {
            "title": "Check DMARC external report authorization",
            "type": "boolean",
            "description": "For rua addresses on another domain (e.g. a DMARC report vendor), verify the `<domain>._report._dmarc.<vendor>` record (RFC 7489 §7.1).",
            "default": true
          },
          "resolver": {
            "title": "DNS resolver",
            "enum": [
              "cloudflare",
              "google",
              "quad9",
              "system",
              "custom"
            ],
            "type": "string",
            "description": "Public resolver used for all queries.",
            "default": "cloudflare"
          },
          "customResolvers": {
            "title": "Custom resolver IPs",
            "type": "array",
            "description": "Used only when DNS resolver = Custom, e.g. `208.67.222.222`.",
            "items": {
              "type": "string"
            }
          },
          "maxDomains": {
            "title": "Max domains",
            "minimum": 0,
            "type": "integer",
            "description": "Stop after this many unique domains (0 = no limit).",
            "default": 0
          },
          "maxConcurrency": {
            "title": "Parallel domains",
            "minimum": 1,
            "maximum": 200,
            "type": "integer",
            "description": "How many domains are checked at the same time.",
            "default": 30
          },
          "timeoutSecs": {
            "title": "DNS / HTTP timeout (seconds)",
            "minimum": 2,
            "maximum": 30,
            "type": "integer",
            "description": "Maximum time per DNS query (one retry on timeout) and per MTA-STS policy download.",
            "default": 8
          }
        }
      },
      "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
                  }
                }
              }
            }
          }
        }
      }
    }
  }
}