{"api":{"id":"api_dc1804c3cb217a379b39d150","slug":"email-security-dns-check","name":"Email Security DNS Check API","description":"One email-security verdict row per company domain: mail provider, SPF record and its all rule, DMARC policy, percentage and report address, DKIM selectors found, MTA-STS and BIMI. Built from public DNS answers.","kind":"ready_made","visibility":"public","domain":"dns.google","source_url":"https://dns.google/resolve","category":"developer","record_type":"generic","active_version":"1.0","units_per_1k":500,"health":"unknown","auto_repair":false,"last_checked_at":null,"last_run_at":null,"fields_count":12,"created_at":"2026-12-06T03:57:27.639Z","updated_at":"2026-12-06T03:57:27.639Z","runnable":true},"version":"1.0","contract_hash":"f8ee6c0af76de97dfaa42d48fca78e4322b84a0c4a715a19adf5fb0dece889e9","fields":[{"name":"domain","type":"string","description":"The domain checked, lower case.","required":true,"coverage":1,"example":"shopify.com"},{"name":"mx_hosts","type":"array","description":"Mail server host names from the MX records, best priority first.","required":false,"coverage":1,"example":["aspmx.l.google.com","alt2.aspmx.l.google.com"]},{"name":"email_provider","type":"string","description":"Mail provider inferred from the MX hosts, such as Google Workspace or Microsoft 365.","required":false,"coverage":0.75,"example":"Google Workspace"},{"name":"spf_record","type":"string","description":"The SPF TXT record, as published.","required":false,"coverage":1,"example":"v=spf1 include:_spf.google.com include:mail.zendesk.com include:sendgrid.net ~all"},{"name":"spf_all_mechanism","type":"string","description":"How SPF ends: -all (reject), ~all (soft fail), ?all (neutral) or +all (allow all).","required":false,"coverage":1,"example":"~all"},{"name":"dmarc_record","type":"string","description":"The DMARC TXT record at _dmarc.<domain>.","required":false,"coverage":1,"example":"v=DMARC1; p=reject; pct=100; fo=1; rua=mailto:d•••@shopify.com;ruf=mailto:d•••@shopify.com"},{"name":"dmarc_policy","type":"string","description":"DMARC policy p: none, quarantine or reject.","required":false,"coverage":1,"example":"reject"},{"name":"dmarc_pct","type":"integer","description":"Share of mail the DMARC policy applies to; 100 when the record leaves pct out.","required":false,"coverage":1,"example":100},{"name":"dmarc_rua","type":"string","description":"Address for DMARC aggregate reports (a business mailbox or a report service).","required":false,"coverage":1,"example":"mailto:d•••@shopify.com"},{"name":"dkim_selectors_found","type":"array","description":"Common DKIM selectors that have a published key.","required":false,"coverage":0.75,"example":["google","mail"]},{"name":"mta_sts","type":"string","description":"The MTA-STS TXT record at _mta-sts.<domain>.","required":false,"coverage":0.25,"example":"v=STSv1; id=20210803T010101;"},{"name":"bimi","type":"string","description":"The BIMI TXT record at default._bimi.<domain>.","required":false,"coverage":0.75,"example":"v=BIMI1; l=https://vmc.digicert.com/8833b699-1227-41ee-b185-cc2d9a08e213.svg;…"}],"inputs":[{"name":"domains","type":"array","description":"Company domains to check, such as shopify.com.","example":["shopify.com"],"required":true}],"schema":{"$schema":"https://json-schema.org/draft/2020-12/schema","additionalProperties":true,"properties":{"bimi":{"description":"The BIMI TXT record at default._bimi.<domain>.","type":"string"},"dkim_selectors_found":{"description":"Common DKIM selectors that have a published key.","type":"array"},"dmarc_pct":{"description":"Share of mail the DMARC policy applies to; 100 when the record leaves pct out.","type":"integer"},"dmarc_policy":{"description":"DMARC policy p: none, quarantine or reject.","type":"string"},"dmarc_record":{"description":"The DMARC TXT record at _dmarc.<domain>.","type":"string"},"dmarc_rua":{"description":"Address for DMARC aggregate reports (a business mailbox or a report service).","type":"string"},"domain":{"description":"The domain checked, lower case.","type":"string"},"email_provider":{"description":"Mail provider inferred from the MX hosts, such as Google Workspace or Microsoft 365.","type":"string"},"mta_sts":{"description":"The MTA-STS TXT record at _mta-sts.<domain>.","type":"string"},"mx_hosts":{"description":"Mail server host names from the MX records, best priority first.","type":"array"},"spf_all_mechanism":{"description":"How SPF ends: -all (reject), ~all (soft fail), ?all (neutral) or +all (allow all).","type":"string"},"spf_record":{"description":"The SPF TXT record, as published.","type":"string"}},"required":["domain"],"title":"Email Security DNS Check API","type":"object"},"samples":[{"domain":"shopify.com","mx_hosts":["aspmx.l.google.com","alt2.aspmx.l.google.com","alt1.aspmx.l.google.com","alt3.aspmx.l.google.com"],"email_provider":"Google Workspace","spf_record":"v=spf1 include:_spf.google.com include:mail.zendesk.com include:sendgrid.net ~all","spf_all_mechanism":"~all","dmarc_record":"v=DMARC1; p=reject; pct=100; fo=1; rua=mailto:d•••@shopify.com;ruf=mailto:d•••@shopify.com","dmarc_policy":"reject","dmarc_pct":100,"dmarc_rua":"mailto:d•••@shopify.com","dkim_selectors_found":["google","mail"],"mta_sts":null,"bimi":"v=BIMI1; l=https://vmc.digicert.com/8833b699-1227-41ee-b185-cc2d9a08e213.svg; a=https://vmc.digicert.com/8833b699-1227-41ee-b185-cc2d9a08e213.pem;"},{"domain":"github.com","mx_hosts":["github-com.mail.protection.outlook.com"],"email_provider":"Microsoft 365","spf_record":"v=spf1 ip4:192.30.252.0/22 ip4:172.170.10.240/28 ip4:40.78.162.192/28 ip4:172.170.3.48/28 include:spf.protection.outlook.com include:_netblocks.google.com include:_netblocks2.google.com include:mail.zendesk.com include:_spf.salesforce.com include:servers.mcsv.net…","spf_all_mechanism":"~all","dmarc_record":"v=DMARC1; p=quarantine; sp=reject; pct=100; rua=mailto:d•••@github.com; ruf=mailto:d•••@github.com; fo=1","dmarc_policy":"quarantine","dmarc_pct":100,"dmarc_rua":"mailto:d•••@github.com","dkim_selectors_found":["google","selector1","k1","s1"],"mta_sts":null,"bimi":null},{"domain":"google.com","mx_hosts":["smtp.google.com"],"email_provider":"Google Workspace","spf_record":"v=spf1 include:_spf.google.com ~all","spf_all_mechanism":"~all","dmarc_record":"v=DMARC1; p=reject; rua=mailto:m•••@google.com","dmarc_policy":"reject","dmarc_pct":100,"dmarc_rua":"mailto:m•••@google.com","dkim_selectors_found":[],"mta_sts":"v=STSv1; id=20210803T010101;","bimi":"v=BIMI1; l=; a=; lps=googlewallet-noreply-bimi"}],"validation":{"checked_at":"2026-12-06T03:57:27.599Z","field_coverage":{"bimi":0.67,"dkim_selectors_found":0.67,"dmarc_pct":1,"dmarc_policy":1,"dmarc_record":1,"dmarc_rua":1,"domain":1,"email_provider":1,"mta_sts":0.33,"mx_hosts":1,"spf_all_mechanism":1,"spf_record":1},"fresh_read":false,"identity_unique":true,"issues":["Imported from a hand-built source. Field names and types come from its published schema; no live read was made for this check."],"level":"preview","pages_checked":0,"passed":true,"records_checked":3},"changelog":[{"version":"1.0","change_kind":"initial","note":"Imported from the ready-made source catalog.","created_at":"2026-12-06T03:57:27.639Z","activated_at":"2026-12-06T03:57:27.639Z","active":true,"contract_hash":"f8ee6c0af76de97dfaa42d48fca78e4322b84a0c4a715a19adf5fb0dece889e9","fields_count":12}]}