{
 "route": "domain-rdap",
 "title": "RDAP domain registration",
 "method": "GET",
 "price_usdc": 0.005,
 "amount_atomic": "5000",
 "request": {
  "method": "GET",
  "url": "https://utility.agentexchange.work/v1/domain/rdap/example.com",
  "headers": {
   "PAYMENT-SIGNATURE": "<base64 x402 v2 payment payload> (or X-PAYMENT for v1)"
  }
 },
 "captured_at": "2026-10-01T00:24:57.792Z",
 "captured_from": "live upstream, on first request; refreshed after 24 h",
 "response_200": {
  "domain": "example.com",
  "registered": true,
  "ldh_name": "example.com",
  "unicode_name": null,
  "handle": "2336799_DOMAIN_COM-VRSN",
  "registrar": {
   "name": "RESERVED-Internet Assigned Numbers Authority",
   "iana_id": "376",
   "abuse_email": null,
   "abuse_phone": null,
   "rdap_url": null
  },
  "created": "1995-08-14T04:00:00Z",
  "updated": "2026-08-14T08:01:43Z",
  "expires": "2027-08-13T04:00:00Z",
  "rdap_database_updated": "2026-10-01T00:24:43Z",
  "status": [
   "client delete prohibited",
   "client transfer prohibited",
   "client update prohibited"
  ],
  "nameservers": [
   "elliott.ns.cloudflare.com",
   "hera.ns.cloudflare.com"
  ],
  "dnssec": {
   "signed": true,
   "ds": [
    {
     "key_tag": 2371,
     "algorithm": 13,
     "digest_type": 2,
     "digest": "C988EC423E3880EB8DD8A46FE06CA230EE23F35B578D64E78B29C3E1C83D245A"
    }
   ]
  },
  "source": {
   "provider": "RDAP (registry server named by the IANA bootstrap)",
   "rdap_server": "https://rdap.verisign.com/com/v1/",
   "url": "https://rdap.verisign.com/com/v1/domain/example.com",
   "bootstrap": "https://data.iana.org/rdap/dns.json",
   "bootstrap_publication": "2026-09-30T23:00:03Z",
   "license": "public registration data as published by the registry under ICANN RDAP policy"
  },
  "fetched_at": "2026-10-01T00:24:57.787Z",
  "route": "domain-rdap",
  "price_usdc": 0.005,
  "payment": {
   "transaction": "0x… (settlement transaction hash)",
   "network": "eip155:8453",
   "payer": "0x… (payer address)"
  },
  "request_id": "…"
 },
 "response_402_without_payment": {
  "x402Version": 2,
  "error": "Payment required",
  "resource": {
   "url": "https://utility.agentexchange.work/v1/domain/rdap/example.com",
   "description": "Looks up a domain in its registry's RDAP server (found through the IANA bootstrap) and returns normalized JSON: registered yes/no, registrar name and IANA id, creation, last-change and expiry dates, EPP status codes, nameservers and DNSSEC delegation (DS records). Call it for WHOIS-style questions: who is the registrar, when does it expire, is it registered. TLDs without RDAP are refused with 400 before payment.",
   "mimeType": "application/json",
   "serviceName": "RDAP domain lookup",
   "tags": [
    "domains",
    "rdap",
    "whois",
    "registrar",
    "dns"
   ],
   "iconUrl": "https://utility.agentexchange.work/icon.png"
  },
  "accepts": [
   {
    "scheme": "exact",
    "network": "eip155:8453",
    "amount": "5000",
    "asset": "0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913",
    "payTo": "0xc91cE6291eDC0713ec753BAFBA002506ffb2b95c",
    "maxTimeoutSeconds": 300,
    "extra": {
     "name": "USD Coin",
     "version": "2"
    }
   }
  ],
  "extensions": {
   "bazaar": {
    "info": {
     "input": {
      "type": "http",
      "method": "GET",
      "pathParams": {
       "domain": "example.com"
      }
     },
     "output": {
      "type": "json",
      "example": {
       "domain": "example.com",
       "registered": true,
       "ldh_name": "example.com",
       "unicode_name": null,
       "handle": "2336799_DOMAIN_COM-VRSN",
       "registrar": {
        "name": "RESERVED-Internet Assigned Numbers Authority",
        "iana_id": "376",
        "abuse_email": null,
        "abuse_phone": null,
        "rdap_url": null
       },
       "created": "1995-08-14T04:00:00Z",
       "updated": "2026-08-14T08:01:43Z",
       "expires": "2027-08-13T04:00:00Z",
       "rdap_database_updated": "2026-10-01T00:11:58Z",
       "status": [
        "client delete prohibited",
        "client transfer prohibited",
        "client update prohibited"
       ],
       "nameservers": [
        "elliott.ns.cloudflare.com",
        "hera.ns.cloudflare.com"
       ],
       "dnssec": {
        "signed": true,
        "ds": [
         {
          "key_tag": 2371,
          "algorithm": 13,
          "digest_type": 2,
          "digest": "C988EC423E3880EB8DD8A46FE06CA230EE23F35B578D64E78B29C3E1C83D245A"
         }
        ]
       },
       "source": {
        "provider": "RDAP (registry server named by the IANA bootstrap)",
        "rdap_server": "https://rdap.verisign.com/com/v1/",
        "url": "https://rdap.verisign.com/com/v1/domain/example.com",
        "bootstrap": "https://data.iana.org/rdap/dns.json",
        "bootstrap_publication": "2026-09-30T23:00:03Z",
        "license": "public registration data as published by the registry under ICANN RDAP policy"
       },
       "fetched_at": "2026-10-01T00:12:09.422Z"
      }
     }
    },
    "schema": {
     "$schema": "https://json-schema.org/draft/2020-12/schema",
     "type": "object",
     "properties": {
      "input": {
       "type": "object",
       "properties": {
        "type": {
         "type": "string",
         "const": "http"
        },
        "method": {
         "type": "string",
         "enum": [
          "GET",
          "HEAD"
         ]
        },
        "pathParams": {
         "type": "object",
         "properties": {
          "domain": {
           "type": "string",
           "pattern": "^[A-Za-z0-9.-]+\\.[A-Za-z0-9-]+$",
           "maxLength": 253,
           "description": "domain name (IDN accepted, converted to punycode)"
          }
         },
         "required": [
          "domain"
         ]
        }
       },
       "required": [
        "type",
        "method"
       ],
       "additionalProperties": false
      },
      "output": {
       "type": "object",
       "properties": {
        "type": {
         "type": "string"
        },
        "example": {
         "type": "object",
         "properties": {
          "domain": {
           "type": "string"
          },
          "registered": {
           "type": "boolean"
          },
          "ldh_name": {
           "type": "string"
          },
          "unicode_name": {
           "type": [
            "string",
            "number",
            "object",
            "null"
           ]
          },
          "handle": {
           "type": "string"
          },
          "registrar": {
           "type": "object",
           "properties": {
            "name": {
             "type": "string"
            },
            "iana_id": {
             "type": "string"
            },
            "abuse_email": {
             "type": [
              "string",
              "number",
              "object",
              "null"
             ]
            },
            "abuse_phone": {
             "type": [
              "string",
              "number",
              "object",
              "null"
             ]
            },
            "rdap_url": {
             "type": [
              "string",
              "number",
              "object",
              "null"
             ]
            }
           }
          },
          "created": {
           "type": "string"
          },
          "updated": {
           "type": "string"
          },
          "expires": {
           "type": "string"
          },
          "rdap_database_updated": {
           "type": "string"
          },
          "status": {
           "type": "array",
           "items": {
            "type": "string"
           }
          },
          "nameservers": {
           "type": "array",
           "items": {
            "type": "string"
           }
          },
          "dnssec": {
           "type": "object",
           "properties": {
            "signed": {
             "type": "boolean"
            },
            "ds": {
             "type": "array",
             "items": {
              "type": "object",
              "properties": {
               "key_tag": {
                "type": "integer"
               },
               "algorithm": {
                "type": "integer"
               },
               "digest_type": {
                "type": "integer"
               },
               "digest": {
                "type": "string"
               }
              }
             }
            }
           }
          },
          "source": {
           "type": "object",
           "properties": {
            "provider": {
             "type": "string"
            },
            "rdap_server": {
             "type": "string"
            },
            "url": {
             "type": "string"
            },
            "bootstrap": {
             "type": "string"
            },
            "bootstrap_publication": {
             "type": "string"
            },
            "license": {
             "type": "string"
            }
           }
          },
          "fetched_at": {
           "type": "string"
          }
         }
        }
       },
       "required": [
        "type"
       ]
      }
     },
     "required": [
      "input"
     ]
    },
    "routeTemplate": "/v1/domain/rdap/:domain"
   }
  },
  "message": "Pay $0.005 USDC on Base and retry with PAYMENT-SIGNATURE (v2) or X-PAYMENT (v1).",
  "price": "$0.005",
  "price_usdc": 0.005,
  "amount_atomic": "5000",
  "input_example": "https://utility.agentexchange.work/v1/domain/rdap/example.com",
  "docs": {
   "openapi": "https://utility.agentexchange.work/openapi.json",
   "llms": "https://utility.agentexchange.work/llms.txt",
   "sample": "https://utility.agentexchange.work/samples/domain-rdap.json",
   "terms": "https://utility.agentexchange.work/terms"
  }
 },
 "docs": "https://utility.agentexchange.work/llms.txt"
}