MX record lookup for any domain
mailcheck.hugen.tokyo/mailcheck/mx
MX record lookup for any domain — returns whether mail servers exist and their hostnames sorted by priority. Verify email deliverability before sending. Supports all TLDs including ccTLDs and new gTLDs. No DNS library setup needed. Accepts USDC payments on Base and Solana
GET
https://mailcheck.hugen.tokyo/mailcheck/mxUptime100% of 1 check in 30 days
30 days agoToday
Try it
Pays from your browser wallet in USDC on Base or USDG on Robinhood Chain, whichever the endpoint takes. The provider is paid directly; failed calls aren't refunded by Fourohtwo.
The response shows up here.
Call it from an agent
// npm install fourohtwo
import { createPayer } from "fourohtwo";
// One agent key pays USDC on Base or USDG on Robinhood Chain, inside your spending rules.
const pay = createPayer({ privateKey: process.env.AGENT_KEY, maxPerCallUsd: "0.05" });
const res = await pay("https://mailcheck.hugen.tokyo/mailcheck/mx?domain=gmail.com");
console.log(await res.json());Example input
{
"domain": "gmail.com"
}