79trust / 100

Mx

by DNS & WHOIS Domain Lookup in Email & messaging

x402 APIPassing, checked 7 min ago

DNS MX record lookup — a domain's mail servers with their hostnames and priorities as structured JSON, for email routing, deliverability diagnostics and mail-provider detection.

GET https://dns.use.x402atlas.com/mx

Last 30 days

All checks passedSome failedAll failedNot checked
Uptime
100%
Response time
380 ms typical, 475 ms slowest 5%
Last check
7 min ago
Next check
in 22 min

How to call it

# See the payment challenge (nothing is charged)
curl -i -X GET "https://dns.use.x402atlas.com/mx?host=example.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%2Fdns.use.x402atlas.com%2Fmx
const res = await pay("https://dns.use.x402atlas.com/mx?host=example.com");
console.log(await res.json());

Example input

{
  "host": "example.com"
}

Example output

{
  "host": "example.com",
  "queried_at": "2026-06-05T12:00:00Z",
  "records": [
    {
      "host": "mail.example.com.",
      "pref": 10
    }
  ]
}

Security scan

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

Recent checks

WhenResultHTTPTimePrice
7 min agoPassed402475 ms$0.005
4 h agoPassed402328 ms$0.005
7 h agoPassed402378 ms$0.005
12 h agoPassed402491 ms$0.005
15 h agoPassed402333 ms$0.005
18 h agoPassed402459 ms$0.005
23 h agoPassed402380 ms$0.005