{
  "x402Version": 2,
  "id": 6347,
  "slug": "6347",
  "resource": "https://api.macaroonnetwork.com/execute/domain-dns-check-v1",
  "description": "Part of the Domain Web Trust family: live DNS resolution check for a domain, useful for confirming a domain has valid DNS before an agent interacts with a website or merchant. Reports whether it resolves and to which IPv4/IPv6 addresses. Queries the public DNS protocol directly at request time -- no third-party dataset, no cached or scraped WHOIS/registry data, so there is no resale-terms question.",
  "type": "http",
  "accepts": [
    {
      "scheme": "exact",
      "network": "eip155:8453",
      "payTo": "0x33cc8de6e86761d217044a8a6b394ad23b579596",
      "asset": "0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913",
      "amount": "1000",
      "maxTimeoutSeconds": 60
    }
  ],
  "outputSchema": {
    "bazaar": {
      "info": {
        "input": {
          "body": {
            "input": {
              "domain": "example.com"
            },
            "predicate": {
              "conditions": [
                {
                  "field": "$.resolves",
                  "operator": "eq",
                  "type": "field_changed",
                  "value": true
                },
                {
                  "field": "$.addresses",
                  "type": "count_gte",
                  "value": 1
                }
              ],
              "type": "all"
            }
          },
          "bodyType": "json",
          "method": "POST",
          "type": "http"
        },
        "output": {
          "example": {
            "payload": {
              "addresses": [],
              "domain": "",
              "resolves": false
            },
            "predicate_passed": true,
            "settled": true
          },
          "type": "json"
        }
      },
      "schema": {
        "$schema": "https://json-schema.org/draft/2020-12/schema",
        "properties": {
          "input": {
            "additionalProperties": false,
            "properties": {
              "body": {
                "type": "object"
              },
              "bodyType": {
                "enum": [
                  "json",
                  "form-data",
                  "text"
                ],
                "type": "string"
              },
              "method": {
                "enum": [
                  "POST",
                  "PUT",
                  "PATCH"
                ],
                "type": "string"
              },
              "type": {
                "const": "http",
                "type": "string"
              }
            },
            "required": [
              "type",
              "method",
              "bodyType",
              "body"
            ],
            "type": "object"
          },
          "output": {
            "properties": {
              "example": {
                "type": "object"
              },
              "type": {
                "type": "string"
              }
            },
            "required": [
              "type"
            ],
            "type": "object"
          }
        },
        "required": [
          "input"
        ],
        "type": "object"
      }
    }
  },
  "tags": [
    "bazaar"
  ],
  "sourceHost": "api.macaroonnetwork.com",
  "lastUpdated": "2026-09-05T19:00:47.615Z",
  "quality": {
    "calls30d": 1,
    "uniquePayers30d": 1,
    "lastCalledAt": "2026-09-05T19:00:47.205Z"
  },
  "liveness": {},
  "verified": false,
  "featured": false,
  "provider": {
    "host": "api.macaroonnetwork.com",
    "manifest_name": "api.macaroonnetwork.com",
    "source": "cdp-mirror",
    "source_manifest_url": "https://api.cdp.coinbase.com/platform/v2/x402/discovery/resources",
    "submitted_at": "2026-09-18T22:00:31.484Z"
  }
}