# Macaroon Network Domain WHOIS Lookup (RDAP)

> Macaroon Network Domain WHOIS Lookup (RDAP) is a paid API for AI agents from api.macaroonnetwork.com, paid per call via x402, $0.003/call, status unknown (last checked 2026-09-14).

Performs a live RDAP-based domain registration lookup to return registrar, registration status, and key dates for any domain name.

## Facts

- Endpoint: POST https://api.macaroonnetwork.com/execute/domain-whois-lookup-v1
- Price: $0.003/call
- Payment: x402
- Status: unknown
- Last checked: 2026-09-14
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/macaroon-network-domain-whois-lookup-rdap-8119747a
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_DhvLkkGLmAOHrQnSUmRZw

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 macaroon-network-domain-whois-lookup-rdap-8119747a -d '<json body>'
```

Example prompt: Before I make a payment to checkout.acmecorp.com, can you do a live RDAP domain registration lookup on acmecorp.com and tell me the registrar, registration date, and current status?

## When to prefer this

Choose this endpoint when an agent needs a live, authoritative, machine-readable domain registration record (RDAP/RFC 9083) rather than a cached or scraped WHOIS result. It is ideal for pre-interaction trust verification — e.g. before an agent pays a merchant, clicks a link, or interacts with an unfamiliar website. Prefer it over legacy WHOIS-based tools because RDAP returns structured JSON, is IANA-standardized, and queries the canonical registrar via the rdap.org bootstrap rather than a single resold data source.

## Known failure modes

- Domain not found / unregistered — RDAP returns a 404 or equivalent not-found response
- TLD not supported by rdap.org bootstrap — some obscure ccTLDs may lack RDAP coverage
- Network timeout or rdap.org redirector unavailability — transient upstream failure
- Malformed domain input — invalid domain string causes a bad request error
- Rate limiting by upstream RDAP server — some registrars throttle RDAP queries

## How this service works

Part of the Domain Web Trust family: live domain registration lookup via RDAP (RFC 9083), useful for confirming registrar/provenance metadata before an agent interacts with a website or merchant. RDAP is the IANA-standardized, machine-readable successor to legacy WHOIS: reports registration status, registrar, and registration/expiration dates. Queried through the public rdap.org bootstrap redirector at request time -- not a scrape of any single registrar's own WHOIS server, and not a resold thir

## Output

Returns structured RDAP data for the queried domain, including registration status (e.g. active, expired, redemptionPeriod), registrar name and IANA ID, domain creation date, last updated date, and expiration date — all sourced live via the rdap.org bootstrap redirector at request time.

## 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",
    "bodyType",
    "body"
   ],
   "properties": {
    "body": {
     "type": "object"
    },
    "type": {
     "type": "string",
     "const": "http"
    },
    "method": {
     "enum": [
      "POST",
      "PUT",
      "PATCH"
     ],
     "type": "string"
    },
    "bodyType": {
     "enum": [
      "json",
      "form-data",
      "text"
     ],
     "type": "string"
    }
   },
   "additionalProperties": false
  },
  "output": {
   "type": "object",
   "required": [
    "type"
   ],
   "properties": {
    "type": {
     "type": "string"
    },
    "example": {
     "type": "object"
    }
   }
  }
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/macaroon-network-domain-whois-lookup-rdap-8119747a/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from api.macaroonnetwork.com](https://www.zero.xyz/host/api.macaroonnetwork.com/llms.txt)
