D

DNS & WHOIS Domain Lookup · MX

by DNS & WHOIS Domain Lookup

GETBaseSolanaArbitrumPolygon

$0.005

per call · USD Coin on Base

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.

Endpoint

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

9

Calls / 30d

6

Unique payers / 30d

Sep 8

Last called

exact

Payment scheme

Call this service

TypeScript · @x402/fetch
import { wrapFetchWithPayment } from "@x402/fetch";
import { privateKeyToAccount } from "viem/accounts";

const account = privateKeyToAccount(process.env.PRIVATE_KEY);
const fetchWithPay = wrapFetchWithPayment(fetch, account);

const res = await fetchWithPay("https://dns.use.x402atlas.com/mx", {
  method: "GET",
});
const data = await res.json();
cURL
curl -X GET \
  "https://dns.use.x402atlas.com/mx?host=example.com" \
  -H "X-PAYMENT: <signed x402 payment>"

Example response

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

Payment details

Pay to0x446e51deab3ae656c99e65369e8ef1148d23d7f7
AssetUSD Coin · 0x833589fcd6edb6e08f4c7c32d4f71b54bda02913
NetworksBase, Solana, Arbitrum, Polygon
Schemesexact

Is this your API?

Pin it to the top of Data & Enrichment and the homepage with a featured placement.

Get featured →

More from DNS & WHOIS Domain Lookup & similar services