Look up a domain's public DNS records in one call
cleanread402.netlify.app/dns
Look up a domain's public DNS records in one call: A and AAAA with TTLs, MX priority-sorted, TXT, NS, CNAME, SOA and CAA. Input: a bare domain name such as example.com. Errors for invalid domains or domains with no records are returned free (settlement is cancelled on failure).
GET
https://cleanread402.netlify.app/dnsUptime100% of 2 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://cleanread402.netlify.app/dns?domain=example.com");
console.log(await res.json());Example input
{
"domain": "example.com"
}