{
"ok": true,
"data": {
"domain": "cloudflare.com",
"score": 100,
"grade": "A",
"checks": {
"mx": {
"status": "pass",
"score": 20,
"max_score": 20,
"records": [
"5 mxa-canary.global.inbound.cf-emailsecurity.net.",
"5 mxb-canary.global.inbound.cf-emailsecurity.net.",
"10 mxa.global.inbound.cf-emailsecurity.net.",
"10 mxb.global.inbound.cf-emailsecurity.net."
],
"issues": [],
"fix": null
},
"spf": {
"status": "pass",
"score": 25,
"max_score": 25,
"records": [
"v=spf1 ip4:199.15.212.0/22 ip4:173.245.48.0/20 include:_spf.google.com include:spf1.mcsv.net include:spf.mandrillapp.com include:mail.zendesk.com include:stspg-customer.com include:_spf.salesforce.com -all"
],
"issues": [],
"fix": null
},
"dmarc": {
"status": "pass",
"score": 25,
"max_score": 25,
"records": [
"v=DMARC1; p=reject; sp=reject; adkim=r; aspf=r; pct=100; rua=mailto:[email protected],mailto:[email protected]"
],
"issues": [],
"fix": null
},
"dkim": {
"status": "pass",
"score": 20,
"max_score": 20,
"records": [
"k1._domainkey: k=rsa; p=MIGfMA0GCSqGSIb3DQEBAQUAA4GNADCBiQKBgQDbNrX2cY/GUKIFx2G/1I00ftdAj713WP9AQ1xir85i89sA2guU0ta4UX1Xzm06XIU6iBP41VwmPwBGRNofhBVR+e6WHUoNyIR4Bn84LVcfZE20rmDeXQblIupNWBqLXM1Q+VieI/eZu/7k9/vOkLSaQQdml4Cv8lb3PcnluMVIhQIDAQAB;",
"s1._domainkey: k=rsa; t=s; p=MIIBIjANBgkqhkiG9w0BAQEFAAOCAQ8AMIIBCgKCAQEA1m74n5R+xcz+ICbNBWRIlQeHI65Hjp67+P59XSe71jItafrcJ4/5y/UvU+uNg7KNeOcEsotGo7QvLN87hqZSZqfzVyyGnQuEUXoKPdKokD6Pa5KmJSqbA5Y/f977HpikU9Xtd7Orc7ctRLK6H5QFvGwRi+oC9NRkgNB55UUnLbbkKK+LGeTw4Ghmr5gupw7iYzFXZ1qlFNqV6s9Pmgb+b7oDv+OfQxB/MJyUzQ5eWdKlJWfmW3s77J3fHFfysUbKKUBxEXPxNiMFRG1ClllZ4+AYRh1jrFpjbvZ5j43kqahKXeHDNkF+Gpptd7ufWIevAPTQDSVdKB9vyJQN6wfcQQIDAQAB"
],
"issues": [],
"fix": null,
"found_selectors": [
"k1",
"s1"
],
"checked_selectors": [
"google",
"selector1",
"default",
"selector2",
"k1",
"s1",
"s2",
"dkim",
"mail",
"resend"
]
},
"mta_sts": {
"status": "pass",
"score": 10,
"max_score": 10,
"records": [
"v=STSv1;id=1769609691387;"
],
"issues": [],
"fix": null
}
},
"fixes": []
},
"meta": {
"request_id": "6fe0d076-594c-4079-a5e3-33685359439e",
"ms": 12,
"version": "1.0.0"
}
}
curl --location --request POST 'https://zylalabs.com/api/14915/email+dns+deliverability+auditor+api/38824/email-dns-checker' --header 'Authorization: Bearer YOUR_API_KEY'
--data-raw '{
"domain": "cloudflare.com",
"dkim_selectors": ["google", "selector1", "default"]
}'
After signing up, every developer is assigned a personal API access key, a unique combination of letters and digits provided to access to our API endpoint. To authenticate with the Email DNS Deliverability Auditor API simply include your bearer token in the Authorization header.
| Header | Description |
|---|---|
Authorization
|
Required
Should be Bearer access_key. See "Your API Access Key" above when you are subscribed.
|
No long-term commitment. Upgrade, downgrade, or cancel anytime. Free Trial includes up to 50 requests.
Audits MX, SPF, DKIM selectors, DMARC, and MTA-STS records via DNS-over-HTTPS, returning a 0-100 deliverability score, letter grade, and copy-paste DNS fix instructions.
The API returns a deliverability score (0-100), a letter grade, and detailed audit results for MX, SPF, DKIM, DMARC, and MTA-STS records. It also provides specific DNS fix instructions for any issues found.
Key fields include "domain," "score," "grade," and "checks." The "checks" object contains detailed results for each record type (MX, SPF, etc.), including "status," "score," "max_score," "records," "issues," and "fix."
The response is structured as a JSON object with a top-level "ok" field indicating success, followed by a "data" object containing the domain information, deliverability score, grade, and a "checks" object for detailed record evaluations.
The API provides information on email deliverability factors, including MX records, SPF records, DKIM selectors, DMARC policies, and MTA-STS records, along with their respective statuses and scores.
Users can customize requests by specifying the domain they want to audit in the POST request to the email-dns-checker endpoint. This allows for targeted audits based on specific domains.
The API retrieves data via DNS-over-HTTPS, ensuring that it accesses the most current and accurate DNS records for the specified domain, which helps maintain data quality and reliability.
Typical use cases include assessing email deliverability for marketing campaigns, troubleshooting email delivery issues, and ensuring compliance with email authentication standards to improve inbox placement.
Users can analyze the deliverability score and grade to gauge email performance, review specific checks for potential issues, and follow the provided DNS fix instructions to resolve any identified problems.
To obtain your API key, first sign in to your account and navigate to the API you want to use. From the API's Pricing section, choose a plan and complete the subscription process. Once subscribed, return to the API page and you will see your API Access Key displayed at the top of the documentation page. You can use this key to authenticate your requests.
You can’t switch APIs during the free trial. If you subscribe to a different API, your trial will end and the new subscription will start as a paid plan.
The free trial lasts for 7 days and allows you to make up to 50 API requests.
No, the free trial is available only once, so we recommend using it on the API that interests you the most. Most of our APIs offer a free trial, but some may not include this option.
Yes. If the API offers a free trial, you will see a "Free 7-Day Trial" option in its Pricing section. The trial lasts for 7 days and allows up to 50 API requests, enabling you to evaluate the API before subscribing to a paid plan.
Zyla API Hub is like a big store for APIs, where you can find thousands of them all in one place. We also offer dedicated support and real-time monitoring of all APIs. Once you sign up, you can pick and choose which APIs you want to use. Just remember, each API needs its own subscription. But if you subscribe to multiple ones, you'll use the same key for all of them, making things easier for you.
You can monitor your API usage through the response headers included with every request:
x-zyla-api-calls-monthly-used: Shows the total number of API requests you have used during the current billing period.
x-zyla-api-calls-monthly-remaining: Shows the number of API requests you have remaining for the current billing period.
Yes, you can cancel your subscription at any time. Simply go to the Pricing section of the API you're subscribed to and click the "Unsubscribe" button.
Please note that upgrades, downgrades, and cancellations take effect immediately. Once your subscription is canceled, access to the service will end immediately, regardless of any remaining API calls in your quota.
Please have a look at our Refund Policy: https://zylalabs.com/terms#refund