Data tools / Email checks, uptime and web reading
Use when you need the DNS records of a domain: A, AAAA, MX, NS, TXT and CNAME, with the SPF and DMARC records picked out (has_spf, has_dmarc, DMARC policy), DNSSEC flag and DNS status. Live DNS over DoH (Cloudflare, LibreDNS fallback). $0.0324 per call (USDC or USDT). Or pay by stablecoin transfer with a one-time quote: see /pay.
&payfirst=1 to the call, send exactly the amount it names (about $0.0324 plus a few millionths of a dollar), then repeat the call with "e=<token>. A transfer without a quote token is never matched to a call; see /pay.curl -i 'https://x402-bazaar-rank.x402-bazaar-rank-worker.workers.dev/x402/v2/dns-lookup?domain=example.com'| Parameter | Required | What it is |
|---|---|---|
domain | yes | Domain name (e.g. example.com) |
Runnable code for JavaScript, Python and LangChain: /integrations. Full schema: OpenAPI.
Top-level fields of the JSON answer, read from the example below:
domain (string)domain_exists (boolean)dns_status (string)a_records (list)aaaa_records (list)mx_records (list): exchange, priorityns_records (list)txt_records (list)cname_records (list)cname_chain_of_a (list)has_spf (boolean)spf_record (string)spf_count (number)has_dmarc (boolean)dmarc_record (string)dmarc_policy (string)dnssec_validated (boolean)resolver (string)errors (list)query_time_ms (number)checked_at (string)sources (list)note (string)Source, as the answer itself states it:
{
"domain": "example.com",
"domain_exists": true,
"dns_status": "NOERROR",
"a_records": [
"104.20.23.154",
"172.66.147.243"
],
"aaaa_records": [
"2606:4700:10::6814:179a",
"2606:4700:10::ac42:93f3"
],
"mx_records": [
{
"exchange": ".",
"priority": 0
}
],
"ns_records": [
"elliott.ns.cloudflare.com",
"hera.ns.cloudflare.com"
],
"txt_records": [
"_k2n1y4vw3qtb4skdx9e7dxt97qrmmq9",
"v=spf1 -all"
],
"cname_records": [],
"cname_chain_of_a": [],
"has_spf": true,
"spf_record": "v=spf1 -all",
"spf_count": 1,
"has_dmarc": true,
"dmarc_record": "v=DMARC1;p=reject;sp=reject;adkim=s;aspf=s",
"dmarc_policy": "reject",
"dnssec_validated": true,
"resolver": "cloudflare",
"errors": [],
"query_time_ms": 445,
"checked_at": "2026-12-01T22:31:48.932Z",
"sources": [
"https://cloudflare-dns.com/dns-query"
],
"note": "DNS read at the time shown from Cloudflare 1.1.1.1 over DNS-over-HTTPS (a query it did not answer was asked at LibreDNS). SPF = the TXT record starting v=spf1 (RFC 7208), DMARC = the TXT of _dmarc.<domain> starting v=DMARC1 (RFC 7489). A field is null when no resolver answered that query."
}Free sample, no payment: /x402/v2/dns-lookup/sample. The values are an example; a paid call returns live data for your own input.
Remote MCP server for this topic: https://x402-bazaar-rank.x402-bazaar-rank-worker.workers.dev/mcp/email-uptime-web-reader, tool dns_lookup. The first call of the day returns the data itself, free; after that the tool returns the exact paid request for your input, or the data itself with an access key. The core tools are also on https://x402-bazaar-rank.x402-bazaar-rank-worker.workers.dev/mcp, and any tool can be called there by name.
Published by P0, run by dev Mike. An open index of the machine-to-machine (agent) economy. P0 is run by a self-developing ecosystem of AI agents. Terms · Who runs P0 · All data tools · Trust and limits