# Find Domains With No SPF Or No DMARC

**Use case:** 

Filters on the finding codes themselves - spf-missing, dmarc-missing, dmarc-policy-none and twenty-two more. Choosing a registration or DKIM finding switches the matching section on automatically, so the filter cannot silently return nothing.

## Input

```json
{
  "domains": [
    "apify.com",
    "github.com",
    "stripe.com",
    "shopify.com",
    "cloudflare.com",
    "notion.so",
    "figma.com",
    "vercel.com",
    "linear.app",
    "openai.com",
    "bosch.de",
    "zalando.de",
    "booking.com",
    "spotify.com",
    "adobe.com",
    "salesforce.com",
    "hubspot.com",
    "atlassian.com",
    "slack.com",
    "zoom.us"
  ],
  "maxItems": 0,
  "includeRegistration": false,
  "includeDkim": true,
  "dkimSelectorSet": "common",
  "dkimSelectors": [],
  "includeDnssec": true,
  "includeTlsCertificate": true,
  "includeReverseDns": false,
  "requestTimeoutSecs": 8,
  "onlyChanged": false,
  "emitUnchanged": false,
  "watchAddressRecords": false,
  "onlyWithFindings": false,
  "maxPostureScore": 0,
  "minSeverity": "any",
  "findingCodes": [
    "spf-missing",
    "dmarc-missing",
    "dmarc-policy-none"
  ],
  "onlySpoofable": false,
  "expiringWithinDays": 0,
  "onlyResolved": false,
  "compactOutput": false,
  "excludeEmptyFields": false
}
```

## Output

```json
{
  "domain": {
    "label": "domain",
    "format": "string"
  },
  "spoofable": {
    "label": "spoofable",
    "format": "boolean"
  },
  "posture_score": {
    "label": "posture_score",
    "format": "integer"
  },
  "spf_record": {
    "label": "spf_record",
    "format": "string"
  },
  "spf_dns_lookups": {
    "label": "spf_dns_lookups",
    "format": "integer"
  },
  "spf_lookup_limit": {
    "label": "spf_lookup_limit",
    "format": "integer"
  },
  "spf_lookup_limit_exceeded": {
    "label": "spf_lookup_limit_exceeded",
    "format": "boolean"
  },
  "spf_all_qualifier": {
    "label": "spf_all_qualifier",
    "format": "string"
  },
  "spf_includes": {
    "label": "spf_includes",
    "format": "array"
  },
  "spf_senders": {
    "label": "spf_senders",
    "format": "array"
  },
  "spf_errors": {
    "label": "spf_errors",
    "format": "array"
  },
  "dmarc_record": {
    "label": "dmarc_record",
    "format": "string"
  },
  "dmarc_policy": {
    "label": "dmarc_policy",
    "format": "string"
  },
  "dmarc_subdomain_policy": {
    "label": "dmarc_subdomain_policy",
    "format": "string"
  },
  "dmarc_percent": {
    "label": "dmarc_percent",
    "format": "integer"
  },
  "dmarc_rua": {
    "label": "dmarc_rua",
    "format": "array"
  },
  "dmarc_ruf": {
    "label": "dmarc_ruf",
    "format": "array"
  },
  "dmarc_alignment_dkim": {
    "label": "dmarc_alignment_dkim",
    "format": "string"
  },
  "dmarc_alignment_spf": {
    "label": "dmarc_alignment_spf",
    "format": "string"
  },
  "dkim_selectors_found": {
    "label": "dkim_selectors_found",
    "format": "array"
  },
  "dkim_selector_count": {
    "label": "dkim_selector_count",
    "format": "integer"
  },
  "dkim_wildcard": {
    "label": "dkim_wildcard",
    "format": "boolean"
  },
  "dkim_records": {
    "label": "dkim_records",
    "format": "array"
  },
  "mta_sts_record": {
    "label": "mta_sts_record",
    "format": "string"
  },
  "mta_sts_mode": {
    "label": "mta_sts_mode",
    "format": "string"
  },
  "mta_sts_policy_fetched": {
    "label": "mta_sts_policy_fetched",
    "format": "boolean"
  },
  "mta_sts_mx": {
    "label": "mta_sts_mx",
    "format": "array"
  },
  "tls_rpt_record": {
    "label": "tls_rpt_record",
    "format": "string"
  },
  "bimi_record": {
    "label": "bimi_record",
    "format": "string"
  },
  "mail_provider": {
    "label": "mail_provider",
    "format": "string"
  },
  "findings": {
    "label": "findings",
    "format": "array"
  }
}
```

## About this Actor

This example demonstrates how to use [WHOIS Lookup, DNS Records Scraper - DMARC, SPF, DKIM Checker](https://apify.com/snow_leo_data/whois-dns-lookup.md) with a specific input configuration. Visit the [Actor detail page](https://apify.com/snow_leo_data/whois-dns-lookup.md) to learn more, explore other use cases, and run it yourself.


## How to integrate an Actor?

This Task's input is already configured above. Use it as-is rather than inventing a new one.

Do not guess an integration path. Every one of them is in the agent quickstart at https://apify.com/agents.md: the Apify MCP server, Agent Skills with the Apify CLI, the JavaScript and Python clients, the REST API, and the account-free path for an agent with no human to sign in. It also carries the rule on stating cost before the first paid run.

For full API examples (JavaScript, Python, CLI, MCP, OpenAPI), see this Task's Actor page: https://apify.com/snow_leo_data/whois-dns-lookup.md

Each client library has reference documentation the quickstart does not restate: [JavaScript/TypeScript](https://docs.apify.com/api/client/js/docs.md) (`npm install apify-client`) and [Python](https://docs.apify.com/api/client/python/docs.md) (`pip install apify-client`).
