{
  "x402Version": 2,
  "id": 4857,
  "slug": "4857",
  "resource": "https://api.fetchx402.com/v1/tools/dns",
  "description": "Resolve public DNS records (A, AAAA, MX, TXT, CNAME, NS, SOA) for a domain. Use when you need live DNS data and must not guess from memory or training data.",
  "type": "http",
  "accepts": [
    {
      "scheme": "exact",
      "network": "eip155:8453",
      "payTo": "0x33236133BecE789D551d0B5c4f9A50095d4b57d3",
      "asset": "0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913",
      "amount": "5000",
      "maxTimeoutSeconds": 60
    }
  ],
  "outputSchema": {
    "bazaar": {
      "info": {
        "iconUrl": "https://api.fetchx402.com/favicon.ico",
        "input": {
          "method": "GET",
          "queryParams": {
            "domain": "example.com",
            "type": "A"
          },
          "type": "http"
        },
        "output": {
          "example": {
            "domain": "example.com",
            "rcode": "NOERROR",
            "records": [
              {
                "address": "104.20.23.154"
              }
            ],
            "resolver": "1.1.1.1",
            "ttl": 20,
            "type": "A"
          },
          "type": "json"
        }
      },
      "schema": {
        "$schema": "https://json-schema.org/draft/2020-12/schema",
        "properties": {
          "input": {
            "additionalProperties": false,
            "properties": {
              "headers": {
                "additionalProperties": {
                  "type": "string"
                },
                "type": "object"
              },
              "method": {
                "enum": [
                  "GET",
                  "HEAD",
                  "DELETE"
                ],
                "type": "string"
              },
              "queryParams": {
                "properties": {
                  "domain": {
                    "description": "Public fully-qualified domain name to resolve, such as example.com. IPs, localhost, and internal/mDNS names are rejected.",
                    "type": "string"
                  },
                  "type": {
                    "description": "DNS record type. A = IPv4 addresses, AAAA = IPv6, MX = mail exchangers, TXT = text (SPF/DKIM), CNAME = alias, NS = nameservers, SOA = start of authority. Defaults to A if omitted.",
                    "enum": [
                      "A",
                      "AAAA",
                      "MX",
                      "TXT",
                      "CNAME",
                      "NS",
                      "SOA"
                    ],
                    "type": "string"
                  }
                },
                "required": [
                  "domain"
                ],
                "type": "object"
              },
              "type": {
                "const": "http",
                "type": "string"
              }
            },
            "required": [
              "type",
              "method"
            ],
            "type": "object"
          },
          "output": {
            "properties": {
              "example": {
                "type": "object"
              },
              "type": {
                "type": "string"
              }
            },
            "required": [
              "type"
            ],
            "type": "object"
          }
        },
        "required": [
          "input"
        ],
        "type": "object"
      }
    }
  },
  "tags": [
    "bazaar"
  ],
  "sourceHost": "api.fetchx402.com",
  "lastUpdated": "2026-08-24T01:39:09.51Z",
  "quality": {
    "calls30d": 2,
    "uniquePayers30d": 2,
    "lastCalledAt": "2026-08-24T01:39:09.173Z"
  },
  "liveness": {},
  "verified": false,
  "featured": false,
  "provider": {
    "host": "api.fetchx402.com",
    "manifest_name": "api.fetchx402.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"
  }
}