API & MCP

Everything a person can do on E-mail Infrastructure Explorer, a program or AI agent can do with the same inputs and get the identical result.

HTTP API

E-mail Infrastructure Explorer

Checks how a domain receives and protects e-mail: MX hosts with priorities and addresses, SPF with a recursive DNS-lookup count across include: chains, DMARC policy and reporting, DKIM keys at ten common selectors, MTA-STS record and policy file, TLS-RPT and BIMI. Produces a transparent 100-point score and concrete DNS fixes. Works live or on pasted zone records.

Inputs of E-mail Infrastructure Explorer
FieldTypeDefaultDescription
modeselect (live, paste)"live"Mode
domain (required)text—Domain
recordstextarea—DNS records (paste mode). Zone-file lines: name [ttl] [IN] TYPE value. Use @ for the domain, relative names like _dmarc or selector1._domainkey, and a trailing dot for other domains (e.g. include targets).
mtaStsPolicytextarea—MTA-STS policy file (paste mode, optional)

Example request

Pasted records for a typical business domain

curl -X POST https://emailinfrastructureexplorer.usefulweb.site/api/v1/calculate -H 'content-type: application/json' -d '{"mode":"paste","domain":"example.org","records":"; pasted DNS for example.org\n@                      MX   10 mx1.example.net.\n@                      MX   20 mx2.example.net.\nmx1.example.net.    A    192.0.2.10\nmx2.example.net.    A    192.0.2.20\n@                      TXT  \"v=spf1 include:_spf.example.net include:sendgrid.net ip4:198.51.100.0/24 ~all\"\n_spf.example.net.   TXT  \"v=spf1 ip4:192.0.2.0/24 include:_spf2.example.net -all\"\n_spf2.example.net.  TXT  \"v=spf1 a mx -all\"\n_dmarc                 TXT  \"v=DMARC1; p=quarantine; pct=100; rua=mailto:dmarc@example.org\"\nselector1._domainkey   TXT  \"v=DKIM1; k=rsa; p=MIIBIjANBgkqhkiG9w0BAQEFAAOCAQ8AMIIBCgKCAQEAvO65ahmEjafCxJBT+BnCuE+pM97kMp7njI4Na2g3vJ3AIqbUS2lTQVRlUng5T7BKOAHVmKUnj2fWM+iRt5mQAZ649dKjdQwOPULKmoVMjGMH8SB3P6CYaxJrVgS+PGVtEFgcj8UADfED2ylfiZgAPw7Fx3PQxyfWbenvdEsLyjSyl/2fr/stYzeGvaRDjKd91UoPqZEBC3fyw5Eloyq5L/U2yCSJypPpFe04kC6i4OcIlx6bJUkJWMaodPyFd3x1wuS9jklXaF+yyZhBMIdQzNCyf20QM4lf/SjmyzMsyYs5ILkH4548cgWHuM+wGdGHf5GwI6dTFv0a90bL3hlLdQIDAQAB\"\n_mta-sts               TXT  \"v=STSv1; id=20261001T000000\"\n_smtp._tls             TXT  \"v=TLSRPTv1; rua=mailto:tlsrpt@example.org\"","mtaStsPolicy":"version: STSv1\nmode: testing\nmx: mx1.example.net\nmx: *.example.net\nmax_age: 604800"}'

Every result contains

inputs (normalised, defaults applied), summary, result (validated against the published schema), units, assumptions, sources, warnings, computedAt and links.

MCP (Model Context Protocol)

{
  "mcpServers": {
    "email-infrastructure-explorer": { "type": "http", "url": "https://emailinfrastructureexplorer.usefulweb.site/mcp" }
  }
}