Skip to content
Fourohtwo

Resolve DNS records for a domain via Cloudflare DNS-over-HTTPS

402.com.tr/api/x402/dns-lookup

Resolve DNS records for a domain via Cloudflare DNS-over-HTTPS — A, AAAA, MX, TXT, NS, CNAME, SOA. Pass name= and type= (default A). Returns each record with its TTL, plus NXDOMAIN when the name does not exist. The DNS commodity agents call constantly for infra, email and domain checks, served at the sub-cent floor. Not financial advice.

BaseSolanaAnswering
GEThttps://402.com.tr/api/x402/dns-lookup

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

// 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://402.com.tr/api/x402/dns-lookup?name=coinbase.com&type=A");
console.log(await res.json());

Example input

{
  "name": "coinbase.com",
  "type": "A"
}

More from DNS LookupProvider status