Domain lookup API: DNS records, WHOIS age and SPF/DMARC

$0.005 per call · failed calls are never charged · no account or subscription: pay per call with a card key or USDC

Domain intelligence in one call: DNS records (A, AAAA, CNAME, MX, NS, TXT, CAA), DNSSEC status, registrar, registration and expiry dates with domain age in days (RDAP/WHOIS), and email authentication (SPF and DMARC records and policies, whether the domain accepts mail). Use for lead qualification, phishing and trust checks, and deliverability audits. For a trust verdict with named flags use domain_report.

When to use it

Guide: Domain WHOIS and DNS lookup API

Run it free (25 free calls) Buy credits by card (from $1) Example result (JSON)

Try it with your own inputs

Domain name, e.g. cloudflare.com

Uses one of your 25 free calls. Nothing is charged, and a call that fails is not counted.

Inputs

NameTypeDescription
name (required)stringDomain name, e.g. cloudflare.com

Request

Over HTTP, with a card key from /credits:

curl -H "Authorization: Bearer adt_…" "https://tools.funwords.eu/domain?name=cloudflare.com"

Or one of your 25 free calls, no key:

curl "https://tools.funwords.eu/domain?name=cloudflare.com&trial=1"

Without a key, the same URL answers 402 Payment Required with x402 and MPP terms, so an agent with a wallet pays per call in USDC (Base, Polygon, Arbitrum or Solana over x402; Base or Tempo over MPP) and retries.

Example result

{
  "domain": "cloudflare.com",
  "exists": true,
  "dns": {
    "a": [
      "104.16.132.229",
      "104.16.133.229"
    ],
    "mx": [
      {
        "priority": 5,
        "host": "mxa-canary.global.inbound.cf-emailsecurity.net"
      }
    ],
    "ns": [
      "ns3.cloudflare.com",
      "ns4.cloudflare.com"
    ],
    "dnssecValidated": true
  },
  "email": {
    "acceptsMail": true,
    "spfPolicy": "-all",
    "dmarcPolicy": "reject"
  },
  "registration": {
    "registrableDomain": "cloudflare.com",
    "registrar": "Cloudflare, Inc.",
    "registeredAt": "2009-02-17T22:07:54Z",
    "expiresAt": "2033-02-17T22:07:54Z",
    "ageDays": 6441,
    "dnssecSigned": true
  }
}

From an AI agent (MCP)

Add the MCP server to Claude, Cursor or any MCP client. This tool is domain, and the first 25 successful calls are free:

https://tools.funwords.eu/mcp

Questions

Which records are included?

A, AAAA, CNAME, MX, NS, TXT and CAA, plus DNSSEC status, RDAP/WHOIS dates and the SPF and DMARC policies.

How do I pay?

Each successful call costs $0.005; failed calls are not charged. The first 25 calls are free. Then pay with card credits (from $1; the key goes in an Authorization header or, for clients that can only fetch a URL, as api_key= in the URL) or per call in USDC over x402 or MPP. No account is needed.

Related tools