{
  "x402Version": 2,
  "id": 10994,
  "slug": "10994",
  "resource": "https://agentbit.app/v1/dns/inspect",
  "description": "Complete DNS inspection in one call over DNS-over-HTTPS: A, AAAA, MX, TXT, NS, CNAME, SOA and CAA records with TTLs — plus a derived email posture analysis (SPF present and policy, DMARC present and policy, MX count, overall assessment) that raw lookup tools don't do.",
  "type": "http",
  "accepts": [
    {
      "scheme": "exact",
      "network": "eip155:8453",
      "payTo": "0x4395C7e383b7e05665aad7f36ed77c01923Dd965",
      "asset": "0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913",
      "amount": "10000",
      "maxTimeoutSeconds": 300
    }
  ],
  "outputSchema": {
    "bazaar": {
      "info": {
        "description": "DNS inspection for agents auditing infrastructure, deliverability and counterparties. One call resolves all the record types that matter (A, AAAA, MX, TXT, NS, CNAME, SOA, CAA — or the subset you ask for) through Cloudflare's public DNS-over-HTTPS resolver, returning each record with its TTL. On top of the raw records it computes an email security posture: SPF record present and its all-policy (~all vs -all), DMARC record fetched from _dmarc.<domain> with its p= policy, MX count, and a one-word assessment (enforced / monitoring-only / partial / unprotected). CAA records show which CAs may issue certificates. Use it before trusting mail from a domain, when diagnosing deliverability, or as the DNS layer of a counterparty check alongside domain-intel and counterparty-risk.",
        "errors": [
          {
            "code": "PAYMENT_REQUIRED",
            "description": "Missing or invalid payment — retry with a valid PAYMENT-SIGNATURE header",
            "retryable": true,
            "status": 402
          },
          {
            "code": "VALIDATION_ERROR",
            "description": "Request body does not match the input schema",
            "retryable": false,
            "status": 422
          },
          {
            "code": "RATE_LIMITED",
            "description": "Too many requests from this client",
            "retryable": true,
            "status": 429
          },
          {
            "code": "UPSTREAM_TIMEOUT",
            "description": "Upstream data source unavailable — safe to retry",
            "retryable": true,
            "status": 502
          }
        ],
        "input": {
          "body": {
            "domain": "example.com",
            "types": [
              "A",
              "MX",
              "TXT"
            ]
          },
          "bodyType": "json",
          "method": "POST",
          "type": "http"
        },
        "networks": [
          "eip155:8453"
        ],
        "output": {
          "example": {
            "domain": "example.com",
            "email_posture": {
              "assessment": "partial",
              "dmarc_policy": null,
              "dmarc_present": false,
              "mx_count": 0,
              "spf_policy": "-all",
              "spf_present": true
            },
            "records": {
              "A": [
                {
                  "data": "93.184.215.14",
                  "name": "example.com",
                  "ttl": 300
                }
              ],
              "MX": {},
              "TXT": [
                {
                  "data": "v=spf1 -all",
                  "name": "example.com",
                  "ttl": 300
                }
              ]
            },
            "resolved": true
          },
          "type": "json"
        },
        "pricing": {
          "amount": 0.01,
          "currency": "USDC",
          "firstCallFree": true,
          "model": "per-call",
          "quoteHint": "Send your wallet address in an X-BUYER-WALLET header on the unpaid request to receive your personalized (volume-discounted) quote.",
          "volumeDiscounts": [
            {
              "minCalls30d": 100,
              "percent": 10
            },
            {
              "minCalls30d": 1000,
              "percent": 20
            }
          ]
        },
        "reliability": {
          "measuredAt": "2026-09-06T13:16:20+00:00",
          "p50LatencyMs": 284,
          "p95LatencyMs": 284,
          "sampleSize": 1,
          "successRatePercent": 100,
          "windowDays": 30
        }
      },
      "schema": {
        "$schema": "https://json-schema.org/draft/2020-12/schema",
        "properties": {
          "description": {
            "type": "string"
          },
          "errors": {
            "items": {
              "properties": {
                "code": {
                  "type": "string"
                },
                "description": {
                  "type": "string"
                },
                "retryable": {
                  "type": "boolean"
                },
                "status": {
                  "type": "integer"
                }
              },
              "required": [
                "status",
                "code"
              ],
              "type": "object"
            },
            "type": "array"
          },
          "input": {
            "additionalProperties": false,
            "properties": {
              "body": {
                "description": "DNS Inspector input. Complete DNS inspection in one call over DNS-over-HTTPS: A, AAAA, MX, TXT, NS, CNAME, SOA and CAA records with TTLs — plus a derived email posture analysis (SPF present and policy, DMARC present and policy, MX count, overall assessment) that raw lookup tools don't do.",
                "properties": {
                  "domain": {
                    "description": "Hostname to inspect, e.g. example.com",
                    "type": "string"
                  },
                  "types": {
                    "description": "Record types to query (default: all eight)",
                    "items": {
                      "enum": [
                        "A",
                        "AAAA",
                        "MX",
                        "TXT",
                        "NS",
                        "CNAME",
                        "SOA",
                        "CAA"
                      ],
                      "type": "string"
                    },
                    "type": "array"
                  }
                },
                "required": [
                  "domain"
                ],
                "type": "object"
              },
              "bodyType": {
                "enum": [
                  "json",
                  "form-data",
                  "text"
                ],
                "type": "string"
              },
              "headers": {
                "additionalProperties": {
                  "type": "string"
                },
                "type": "object"
              },
              "method": {
                "enum": [
                  "POST",
                  "PUT",
                  "PATCH"
                ],
                "type": "string"
              },
              "queryParams": {
                "additionalProperties": {
                  "type": "string"
                },
                "type": "object"
              },
              "type": {
                "const": "http",
                "type": "string"
              }
            },
            "required": [
              "type",
              "method",
              "bodyType",
              "body"
            ],
            "type": "object"
          },
          "networks": {
            "items": {
              "type": "string"
            },
            "type": "array"
          },
          "output": {
            "properties": {
              "example": {
                "type": "object"
              },
              "type": {
                "type": "string"
              }
            },
            "required": [
              "type"
            ],
            "type": "object"
          },
          "pricing": {
            "properties": {
              "amount": {
                "type": [
                  "number",
                  "null"
                ]
              },
              "currency": {
                "type": "string"
              },
              "firstCallFree": {
                "type": "boolean"
              },
              "maxAmount": {
                "type": "number"
              },
              "model": {
                "type": "string"
              },
              "quoteHint": {
                "type": "string"
              },
              "volumeDiscounts": {
                "items": {
                  "properties": {
                    "minCalls30d": {
                      "type": "integer"
                    },
                    "percent": {
                      "type": "number"
                    }
                  },
                  "required": [
                    "minCalls30d",
                    "percent"
                  ],
                  "type": "object"
                },
                "type": "array"
              }
            },
            "type": "object"
          },
          "reliability": {
            "properties": {
              "measuredAt": {
                "type": "string"
              },
              "p50LatencyMs": {
                "type": [
                  "integer",
                  "null"
                ]
              },
              "p95LatencyMs": {
                "type": [
                  "integer",
                  "null"
                ]
              },
              "sampleSize": {
                "type": "integer"
              },
              "successRatePercent": {
                "type": "number"
              },
              "windowDays": {
                "type": "integer"
              }
            },
            "required": [
              "successRatePercent",
              "sampleSize",
              "windowDays"
            ],
            "type": "object"
          }
        },
        "required": [
          "input"
        ],
        "type": "object"
      }
    }
  },
  "tags": [
    "bazaar"
  ],
  "sourceHost": "agentbit.app",
  "lastUpdated": "2026-09-06T13:16:20.31Z",
  "quality": {
    "calls30d": 1,
    "uniquePayers30d": 1,
    "lastCalledAt": "2026-09-06T13:16:19.757Z"
  },
  "liveness": {},
  "verified": false,
  "featured": false,
  "provider": {
    "host": "agentbit.app",
    "manifest_name": "agentbit.app",
    "source": "cdp-mirror",
    "source_manifest_url": "https://api.cdp.coinbase.com/platform/v2/x402/discovery/resources",
    "submitted_at": "2026-09-18T22:00:31.484Z"
  }
}