78trust / 100

Execute Email Domain Deliverability Check V1

by Macaroon Network in Email & messaging

x402 APIPassing, checked 4 h ago

Checks whether a domain appears technically configured for email delivery, from direct public DNS records only: MX presence, SPF presence, DMARC presence and policy, and an optional DKIM selector check. Queries DNS over HTTPS against a public resolver -- no test emails sent, no mailbox existence verification, no personal data, no leaked-email databases, no proprietary deliverability dataset.

POST https://api.macaroonnetwork.com/execute/email-domain-deliverability-check-v1

Last 30 days

All checks passedSome failedAll failedNot checked
Uptime
100%
Response time
269 ms typical, 348 ms slowest 5%
Last check
4 h ago
Next check
any minute now

How to call it

# See the payment challenge (nothing is charged)
curl -i -X POST "https://api.macaroonnetwork.com/execute/email-domain-deliverability-check-v1" \
  -H "content-type: application/json" \
  -d '{"input":{"domain":"example.com"},"predicate":{"conditions":[{"field":"$.source","operator":"eq","type":"field_changed","value":"direct_dns"},{"field":"$.limitations","type":"count_gte","value":1}],"type":"all"}}'
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%2Fapi.macaroonnetwork.com%2Fexecute%2Femail-domain-deliverability-check-v1
const res = await pay("https://api.macaroonnetwork.com/execute/email-domain-deliverability-check-v1", {
  method: "POST",
  headers: { "content-type": "application/json" },
  body: JSON.stringify({"input":{"domain":"example.com"},"predicate":{"conditions":[{"field":"$.source","operator":"eq","type":"field_changed","value":"direct_dns"},{"field":"$.limitations","type":"count_gte","value":1}],"type":"all"}}),
});
console.log(await res.json());

Example input

{
  "input": {
    "domain": "example.com"
  },
  "predicate": {
    "conditions": [
      {
        "field": "$.source",
        "operator": "eq",
        "type": "field_changed",
        "value": "direct_dns"
      },
      {
        "field": "$.limitations",
        "type": "count_gte",
        "value": 1
      }
    ],
    "type": "all"
  }
}

Example output

{
  "payload": {
    "deliverability_score": 0,
    "dkim_checked": false,
    "dkim_present": false,
    "dmarc_policy": "",
    "dmarc_present": false,
    "domain": "",
    "limitations": [],
    "mx_present": false,
    "mx_records": [],
    "retrieved_at": "",
    "risk": "",
    "source": "direct_dns",
    "spf_present": false,
    "warnings": []
  },
  "predicate_passed": true,
  "settled": true
}

Security scan

  • No findings. We scan names, descriptions and tool definitions for hidden instructions and other prompt-injection patterns.

Recent checks

WhenResultHTTPTimePrice
4 h agoPassed402293 ms$0.003
7 h agoPassed402138 ms$0.003
11 h agoPassed402348 ms$0.003
15 h agoPassed402216 ms$0.003
18 h agoPassed402352 ms$0.003
23 h agoPassed402269 ms$0.003