Domain lookup API
x402.agentindex.world/domain-info
Domain lookup API: WHOIS (RDAP) and DNS in one call. Returns registrar, creation, update and expiry dates, domain age in days, status, nameservers and DNSSEC, plus live A, AAAA, MX, NS and TXT records and the email setup (has MX, SPF, DMARC). Accepts a domain or a full URL. Use it to vet a website, detect newly registered or expiring domains, or check email deliverability. Try GET /domain-info/sam
POST
https://x402.agentindex.world/domain-infoUptime100% of 3 checks 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://x402.agentindex.world/domain-info", {
method: "POST",
headers: { "content-type": "application/json" },
body: JSON.stringify({"domain":"example.com"}),
});
console.log(await res.json());Example input
{
"domain": "example.com"
}