# Domain DNS WHOIS Email Check

> Domain DNS WHOIS Email Check is a paid API for AI agents from api.stablecoingateways.com, paid per call via x402, $0.003/call, status unknown (last checked 2026-10-29).

Looks up a domain's DNS records, WHOIS/RDAP registration details, and email authentication posture (SPF, DMARC, DKIM, MTA-STS) plus HTTPS/HSTS status in a single call.

## Facts

- Endpoint: GET https://api.stablecoingateways.com/v1/domain-facts?utm_source=zero.xyz
- Price: $0.003/call
- Payment: x402
- Status: unknown
- Last checked: 2026-10-29
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/domain-dns-whois-email-check-a07c2a02
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_vYyHBbyiNtNkGQMRv8Suu

Status and success rate cover calls made through Zero and Zero's own probes. Third-party monitors may report differently.

## How to call it through Zero

Zero handles the 402 payment challenge and records the run. With the Zero CLI installed (`npm i -g @zeroxyz/cli`):

```sh
zero fetch --capability domain-dns-whois-email-check-a07c2a02
```

Example prompt: Can you check the DNS setup and email authentication posture for sendgrid.com — I want to know if it has SPF, DMARC, DKIM, and MTA-STS configured, plus who registered it and when it expires?

## When to prefer this

Use this endpoint when you need a comprehensive, single-call snapshot of a domain's DNS infrastructure, email authentication configuration, and registration metadata. It is ideal for email deliverability audits, phishing/suspicious domain triage, vendor due diligence, and domain age checks. Prefer it over manual DNS lookups or separate WHOIS tools when you need SPF+DMARC+DKIM+MTA-STS all in one response with a signed receipt for audit trails.

## Known failure modes

- Domain does not exist or has no DNS records — returns exists: false with minimal data
- RDAP registry unavailable for TLD — rdap.note field explains fallback or missing registration data
- DKIM selectors not found for common defaults — dkim_selectors_found may be empty
- Domain pattern validation fails (too short, invalid chars) — 400 error
- Payment not received or insufficient — 402 Payment Required before data is returned
- HTTPS probe times out — https.reachable set to false, status may be absent

## How this service works

Domain lookup (DNS, WHOIS/RDAP, email security): give a domain or hostname, get DNS records (A, AAAA, MX, NS, TXT, CAA), SPF, DMARC, DKIM and MTA-STS email-auth posture, HTTPS/HSTS status, and registrar, creation and expiry dates from registry RDAP. Use when checking a domain's setup, deliverability or age. No personal data. Signed receipt.

## Output

Returns a JSON object with: DNS records (A, AAAA, MX, NS, TXT count, CAA), RDAP registration data (registrar, registered/expiry dates, nameservers, DNSSEC signed, domain availability), HTTPS probe result (reachable, HTTP status, HSTS, redirect host), email authentication posture (SPF record details, DMARC policy, DKIM selectors found, MTA-STS), whether the domain exists, data sources used, and a signed payment receipt including tx hash and response hash.

## Request schema (JSON Schema)

```json
{
 "type": "object",
 "$schema": "https://json-schema.org/draft/2020-12/schema",
 "required": [
  "input"
 ],
 "properties": {
  "input": {
   "type": "object",
   "required": [
    "type",
    "method"
   ],
   "properties": {
    "type": {
     "type": "string",
     "const": "http"
    },
    "method": {
     "enum": [
      "GET"
     ],
     "type": "string"
    },
    "headers": {
     "type": "object",
     "additionalProperties": {
      "type": "string"
     }
    },
    "queryParams": {
     "type": "object",
     "required": [
      "domain"
     ],
     "properties": {
      "domain": {
       "type": "string",
       "pattern": "^[A-Za-z0-9.-]{3,253}$",
       "description": "Registrable domain or full hostname"
      }
     },
     "additionalProperties": false
    }
   },
   "additionalProperties": false
  },
  "output": {
   "type": "object",
   "required": [
    "type"
   ],
   "properties": {
    "type": {
     "type": "string"
    },
    "example": {
     "type": "object",
     "required": [
      "data",
      "receipt"
     ],
     "properties": {
      "data": {
       "type": "object",
       "$schema": "https://json-schema.org/draft/2020-12/schema",
       "properties": {
        "dns": {
         "type": "object",
         "properties": {
          "a": {
           "type": "array",
           "items": {
            "type": "string"
           }
          },
          "mx": {
           "type": "array",
           "items": {
            "type": "object"
           }
          },
          "ns": {
           "type": "array",
           "items": {
            "type": "string"
           }
          },
          "caa": {
           "type": "array",
           "items": {}
          },
          "aaaa": {
           "type": "array",
           "items": {
            "type": "string"
           }
          },
          "txt_count": {
           "type": "integer"
          },
          "dnssec_validated_answer": {
           "type": "boolean"
          }
         }
        },
        "rdap": {
         "type": "object",
         "properties": {
          "note": {
           "type": "string"
          },
          "source": {
           "type": "string"
          },
          "status": {
           "type": "array",
           "items": {
            "type": "string"
           }
          },
          "expires": {
           "type": "string"
          },
          "available": {
           "type": "boolean"
          },
          "registra
… (truncated)
```

## Response schema (JSON Schema)

```json
{
 "type": "json",
 "example": {
  "data": {
   "dns": {
    "a": [
     "104.20.23.154"
    ],
    "mx": [
     {}
    ],
    "ns": [
     "hera.ns.cloudflare.com"
    ],
    "caa": [],
    "aaaa": [
     "2606:4700:10::ac42:93f3"
    ]
   },
   "rdap": {
    "source": "https://rdap.verisign.com/com/v1/",
    "available": true,
    "registrar": "RESERVED-Internet Assigned Numbers Authority",
    "registered_domain": "example.com",
    "registrar_iana_id": "376"
   },
   "https": {
    "hsts": null,
    "probed": true,
    "status": 200,
    "reachable": true,
    "redirect_host": null
   },
   "notes": "TLS certificate details are not inspected from Workers; https.reachable reflects a succ...",
   "domain": "example.com",
   "exists": true,
   "sources": [
    "DNS via Cloudflare DoH (cloudflare-dns.com)"
   ],
   "mail_auth": {
    "spf": {
     "present": true,
     "includes": [],
     "all_qualifier": "-all",
     "dns_lookup_terms": 0,
     "multiple_records": false
    },
    "dmarc": {
     "pct": 100,
     "adkim": "s",
     "policy": "reject",
     "present": true,
     "subdomain_policy": "reject"
    },
    "mta_sts": false,
    "dkim_selectors_found": [
     {}
    ],
    "dkim_selectors_checked": [
     "default"
    ]
   },
   "checked_at": "2026-10-22T09:01:19.207Z"
  },
  "receipt": {
   "v": 1,
   "ts": "2026-10-22T09:00:00Z",
   "sig": "hex",
   "price": {
    "asset": "USDC",
    "amount": "3000",
    "network": "eip155:84532"
   },
   "log_seq": 1,
   "tx_hash": "0x..",
   "endpoint_id": "domain-facts-v1",
   "request_hash": "hex",
   "response_hash": "hex"
  }
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/domain-dns-whois-email-check-a07c2a02/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from api.stablecoingateways.com](https://www.zero.xyz/host/api.stablecoingateways.com/llms.txt)
