DNS lookup for a website's domain

$0.002 per call20 free calls/day via MCP

DNS lookup for a website's domain: A, AAAA, CNAME, MX, NS, TXT and CAA records, via Cloudflare DNS-over-HTTPS. Pass a URL or bare hostname. Fast (under 2 s).

dnsdomainmxtxtnameserversnetworkinfrastructure

Call it from an AI agent (MCP)

Add the remote MCP server https://www.aypiai.online/mcp (Streamable HTTP, no auth) to Claude, Cursor, ChatGPT or any MCP client, then call the tool dns:

{
  "name": "dns",
  "arguments": {
    "url": "https://stripe.com"
  }
}

Call it over HTTP

curl -X POST https://www.aypiai.online/api/dns \
  -H "Content-Type: application/json" \
  -H "X-Access-Key: YOUR_CREDIT_KEY" \
  -d '{"url":"https://stripe.com"}'

No key? Without one the endpoint answers 402 Payment Required with an x402 PAYMENT-REQUIRED header: any x402 client (USDC on Base, gasless) pays $0.002 and retries automatically. Or buy card credits at /credits (from $5, valid on all tools). Failed calls are never charged.

Input

{
  "type": "object",
  "properties": {
    "url": {
      "type": "string",
      "description": "Public http(s) URL"
    }
  },
  "required": [
    "url"
  ]
}

Example output

{
  "host": "stripe.com",
  "A": [
    "1.2.3.4"
  ],
  "MX": [
    "10 aspmx.l.google.com."
  ],
  "NS": [
    "ns-1.awsdns.com."
  ],
  "TXT": [
    "v=spf1 ..."
  ]
}

Related tools

Get the raw HTTP response headers of any URL, with status code, final URL after redirects and response time ($0.001) · Check a domain's email setup and spoofing protection ($0.003) · Domain registration data via RDAP (modern WHOIS) ($0.003)

Rever: website intelligence for AI agents. MCP server: https://www.aypiai.online/mcp · x402 catalog: /.well-known/x402