# DomFacts Domain Monitor

> DomFacts Domain Monitor is a paid API for AI agents from api.firstmention.uk, paid per call via x402, $0.01/call, status unknown (last checked 2026-11-20).

Creates a snapshot of a domain's WHOIS/DNS state and checks whether anything has changed since the last snapshot

## Facts

- Endpoint: GET https://api.firstmention.uk/s/domfacts/monitor?utm_source=zero.xyz
- Price: $0.01/call
- Payment: x402
- Status: unknown
- Last checked: 2026-11-20
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/domfacts-domain-monitor-1e26f0d1
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_8ob42Sf9DqP28SurE-pX0

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 domfacts-domain-monitor-1e26f0d1
```

Example prompt: Create a baseline snapshot for acmecorp.com and then check if anything has changed — specifically whether its nameservers or expiry date have shifted since the snapshot was stored.

## When to prefer this

Use this endpoint when you need lightweight, pay-per-call domain change detection without standing up your own polling infrastructure. It is ideal for monitoring specific domains for nameserver migrations, registrar transfers, or approaching expiry — especially in automated agent workflows where you want a stored baseline and diff rather than raw WHOIS data each time. Prefer alternatives if you need full WHOIS record details, bulk monitoring, or webhook-based push alerts.

## Known failure modes

- Domain not found or unresolvable — returns error or empty changes
- No prior snapshot exists when 'check' action is used — may return error or null baseline
- Rate limiting or payment failure via x402 — HTTP 402 response requiring USDC payment
- Invalid domain format in query param — validation error
- Network timeout reaching WHOIS/DNS data sources

## How this service works

Pay-per-call HTTP APIs, paid with x402 in USDC on Base (eip155:8453): agentkit, api-change-check, basedue, bizcal-api, chainread, check-sanctions, chgwatch, company-facts, domain-intel, domainkit, domfacts, due, edgar, funding-rates, fundinglens, pageaudit, solcheck, token-dd, txpreflight, walletprofile, web-extract, webmd, webread, websearch, x402-preflight, x402check, x402index. Each operation describes its service.

## Output

A JSON object indicating whether the domain has changed since the stored snapshot, the timestamp of the original snapshot, and a 'changes' object detailing specific differences — including old and new nameserver arrays and old/new days-until-expiry values.

## 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",
      "HEAD",
      "DELETE"
     ],
     "type": "string"
    },
    "headers": {
     "type": "object",
     "additionalProperties": {
      "type": "string"
     }
    },
    "queryParams": {
     "type": "object",
     "required": [
      "domain"
     ],
     "properties": {
      "action": {
       "enum": [
        "create",
        "check"
       ],
       "type": "string",
       "description": "create stores a snapshot; check returns what changed since the stored one"
      },
      "domain": {
       "type": "string",
       "description": "Domain name, e.g. example.com"
      }
     }
    }
   },
   "additionalProperties": false
  },
  "output": {
   "type": "object",
   "required": [
    "type"
   ],
   "properties": {
    "type": {
     "type": "string"
    },
    "example": {
     "type": "object",
     "properties": {
      "since": {
       "type": "string"
      },
      "action": {
       "type": "string"
      },
      "domain": {
       "type": "string"
      },
      "changed": {
       "type": "boolean"
      },
      "changes": {
       "type": "object",
       "properties": {
        "nameservers": {
         "type": "object",
         "properties": {
          "to": {
           "type": "array",
           "items": {
            "type": "string"
           }
          },
          "from": {
           "type": "array",
           "items": {
            "type": "string"
           }
          }
         }
        },
        "days_until_expiry": {
         "type": "object",
         "properties": {
          "to": {
           "type": "number"
          },
          "from": {
           "type": "number"
          }
         }
        }
       }
      }
     }
    }
   }
  }
 }
}
```

## Response schema (JSON Schema)

```json
{
 "type": "json",
 "example": {
  "since": "2026-11-02T23:17:14.008Z",
  "action": "check",
  "domain": "example.com",
  "changed": true,
  "changes": {
   "nameservers": {
    "to": [
     "elliott.ns.cloudflare.com"
    ],
    "from": [
     "a.iana-servers.net"
    ]
   },
   "days_until_expiry": {
    "to": 283,
    "from": 290
   }
  }
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/domfacts-domain-monitor-1e26f0d1/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from api.firstmention.uk](https://www.zero.xyz/host/api.firstmention.uk/llms.txt)
