DNS Records & Email Security API
DNS records for a list of domains (A, AAAA, MX, TXT, NS, CNAME, CAA, SOA) with TTL, the SPF and DMARC policies parsed into columns, the mail provider behind each MX host, site-verification tags and whether DNSSEC validated.
$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.
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
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
- Small runs answer in the same request; longer ones answer
202with a run to poll. fieldsreturns only the fields you name. The examples send the ones picked on this page.Idempotency-Keyis optional. A retry with it is never charged twice.- You pay for records returned. Zero records cost zero.
curl -X POST "https://pullrow.dev/v1/apis/dns-records/run" \
-H "Authorization: Bearer $PULLROW_API_KEY" \
-H "Content-Type: application/json" \
-d '{"input":{"domains":["stripe.com"]},"max_items":50}'Inputs
Send them as input in the request body. Leave one out to use its default.
What's in each record
10 fields.
Basics
- Domain
The domain you asked for.
Example github.com
- Record type
Record type: A, AAAA, MX, TXT, NS, CNAME, CAA or SOA.
Example MX
- Name
The name the record sits on (the domain, or _dmarc.domain for DMARC).
Example github.com
- Value
The record's content. MX records start with their priority; long TXT strings are joined.
Example 0 github-com.mail.protection.outlook.com
- Ttl
Seconds the answer may still be cached.
Example 164
- Spf
How an SPF policy ends: -all, ~all, ?all, +all or redirect=host. Empty on other records.
Example ~all
- Dmarc policy
The DMARC policy (none, quarantine or reject) on a DMARC record.
Example quarantine
- Mx provider
Mail provider recognised from an MX host, such as Google Workspace or Microsoft 365.
Example Microsoft 365
- Verification tokens
Kinds of site-verification record found in a TXT value, such as google-site-verification.
Example facebook-domain-verification
- Dnssec validated
Yes when the answer was validated with DNSSEC.
Example No
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 name | Type | Shown on this page as | Filled |
|---|---|---|---|
domain | text | Domain | 3 of 3 |
record_type | text | Record type | 3 of 3 |
name | text | Name | 3 of 3 |
value | text | Value | 3 of 3 |
ttl | number | Ttl | 3 of 3 |
spf | text | Spf | 1 of 3 |
dmarc_policy | text | Dmarc policy | 1 of 3 |
mx_provider | text | Mx provider | 1 of 3 |
verification_tokens | list | Verification tokens | 0 of 3 |
dnssec_validated | yes or no | Dnssec validated | 3 of 3 |
How it reads the site
Runs on a reader we built and maintain by hand for this site.
Save as pipeline
A pipeline remembers this API, your inputs and the fields you picked. It can run on a schedule and email you the results.
Sample records
| Record | Name | Domain | Record type | Value | Ttl | Spf | Dmarc policy | Mx provider | Verification tokens | Dnssec validated |
|---|---|---|---|---|---|---|---|---|---|---|
| 1 | github.com | github.com | MX | 0 github-com.mail.protection.outlook.com | 164 | — | — | Microsoft 365 | — | No |
| 2 | _dmarc.github.com | github.com | TXT | v=DMARC1; p=quarantine; sp=reject; pct=100; rua=mailto:d•••@github.com; ruf=mailto:d•••@github.com; fo=1 | 164 | — | quarantine | — | — | No |
| 3 | github.com | github.com | TXT | 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… | 76 | ~all | — | — | — | No |
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.
- One run returns at most 5,000 records and looks up at most 500 domains; every domain and record type is one lookup, so a large run takes a few minutes.
- Answers come from Google Public DNS, a recursive resolver, so you see what the internet resolves now, including its caching: the TTL is the remaining cache time and can be lower than the zone's own TTL.
- spf and dmarc_policy are filled only on TXT records that hold an SPF or DMARC policy, and only when parse_email_auth is on. DMARC is read from the _dmarc name of each domain and returned as its own TXT record, just ahead of the domain's other TXT records.
- spf holds the closing qualifier of the policy (-all, ~all, ?all, +all) or the redirect target; it does not follow include chains. mx_provider is a best guess from the mail host name and is empty for self-hosted or unrecognised hosts.
- verification_tokens lists the kind of verification record found (for example google-site-verification), not a verdict on the domain's ownership. Verification values stay in the value field.
- dnssec_validated is true when Google validated the answer with DNSSEC; false means unsigned or not validated. Other record types, such as DKIM selectors, are not looked up.
- Names that do not exist or have no record of a type simply return no rows. Google asks for fair use of its public DNS service, so lookups run at a gentle pace. Not affiliated with or endorsed by Google.
Version history
A run uses the live version unless the request names another one with version.
Manage this API
Only your workspace sees this part.
Automatic repair
Off: a rebuilt version is stored and waits for you in the version history.
Delete this API
Removes the API, its versions and the saved records of its runs. Calls to its address then answer 404. Records already charged stay charged. This cannot be undone.