DNS lookup · DNS
by DNS lookup
$0.001
per call · USD Coin on Base
DNS lookup for a domain. Supported record types: A, AAAA, MX, TXT, NS, CNAME.
Endpoint
GET https://agent402.tools/api/dns4
Calls / 30d
3
Unique payers / 30d
Aug 31
Last called
exact
Payment scheme
Call this service
import { wrapFetchWithPayment } from "@x402/fetch";
import { privateKeyToAccount } from "viem/accounts";
const account = privateKeyToAccount(process.env.PRIVATE_KEY);
const fetchWithPay = wrapFetchWithPayment(fetch, account);
const res = await fetchWithPay("https://agent402.tools/api/dns", {
method: "GET",
});
const data = await res.json();curl -X GET \
"https://agent402.tools/api/dns?name=example.com&type=A" \
-H "X-PAYMENT: <signed x402 payment>"Example response
{
"name": "example.com",
"records": [
"93.184.215.14"
],
"type": "A"
}Payment details
0xabf4fabd7c416fb67202e5f9002389fc75e2a9d0USD Coin · 0x833589fcd6edb6e08f4c7c32d4f71b54bda02913Is this your API?
Pin it to the top of AI & Inference and the homepage with a featured placement.
More from DNS lookup & similar services
DNS lookup · DNS Lookup
agent402.tools
Resolve any DNS record type for a host: A, AAAA, MX, TXT, CNAME, NS, SOA, CAA, SRV, PTR. Returns the records plus a count. Built on Node's native resolver - no external API.
BlockRun.AI · EXA Contents
blockrun.ai
Extract full text content from specific URLs. Priced at $0.002/URL — total = urls.length × $0.002.
BlockRun.AI · EXA Search
blockrun.ai
Neural and keyword web search. Optional category filter: company, research paper, news, pdf, github, tweet, personal site, linkedin profile, financial report.