{
  "x402Version": 2,
  "id": 1161,
  "slug": "1161",
  "resource": "https://gateway.stride20k.com/network/dns/:type/:name",
  "description": "DNS lookup API: resolve any DNS record via Cloudflare's 1.1.1.1 DNS-over-HTTPS resolver with DNSSEC validation status. Types A, AAAA, CNAME, MX, NS, TXT, SOA, CAA, SRV, PTR; returns the full answer section (name, type code, TTL, data). NXDOMAIN returns an unpaid 404. Use for infrastructure checks, email deliverability, domain verification, and security tooling by agents. Cached up to 5 minutes.",
  "type": "http",
  "accepts": [
    {
      "scheme": "exact",
      "network": "eip155:8453",
      "payTo": "0x552Cc4A10878C7F20574489D47184249657Ca3f6",
      "asset": "0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913",
      "amount": "2000",
      "maxTimeoutSeconds": 60
    }
  ],
  "outputSchema": {
    "bazaar": {
      "info": {
        "input": {
          "method": "GET",
          "pathParams": {
            "name": "example.com",
            "type": "A"
          },
          "queryParams": {},
          "type": "http"
        },
        "output": {
          "example": {
            "data": {
              "answers": [
                {
                  "data": "104.20.23.154",
                  "name": "example.com",
                  "ttl": 165,
                  "typeCode": 1
                }
              ],
              "dnssecValidated": true,
              "name": "example.com",
              "type": "A"
            },
            "endpoint": "/network/dns/:type/:name",
            "meta": {
              "attribution": null,
              "cached": false,
              "fetchedAt": "2026-07-04T00:00:00.000Z",
              "source": "Cloudflare DoH"
            },
            "ok": true
          },
          "type": "json"
        }
      },
      "routeTemplate": "/network/dns/:type/:name",
      "schema": {
        "$schema": "https://json-schema.org/draft/2020-12/schema",
        "properties": {
          "input": {
            "additionalProperties": false,
            "properties": {
              "method": {
                "enum": [
                  "GET"
                ],
                "type": "string"
              },
              "pathParams": {
                "properties": {
                  "name": {
                    "description": "Name to resolve (e.g. 'example.com', '_dmarc.example.com').",
                    "normalize": "hostname",
                    "pattern": "(_?[a-zA-Z0-9](?:[a-zA-Z0-9-]{0,61}[a-zA-Z0-9])?\\.)+(?:[a-zA-Z]{2,}|xn--[a-zA-Z0-9-]{2,})",
                    "type": "string"
                  },
                  "type": {
                    "description": "DNS record type.",
                    "enum": [
                      "A",
                      "AAAA",
                      "CNAME",
                      "MX",
                      "NS",
                      "TXT",
                      "SOA",
                      "CAA",
                      "SRV",
                      "PTR",
                      "DS",
                      "DNSKEY",
                      "HTTPS",
                      "SVCB",
                      "TLSA",
                      "NAPTR"
                    ],
                    "hint": "DNS record types are letters (A, AAAA, CNAME, MX, TXT, ...), never numeric chain IDs — see the enum list in this error's message.",
                    "missTrack": true,
                    "normalize": "upper",
                    "type": "string"
                  }
                },
                "required": [
                  "type",
                  "name"
                ],
                "type": "object"
              },
              "queryParams": {
                "properties": {},
                "type": "object"
              },
              "type": {
                "const": "http",
                "type": "string"
              }
            },
            "required": [
              "type",
              "method"
            ],
            "type": "object"
          },
          "output": {
            "properties": {
              "example": {
                "properties": {
                  "data": {
                    "properties": {
                      "answers": {
                        "description": "Answer records: { name, typeCode, ttl, data }.",
                        "type": "array"
                      },
                      "dnssecValidated": {
                        "description": "True if the resolver validated the response (AD bit).",
                        "type": "boolean"
                      },
                      "name": {
                        "description": "Queried name.",
                        "type": "string"
                      },
                      "type": {
                        "description": "Queried record type.",
                        "type": "string"
                      }
                    },
                    "required": [
                      "name",
                      "type",
                      "answers"
                    ],
                    "type": "object"
                  },
                  "endpoint": {
                    "description": "Always \"/network/dns/:type/:name\".",
                    "type": "string"
                  },
                  "meta": {
                    "properties": {
                      "attribution": {
                        "description": "Licensing attribution when the source requires it.",
                        "type": [
                          "string",
                          "null"
                        ]
                      },
                      "cached": {
                        "description": "Whether this response was served from cache.",
                        "type": "boolean"
                      },
                      "fetchedAt": {
                        "description": "ISO 8601 time the data was actually retrieved from the upstream.",
                        "type": "string"
                      },
                      "source": {
                        "description": "Upstream source: Cloudflare DoH.",
                        "type": "string"
                      }
                    },
                    "required": [
                      "source",
                      "cached",
                      "fetchedAt"
                    ],
                    "type": "object"
                  },
                  "ok": {
                    "description": "true on success.",
                    "type": "boolean"
                  }
                },
                "required": [
                  "ok",
                  "endpoint",
                  "data",
                  "meta"
                ],
                "type": "object"
              },
              "type": {
                "type": "string"
              }
            },
            "required": [
              "type"
            ],
            "type": "object"
          }
        },
        "required": [
          "input"
        ],
        "type": "object"
      }
    }
  },
  "tags": [
    "bazaar"
  ],
  "sourceHost": "gateway.stride20k.com",
  "lastUpdated": "2026-08-30T12:06:26.396Z",
  "quality": {
    "calls30d": 2,
    "uniquePayers30d": 1,
    "lastCalledAt": "2026-08-30T12:06:26.265Z"
  },
  "liveness": {},
  "verified": false,
  "featured": false,
  "provider": {
    "host": "gateway.stride20k.com",
    "manifest_name": "gateway.stride20k.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"
  }
}