Email Security DNS Check API

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.

$0.50 per 1,000 records

You pay only for the records you get. Zero records cost zero. 10,000 free records of this API to start (5,000 at the base price of $1 per 1,000), no card.

Try it
Ready-made, maintained by usRecords, 12 fieldsv1.0

Data from dns.google/resolve

Get this data

Try it here with a few records, download the sample, fill a Google Sheet, or call it from your own code.

Try it

Domains
Company domains to check, such as shopify.com. One per line, or separated by commas.
Example: shopify.com

Run it on this page, or call it from your code with the endpoint in the developer section. A free key covers 10,000 records of this API, no card. Create a free key

For developers: the API and MCPThe endpoint, code in curl, JavaScript and Python, every input, and files for your tools
Endpoint
POSThttps://pullrow.dev/v1/apis/email-security-dns-check/run
  • Small runs answer in the same request; longer ones answer 202 with a run to poll.
  • fields returns only the fields you name. The examples send the ones picked on this page.
  • Idempotency-Key is optional. A retry with it is never charged twice.
  • You pay for records returned. Zero records cost zero.

Every run option, explained

Calling it needs a key
10,000 free records of this API to start. No card.
curl
curl -X POST "https://pullrow.dev/v1/apis/email-security-dns-check/run" \
  -H "Authorization: Bearer $PULLROW_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{"input":{"domains":["shopify.com"]},"max_items":50}'

Inputs

Send them as input in the request body. Leave one out to use its default.

domainslistrequired
Company domains to check, such as shopify.com.
example: shopify.com

What's in each record

12 fields.

Basics

  • Domain

    The domain checked, lower case.

    Example shopify.com

  • Mx hosts

    Mail server host names from the MX records, best priority first.

    Example aspmx.l.google.com, alt2.aspmx.l.google.com

  • Spf record

    The SPF TXT record, as published.

    Example v=spf1 include:_spf.google.com include:mail.zendesk.com include:sendgrid.net ~all

  • Spf all mechanism

    How SPF ends: -all (reject), ~all (soft fail), ?all (neutral) or +all (allow all).

    Example ~all

  • Dmarc record

    The DMARC TXT record at _dmarc.<domain>.

    Example v=DMARC1; p=reject; pct=100; fo=1; rua=mailto:d•••@shopify.com;ruf=mailto:d•••@shopify.com

  • Dmarc policy

    DMARC policy p: none, quarantine or reject.

    Example reject

  • Dmarc (%)

    Share of mail the DMARC policy applies to; 100 when the record leaves pct out.

    Example 100%

  • Dmarc rua

    Address for DMARC aggregate reports (a business mailbox or a report service).

    Example mailto:d•••@shopify.com

  • Dkim selectors found

    Common DKIM selectors that have a published key.

    Example google, mail

  • Mta sts

    The MTA-STS TXT record at _mta-sts.<domain>.

    Example v=STSv1; id=20210803T010101;

  • Bimi

    The BIMI TXT record at default._bimi.<domain>.

    Example v=BIMI1; l=https://vmc.digicert.com/8833b699-1227-41ee-b185-cc2d9a08e213.svg;…

Contact details

  • Email provider

    Mail provider inferred from the MX hosts, such as Google Workspace or Microsoft 365.

    Example Google Workspace

Technical detailsField names and types for developers

Field names and types

The names your code reads in each record. "Filled" counts how many of the 3 sample records carry the field.

Field nameTypeShown on this page asFilled
domaintextDomain3 of 3
mx_hostslistMx hosts3 of 3
email_providertextEmail provider3 of 3
spf_recordtextSpf record3 of 3
spf_all_mechanismtextSpf all mechanism3 of 3
dmarc_recordtextDmarc record3 of 3
dmarc_policytextDmarc policy3 of 3
dmarc_pctnumberDmarc (%)3 of 3
dmarc_ruatextDmarc rua3 of 3
dkim_selectors_foundlistDkim selectors found2 of 3
mta_ststextMta sts1 of 3
bimitextBimi2 of 3

How it reads the site

Runs on a reader we built and maintain by hand for this site.

Sample records

Sample records
RecordDomainMx hostsSpf recordSpf all mechanismDmarc recordDmarc policyDmarc (%)Dmarc ruaDkim selectors foundMta stsBimiEmail provider
1shopify.comaspmx.l.google.com, alt2.aspmx.l.google.com, alt1.aspmx.l.google.com, alt3.aspmx.l.google.comv=spf1 include:_spf.google.com include:mail.zendesk.com include:sendgrid.net ~all~allv=DMARC1; p=reject; pct=100; fo=1; rua=mailto:d•••@shopify.com;ruf=mailto:d•••@shopify.comreject100%mailto:d•••@shopify.comgoogle, mail—v=BIMI1; l=https://vmc.digicert.com/8833b699-1227-41ee-b185-cc2d9a08e213.svg; a=https://vmc.digicert.com/8833b699-1227-41ee-b185-cc2d9a08e213.pem;Google Workspace
2github.comgithub-com.mail.protection.outlook.comv=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…~allv=DMARC1; p=quarantine; sp=reject; pct=100; rua=mailto:d•••@github.com; ruf=mailto:d•••@github.com; fo=1quarantine100%mailto:d•••@github.comgoogle, selector1, k1, s1——Microsoft 365
3google.comsmtp.google.comv=spf1 include:_spf.google.com ~all~allv=DMARC1; p=reject; rua=mailto:m•••@google.comreject100%mailto:m•••@google.com—v=STSv1; id=20210803T010101;v=BIMI1; l=; a=; lps=googlewallet-noreply-bimiGoogle Workspace

Sample records from the example output this API publishes. Email addresses and phone numbers in them are masked. Hover over a column name to see the field name your code reads.

Reliability

Counted from real runs. Our own health checks are left out. A run succeeded when it finished and the site neither blocked it nor broke it.

Incidents and repairs

How it is kept working What a repair can't do

A ready-made API, maintained by us. It is not part of the daily check or the automatic rebuild yet.

  • You pay only for records returned. A run that returns none costs nothing.
Known limits
  • Reads Google Public DNS (dns.google JSON API), which is free without a key but fair-use limited; each domain needs about 17 lookups, so a run is paced at several domains per second at most.
  • DKIM keys live under selector names only the sender knows; the check tries about 12 common selectors (google, selector1, selector2, default, k1, s1, s2, mandrill, dkim and similar), so an empty dkim_selectors_found does not prove DKIM is missing.
  • email_provider is inferred from the MX host names (Google Workspace, Microsoft 365, Proofpoint and others) and is null when the MX is not recognised.
  • Shows only what DNS publishes now: no mailbox tests, no blocklist checks, and no reading of the DMARC reports. One run takes up to 200 domains.

Version history

A run uses the live version unless the request names another one with version.