{
 "route": "domain",
 "title": "Domain intel (RDAP + DNS + email auth)",
 "method": "GET",
 "price_usdc": 0.01,
 "amount_atomic": "10000",
 "request": {
  "method": "GET",
  "url": "https://utility.agentexchange.work/v1/domain/example.com",
  "headers": {
   "PAYMENT-SIGNATURE": "<base64 x402 v2 payment payload> (or X-PAYMENT for v1)"
  }
 },
 "captured_at": "2026-10-01T00:25:01.483Z",
 "captured_from": "live upstream, on first request; refreshed after 24 h",
 "response_200": {
  "domain": "example.com",
  "exists_in_dns": true,
  "rdap": {
   "registered": true,
   "registrar": "RESERVED-Internet Assigned Numbers Authority",
   "registrar_iana_id": "376",
   "created": "1995-08-14T04:00:00Z",
   "updated": "2026-08-14T08:01:43Z",
   "expires": "2027-08-13T04:00:00Z",
   "status": [
    "client delete prohibited",
    "client transfer prohibited",
    "client update prohibited"
   ],
   "nameservers": [
    "elliott.ns.cloudflare.com",
    "hera.ns.cloudflare.com"
   ],
   "dnssec_signed": true,
   "rdap_url": "https://rdap.verisign.com/com/v1/domain/example.com"
  },
  "dns": {
   "a": [
    "104.20.23.154",
    "172.66.147.243"
   ],
   "aaaa": [
    "2606:4700:10::6814:179a",
    "2606:4700:10::ac42:93f3"
   ],
   "cname": [],
   "mx": [
    {
     "priority": 0,
     "exchange": ".",
     "null_mx": true
    }
   ],
   "ns": [
    "elliott.ns.cloudflare.com",
    "hera.ns.cloudflare.com"
   ],
   "dnssec_validated": true,
   "status": "NOERROR"
  },
  "email_auth": {
   "spf": {
    "present": true,
    "record": "v=spf1 -all",
    "all": "-all",
    "multiple_records": false
   },
   "dmarc": {
    "present": true,
    "record": "v=DMARC1;p=reject;sp=reject;adkim=s;aspf=s",
    "policy": "reject",
    "subdomain_policy": "reject",
    "pct": null,
    "rua": null,
    "ruf": null,
    "multiple_records": false
   },
   "mta_sts": {
    "present": false
   },
   "null_mx": true
  },
  "census": {
   "url": "https://network.agentexchange.work/v1/access/example.com.json",
   "note": "free record from the Agent Exchange web censuses (security.txt, accessibility, AI-crawler rules) if this domain is in one; not fetched here and may answer 404"
  },
  "sources": {
   "rdap": "https://rdap.verisign.com/com/v1/domain/example.com",
   "dns": "Cloudflare 1.1.1.1 DNS over HTTPS (cloudflare-dns.com, JSON)"
  },
  "fetched_at": "2026-10-01T00:25:01.483Z",
  "route": "domain",
  "price_usdc": 0.01,
  "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/example.com",
   "description": "One-record domain intelligence: RDAP summary (registrar, created, expiry, status, DNSSEC), DNS A, AAAA, CNAME, MX and NS, email authentication (SPF record and its all-qualifier, DMARC policy and reporting, MTA-STS presence, null MX), and a link to the domain's free Agent Exchange census record. Call it to vet a domain, a sender or a vendor in one request instead of eight lookups.",
   "mimeType": "application/json",
   "serviceName": "Domain intel one-call",
   "tags": [
    "domains",
    "dns",
    "rdap",
    "email",
    "security"
   ],
   "iconUrl": "https://utility.agentexchange.work/icon.png"
  },
  "accepts": [
   {
    "scheme": "exact",
    "network": "eip155:8453",
    "amount": "10000",
    "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",
       "exists_in_dns": true,
       "rdap": {
        "registered": true,
        "registrar": "RESERVED-Internet Assigned Numbers Authority",
        "registrar_iana_id": "376",
        "created": "1995-08-14T04:00:00Z",
        "updated": "2026-08-14T08:01:43Z",
        "expires": "2027-08-13T04:00:00Z",
        "status": [
         "client delete prohibited",
         "client transfer prohibited",
         "client update prohibited"
        ],
        "nameservers": [
         "elliott.ns.cloudflare.com",
         "hera.ns.cloudflare.com"
        ],
        "dnssec_signed": true,
        "rdap_url": "https://rdap.verisign.com/com/v1/domain/example.com"
       },
       "dns": {
        "a": [
         "104.18.26.120",
         "104.18.27.120"
        ],
        "aaaa": [
         "2606:4700::6812:1a78",
         "2606:4700::6812:1b78"
        ],
        "cname": [],
        "mx": [
         {
          "priority": 0,
          "exchange": ".",
          "null_mx": true
         }
        ],
        "ns": [
         "elliott.ns.cloudflare.com",
         "hera.ns.cloudflare.com"
        ],
        "dnssec_validated": true,
        "status": "NOERROR"
       },
       "email_auth": {
        "spf": {
         "present": true,
         "record": "v=spf1 -all",
         "all": "-all",
         "multiple_records": false
        },
        "dmarc": {
         "present": true,
         "record": "v=DMARC1;p=reject;sp=reject;adkim=s;aspf=s",
         "policy": "reject",
         "subdomain_policy": "reject",
         "pct": null,
         "rua": null,
         "ruf": null,
         "multiple_records": false
        },
        "mta_sts": {
         "present": false
        },
        "null_mx": true
       },
       "census": {
        "url": "https://network.agentexchange.work/v1/access/example.com.json",
        "note": "free record from the Agent Exchange web censuses (security.txt, accessibility, AI-crawler rules) if this domain is in one; not fetched here and may answer 404"
       },
       "sources": {
        "rdap": "https://rdap.verisign.com/com/v1/domain/example.com",
        "dns": "Cloudflare 1.1.1.1 DNS over HTTPS (cloudflare-dns.com, JSON)"
       },
       "fetched_at": "2026-10-01T00:12:20.000Z"
      }
     }
    },
    "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"
          },
          "exists_in_dns": {
           "type": "boolean"
          },
          "rdap": {
           "type": "object",
           "properties": {
            "registered": {
             "type": "boolean"
            },
            "registrar": {
             "type": "string"
            },
            "registrar_iana_id": {
             "type": "string"
            },
            "created": {
             "type": "string"
            },
            "updated": {
             "type": "string"
            },
            "expires": {
             "type": "string"
            },
            "status": {
             "type": "array",
             "items": {
              "type": "string"
             }
            },
            "nameservers": {
             "type": "array",
             "items": {
              "type": "string"
             }
            },
            "dnssec_signed": {
             "type": "boolean"
            },
            "rdap_url": {
             "type": "string"
            }
           }
          },
          "dns": {
           "type": "object",
           "properties": {
            "a": {
             "type": "array",
             "items": {
              "type": "string"
             }
            },
            "aaaa": {
             "type": "array",
             "items": {
              "type": "string"
             }
            },
            "cname": {
             "type": "array"
            },
            "mx": {
             "type": "array",
             "items": {
              "type": "object",
              "properties": {
               "priority": {
                "type": "integer"
               },
               "exchange": {
                "type": "string"
               },
               "null_mx": {
                "type": "boolean"
               }
              }
             }
            },
            "ns": {
             "type": "array",
             "items": {
              "type": "string"
             }
            },
            "dnssec_validated": {
             "type": "boolean"
            },
            "status": {
             "type": "string"
            }
           }
          },
          "email_auth": {
           "type": "object",
           "properties": {
            "spf": {
             "type": "object",
             "properties": {
              "present": {
               "type": "boolean"
              },
              "record": {
               "type": "string"
              },
              "all": {
               "type": "string"
              },
              "multiple_records": {
               "type": "boolean"
              }
             }
            },
            "dmarc": {
             "type": "object",
             "properties": {
              "present": {
               "type": "boolean"
              },
              "record": {
               "type": "string"
              },
              "policy": {
               "type": "string"
              },
              "subdomain_policy": {
               "type": "string"
              },
              "pct": {
               "type": [
                "string",
                "number",
                "object",
                "null"
               ]
              },
              "rua": {
               "type": [
                "string",
                "number",
                "object",
                "null"
               ]
              },
              "ruf": {
               "type": [
                "string",
                "number",
                "object",
                "null"
               ]
              },
              "multiple_records": {
               "type": "boolean"
              }
             }
            },
            "mta_sts": {
             "type": "object",
             "properties": {
              "present": {
               "type": "boolean"
              }
             }
            },
            "null_mx": {
             "type": "boolean"
            }
           }
          },
          "census": {
           "type": "object",
           "properties": {
            "url": {
             "type": "string"
            },
            "note": {
             "type": "string"
            }
           }
          },
          "sources": {
           "type": "object",
           "properties": {
            "rdap": {
             "type": "string"
            },
            "dns": {
             "type": "string"
            }
           }
          },
          "fetched_at": {
           "type": "string"
          }
         }
        }
       },
       "required": [
        "type"
       ]
      }
     },
     "required": [
      "input"
     ]
    },
    "routeTemplate": "/v1/domain/:domain"
   }
  },
  "message": "Pay $0.01 USDC on Base and retry with PAYMENT-SIGNATURE (v2) or X-PAYMENT (v1).",
  "price": "$0.01",
  "price_usdc": 0.01,
  "amount_atomic": "10000",
  "input_example": "https://utility.agentexchange.work/v1/domain/example.com",
  "docs": {
   "openapi": "https://utility.agentexchange.work/openapi.json",
   "llms": "https://utility.agentexchange.work/llms.txt",
   "sample": "https://utility.agentexchange.work/samples/domain.json",
   "terms": "https://utility.agentexchange.work/terms"
  }
 },
 "docs": "https://utility.agentexchange.work/llms.txt"
}