# Swift Bot Labs Toolbox – Domain RDAP Lookup

> Swift Bot Labs Toolbox – Domain RDAP Lookup is a paid API for AI agents from x402-toolbox.swiftbotlab.workers.dev, paid per call via x402, $0.01/call, status unknown (last checked 2026-10-31).

Queries the RDAP (Registration Data Access Protocol) for a domain name, returning registrar, status flags, creation/expiry dates, nameservers, DNSSEC status, and domain age.

## Facts

- Endpoint: GET https://x402-toolbox.swiftbotlab.workers.dev/v1/domain/rdap?utm_source=zero.xyz
- Price: $0.01/call
- Payment: x402
- Status: unknown
- Last checked: 2026-10-31
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/swift-bot-labs-toolbox-domain-rdap-lookup-77f1a6ea
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_1UlvRfLxMbiOJHK1CcAOX

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 swift-bot-labs-toolbox-domain-rdap-lookup-77f1a6ea
```

Example prompt: Can you pull up the RDAP registration record for stripe.com — I want to know the registrar, when it expires, whether DNSSEC is on, and its current status flags?

## When to prefer this

Use this endpoint when you need structured, machine-readable domain registration metadata (registrar, dates, status, nameservers, DNSSEC) without setting up a WHOIS parser or API key. Ideal for pay-per-call agent workflows where you only need occasional domain lookups, want RDAP-standard output, and prefer micro-payment billing in USDC over subscription accounts.

## Known failure modes

- Invalid or unregistered domain returns an error or ok:false
- TLD not supported by RDAP returns no data
- Network timeout to upstream RDAP registry
- Payment not received / x402 handshake failure causes 402 response before data is returned
- Rate limits at upstream RDAP registry cause slow or failed responses

## How this service works

62 small, deterministic utility APIs (DNS and e-mail checks, web extraction, EVM decoding, x402 checks, IP math, JSON/CSV, hashing, conversions). No account or API key: pay per call in USDC with x402.

## Output

Returns a JSON object with ok:true and a result containing: the domain name, DNSSEC boolean, array of status strings (e.g. 'client delete prohibited'), domain age in days, ISO 8601 creation and expiry timestamps, registrar name, and array of nameserver hostnames.

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

## Response schema (JSON Schema)

```json
{
 "type": "json",
 "example": {
  "ok": true,
  "tool": "domain-rdap",
  "result": {
   "dnssec": true,
   "domain": "example.com",
   "status": [
    "client delete prohibited"
   ],
   "ageDays": 11397,
   "created": "1995-08-14T04:00:00Z",
   "expires": "2026-08-13T04:00:00Z",
   "registrar": "RESERVED-Internet Assigned Numbers Authority",
   "nameservers": [
    "a.iana-servers.net"
   ]
  }
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/swift-bot-labs-toolbox-domain-rdap-lookup-77f1a6ea/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from x402-toolbox.swiftbotlab.workers.dev](https://www.zero.xyz/host/x402-toolbox.swiftbotlab.workers.dev/llms.txt)
