Skip to content
Fourohtwo

The main DNS records of a domain in one call

apexfaucet.xyz/api/x402/dns-records

The main DNS records of a domain in one call. Pass ?domain= and get A and AAAA (with TTL), MX, NS, TXT, CNAME, CAA and SOA, at most 20 records per type and 300 characters per record, each type with its own status (ok, none, nxdomain, timeout, servfail and similar). A name that does not exist (NXDOMAIN) is an answer, not an error. Read from our resolver at one moment; IP addresses and .local/.inter

BaseArcSolanaBNB ChainRobinhood ChainAnswering
GEThttps://apexfaucet.xyz/api/x402/dns-records

Uptime100% 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

import { createPayer } from "fourohtwo";

// One agent key pays USDC on Base or USDG on Robinhood Chain,
// inside the spending rules you set on Fourohtwo.
const pay = createPayer({ privateKey: process.env.AGENT_KEY });
const res = await pay("https://apexfaucet.xyz/api/x402/dns-records?domain=example.com");
console.log(await res.json());

Example input

{
  "domain": "example.com"
}

More from DNS records lookup