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
GET
https://apexfaucet.xyz/api/x402/dns-recordsUptime100% 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
- agent-data-tools.revmesh2074.workers.dev/dns/lookupDNS records lookup. Look up DNS records of a domain over DNS-over-HTTPS (Cloudflare 1.1.1.1): A, AAAA, CNAME, MX, NS, TXT, SOA, CAA, SRV, PTR, DS, DNSKEY or HTTPS, with each answer's TTL, the response code (NOERROR, NXDOMAIN…) and whether DNSSEC validated. Use to check email (MX, SPF in TXT), verify a domain, or debug a DNS change; for whether the change has spread use dns_propagation.0.002
- api.gadgethumans.com/dns-records-lookupLook up DNS records for a domain: A, AAAA, MX, TXT, NS and CNAME, for deliverability, SPF/DMARC and domain checks.0.01
