Helenis API
Start for free
github.com email security: MX, DMARC and DKIM pass, SPF at 10 of 10 lookups, no MTA-STS: grade C, 65/100.

DNS Lookup API

DNS records, email security audit (SPF, DMARC, DKIM) with a grade, and SSL certificate expiry.

Base URLhttps://dns-lookup-email-security-ssl-checker.p.rapidapi.com/v1/dnsopenapi.json

Free plan
10 credits a day
Paid plans
from $3.99 a month
One credit
1 credit per call.
Endpoints
3, on /v1/dns

Example call

curl -G "https://dns-lookup-email-security-ssl-checker.p.rapidapi.com/v1/dns/email" \
  --data-urlencode "domain=github.com" \
  -H "X-RapidAPI-Key: YOUR_API_KEY" \
  -H "X-RapidAPI-Host: dns-lookup-email-security-ssl-checker.p.rapidapi.com"
Response200 OK
{
  "domain": "github.com",
  "grade": "C",
  "score": 65,
  "mx": [{ "value": "github-com.mail.protection.outlook.com", "ttl": 300, "priority": 0 }],
  "provider": "Microsoft 365",
  "mx_check": { "status": "pass", "message": "1 mail server(s)." },
  "spf": {
    "record": "v=spf1 ip4:192.30.252.0/22 include:spf.protection.outlook.com include:_netblocks.google.com ... ~all",
    "all": "~all",
    "includes": ["spf.protection.outlook.com", "_netblocks.google.com", "_netblocks2.google.com", "mail.zendesk.com", "_spf.salesforce.com", "servers.mcsv.net", "mktomail.com", "sendgrid.net"],
    "lookups": 10,
    "check": { "status": "warn", "message": "10 DNS lookups out of 10: one more sender breaks SPF." }
  },
  "dmarc": {
    "record": "v=DMARC1; p=quarantine; sp=reject; pct=100; rua=mailto:dmarc@github.com; ruf=mailto:dmarc@github.com; fo=1",
    "policy": "quarantine",
    "subdomain_policy": "reject",
    "pct": 100,
    "rua": ["mailto:dmarc@github.com"],
    "check": { "status": "pass", "message": "DMARC quarantines spoofed mail (p=quarantine)." }
  },
  "dkim": { "selectors_found": ["google", "selector1", "k1", "k2", "s1", "s2", "cm"], "check": { "status": "pass", "message": "DKIM key found (google, selector1, k1, k2, s1, s2, cm)." } },
  "mta_sts": { "status": "warn", "message": "No MTA-STS: mail to this domain can be downgraded to plain text." },
  "bimi": { "status": "warn", "message": "No BIMI logo." },
  "recommendations": [
    "Bring SPF below 10 DNS lookups: remove senders you no longer use or replace includes with their IP ranges.",
    "Enable MTA-STS to enforce encrypted delivery."
  ]
}

Audit Email Security: GET /v1/dns/email. A real call and its real response, with long values shortened.

What the DNS Lookup API returns

Three checks every domain needs, in one API: DNS records, a graded email security audit (SPF, DMARC, DKIM, MTA-STS, BIMI) with the fixes to make, and the SSL certificate with its expiry and, when invalid, the reason why.

Records
A, AAAA, CNAME, MX, NS, TXT, SOA, CAA (+ SRV, PTR) with TTL and MX priority
Email grade A-F
And score 0-100, mail provider detected (Google Workspace, Microsoft 365...)
SPF
Nested include lookups counted; warns at 9 of the 10 allowed
DKIM
20 common selectors tried, wildcard records ignored
Recommendations
In plain English
SSL
valid + error (expired, self-signed, hostname mismatch...), issuer, names, days_remaining, key, TLS version, cipher

Endpoints

Host dns-lookup-email-security-ssl-checker.p.rapidapi.com, header X-RapidAPI-Key. Parameters and examples for each one are in the API reference.

DNS Records

A, AAAA, MX, NS, TXT, CAA and other records of a domain.

Email Security

SPF, DMARC, DKIM, MTA-STS and BIMI audit with a grade.

SSL

SSL/TLS certificate details and expiry.

Use cases

  • Deliverability tools & ESPs. Onboard senders with a clear checklist
  • Security audits & MSPs. Scan client domains in bulk
  • Monitoring. Alert before certificates expire
  • Sales. Spot prospects with weak email security

Tutorial

Pricing

1 credit per call. Failed calls are never billed.

DNS Lookup API plans on RapidAPI
PlanPriceCredits includedAbove the quota
BASIC Free 10 / day resets every day
PRO $3.99/mo 50,000 / month $0.0008 per credit
ULTRA $9.99/mo 250,000 / month $0.0008 per credit
MEGA $29.99/mo 1,000,000 / month $0.0008 per credit

Subscribe on RapidAPI (opens in a new tab)

No code: the Apify actor

The DNS Lookup, Email Security & SSL Checker actor runs the same engine on a list of inputs and exports a table (JSON, CSV, Excel, Google Sheets). It is billed per result; free-plan users get 50 domains per run.

Apify pay-per-event prices
EventCharged forPrice
email-auditEach email-security audit$0.0012
ssl-checkEach SSL certificate check$0.0005
dns-recordsEach DNS lookup$0.0005

Questions about the DNS Lookup API

Is there a free plan for the DNS Lookup API?
Yes. The BASIC plan on RapidAPI is free, with 10 credits per day to test it on your own data. Paid plans start at $3.99 per month. On Apify you pay per result, and free-plan users get 50 domains per run.
How are credits counted?
1 credit per call. Calls that fail are never billed.
Should I use RapidAPI or Apify?
Use RapidAPI to call the REST API from your own code with a monthly plan. Use Apify for no-code runs on lists of inputs, schedules, exports to Google Sheets, Zapier or Make, and AI agents through MCP.
Do you store my data?
No. Inputs and results are processed in memory and never stored or logged; logs keep only technical metadata such as status and latency.