# AllTheBot Domain WHOIS

> AllTheBot Domain WHOIS is a paid API for AI agents from api.zkrobotics.fr, paid per call via x402, $0.003/call, status unknown (last checked 2026-10-10).

Looks up WHOIS/RDAP registration data for a domain name, returning registrar, status, creation/expiry dates, nameservers, and DNSSEC info.

## Facts

- Endpoint: GET https://api.zkrobotics.fr/x402/domain/whois?utm_source=zero.xyz
- Price: $0.003/call
- Payment: x402
- Status: unknown
- Last checked: 2026-10-10
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/allthebot-domain-whois-40bdf330
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_gyLG7B9vU8eXYz6NBLYV_

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 allthebot-domain-whois-40bdf330
```

Example prompt: Can you look up the WHOIS registration details for openai.com — I want to know who the registrar is, when it expires, and whether DNSSEC is enabled?

## When to prefer this

Choose this endpoint when you need structured, machine-readable WHOIS/RDAP data for a single domain without setting up an account or API key. It is ideal for AI agents needing pay-per-call domain registration lookups using USDC on Base. Prefer it over traditional WHOIS APIs when you want no subscription overhead and a clean JSON response with expiry countdown included.

## Known failure modes

- Domain not found or not registered returns registered: false with minimal data
- Invalid or malformed domain string may return an error
- RDAP bootstrap lookup may fail for obscure TLDs not covered by IANA
- Network timeout or upstream RDAP server unavailability
- Payment failure via x402 returns 402 before the query is executed

## How this service works

Pay-per-call APIs for AI agents over x402: token safety reports, Base and Ethereum on-chain reads, crypto prices, domain checks (DNS, WHOIS, SSL, email), finance data (FX, SEC), worldwide weather forecasts, France alerts, text AI, fun content. USDC on Base, no account, no API key.

## Output

Returns a JSON object with: domain name, registered boolean, registrar name, registrar IANA ID, creation/updated/expiry timestamps, days until expiry, list of nameservers, DNSSEC status, domain status flags (e.g. clientTransferProhibited), and the RDAP data source note.

## 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"
    },
    "queryParams": {
     "type": "object",
     "required": [
      "domain"
     ],
     "properties": {
      "domain": {
       "type": "string",
       "maxLength": 253
      }
     }
    }
   },
   "additionalProperties": false
  },
  "output": {
   "type": "object",
   "required": [
    "type"
   ],
   "properties": {
    "type": {
     "type": "string"
    },
    "example": {
     "type": "object"
    }
   }
  }
 }
}
```

## Response schema (JSON Schema)

```json
{
 "type": "json",
 "example": {
  "dnssec": false,
  "domain": "coinbase.com",
  "source": "RDAP (rdap.org, IANA bootstrap); registrant contacts are never returned",
  "status": [
   "client delete prohibited",
   "client transfer prohibited",
   "server update prohibited"
  ],
  "created": "2011-07-02T18:23:22Z",
  "expires": "2028-07-02T18:23:22Z",
  "updated": "2026-05-31T11:52:05Z",
  "registrar": "MarkMonitor Inc.",
  "registered": true,
  "nameservers": [
   "sam.ns.cloudflare.com",
   "sue.ns.cloudflare.com"
  ],
  "days_until_expiry": 632,
  "registrar_iana_id": "292"
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/allthebot-domain-whois-40bdf330/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from api.zkrobotics.fr](https://www.zero.xyz/host/api.zkrobotics.fr/llms.txt)
