Domain Email Security
by 2s in Security & trust
Grade a domain's email-authentication and DNS-security posture from live DNS in one call: SPF, DMARC (policy + alignment), DKIM (for the supplied or common selectors), MTA-STS, TLS-RPT, DNSSEC, CAA, and BIMI. Pass domain (and optional dkimSelector). Returns an overall letter grade, a summary (spf/dmarcPolicy/dkim/mtaSts/dnssec/caa/bimi + spoofingProtected), and a per-mechanism block with the raw record, parsed tags, and specific issues (e.g. 'DMARC p=none — monitor only', 'SPF ~all soft-fail', 'no MTA-STS'). Sourced from live public DNS via DNS-over-HTTPS — an LLM cannot know a domain's current records. For deliverability/anti-spoofing audits, vendor security review, and phishing-resistance checks. DKIM is selector-based (selectors aren't enumerable), so 'not found' only means none of the checked selectors resolved.
GET https://2s.io/api/domain/email-security
Last 30 days
- Uptime
- 100%
- Response time
- 274 ms typical, 328 ms slowest 5%
- Last check
- 3 h ago
- Next check
- any minute now
How to call it
# See the payment challenge (nothing is charged)
curl -i -X GET "https://2s.io/api/domain/email-security?domain=paypal.com"import { wrapFetchWithPayment } from "@x402/fetch";
import { x402Client } from "@x402/core/client";
import { ExactEvmScheme } from "@x402/evm/exact/client";
import { privateKeyToAccount } from "viem/accounts";
const client = new x402Client().register(
"eip155:8453",
new ExactEvmScheme(privateKeyToAccount(process.env.AGENT_KEY)),
);
const pay = wrapFetchWithPayment(fetch, client);
// Not sure it's safe to pay? Preflight it first for $0.005:
// GET https://toolvet.app/api/v1/check?url=https%3A%2F%2F2s.io%2Fapi%2Fdomain%2Femail-security
const res = await pay("https://2s.io/api/domain/email-security?domain=paypal.com");
console.log(await res.json());Example input
{
"domain": "paypal.com"
}Security scan
- No findings. We scan names, descriptions and tool definitions for hidden instructions and other prompt-injection patterns.
Recent checks
| When | Result | HTTP | Time | Price |
|---|---|---|---|---|
| 3 h ago | Passed | 402 | 274 ms | $0.0045 |
| 6 h ago | Passed | 402 | 282 ms | $0.0045 |
| 10 h ago | Passed | 402 | 236 ms | $0.0045 |
| 13 h ago | Passed | 402 | 208 ms | $0.0045 |
| 17 h ago | Passed | 402 | 328 ms | $0.0045 |
| 21 h ago | Passed | 402 | 454 ms | $0.0045 |
| 24 h ago | Passed | 402 | 243 ms | $0.0045 |
| 29 h ago | Passed | 402 | 283 ms | $0.0045 |