Mail Security Tools API
api.mailsecuritytools.com/v1/score/batch
Mail Security Tools API: Email security score for up to 5 domains in one call, lowest score first. SPF, DKIM and DMARC email-security score for up to 5 domains in one call, with per-domain findings. $0.04 USDC on Base.
GET
https://api.mailsecuritytools.com/v1/score/batchUptime100% of 1 check in 30 days
30 days agoToday
Try it
Pays from your browser wallet in USDC on Base or USDG on Robinhood Chain, whichever the endpoint takes. The provider is paid directly; failed calls aren't refunded by Fourohtwo.
The response shows up here.
Call it from an agent
import { createPayer } from "fourohtwo";
// One agent key pays USDC on Base or USDG on Robinhood Chain,
// inside the spending rules you set on Fourohtwo.
const pay = createPayer({ privateKey: process.env.AGENT_KEY });
const res = await pay("https://api.mailsecuritytools.com/v1/score/batch?domains=example.com%2Cexample.org");
console.log(await res.json());Example input
{
"domains": "example.com,example.org"
}More from Mail Security Tools
- api.mailsecuritytools.com/v1/bulk-scoreScore email security (SPF, DMARC, DKIM, MX) for up to 100 domains in one call. $0.5 USDC on Base per call. Returns per-domain score, grade and issues plus a summary: grade counts, missing DMARC/SPF and worst 10. Bad input 400 and widespread DNS failure 502, not charged. Don't use this for one domain; /v1/score costs less.0.50
- api.mailsecuritytools.com/v1/email-checkValidate an email address: syntax, MX, disposable and role account. $0.01 USDC on Base per call. Returns a verdict of ok, risky or undeliverable without sending mail. Bad syntax returns 400, not charged. Don't use this for confirming a mailbox exists; no SMTP probe is made.0.01
- api.mailsecuritytools.com/v1/fix-planGet the exact SPF, DKIM and DMARC records to publish, with steps for your DNS host. $1 USDC on Base per call. Reads live MX, NS, SPF, DKIM and DMARC, detects the mail provider and DNS host, and returns records in order with a staged DMARC rollout. Non-sending domains get a lock-down set. Bad input 400, unknown domain 404, not charged. Don't use this for a quick grade; use /v1/score.1.00
- api.mailsecuritytools.com/v1/scoreGrade a domain's email security: SPF, DMARC, DKIM and MX score. $0.01 USDC on Base per call. Returns a 0-100 score and A-F grade (SPF 30, DMARC 40, DKIM 25, MX 5) from live DNS, with findings and the top 3 fixes. Bad input 400, unknown domain 404, not charged. Don't use this for the exact records to publish; use /v1/fix-plan.0.01
- api.mailsecuritytools.com/v1/watchMail Security Tools API: Prepaid email setup watch: up to 25 domains for 30 days, webhook on change. Pay once, then each domain's SPF, DMARC, DKIM (common selectors), MX and score are re-checked about once a day for 30 days. When something changes or breaks you get an HMAC-signed JSON POST at your https webhook_url (event watch.changed, kind changed|broke, before/after). A watch.created POST is se0.30
