{
  "format": "delx/intent-card/v1",
  "id": "dns-record-diff-api",
  "intent": "DNS Record Diff for an agent workflow",
  "title": "DNS Record Diff API for agents",
  "description": "Compare two bounded caller-supplied DNS record snapshots and return canonical added, removed, and unchanged records. Use after repeated DNS or MX inspections to detect an infrastructure change without another parser. Returns deterministic JSON for $0.001 USDC via x402 on Base; local-only, memory-only, and no DNS request is made.",
  "keywords": [
    "DNS Record Diff API",
    "DNS Record Diff for agents",
    "pay per result API",
    "x402 API",
    "no API key"
  ],
  "updated_at": "2026-08-23",
  "canonical_url": "https://commerce.delx.ai/intents/dns-record-diff-api",
  "machine_url": "https://commerce.delx.ai/intents/dns-record-diff-api.json",
  "recommendation": {
    "tool_name": "util_dns_record_diff",
    "service_name": "DNS Record Diff",
    "method": "POST",
    "resource": "https://api.delx.ai/api/v1/x402/dns-record-diff",
    "price_usdc": "0.001",
    "payment_protocols": [
      "x402",
      "mpp"
    ],
    "input_schema": {
      "type": "object",
      "properties": {
        "before": {
          "type": "array",
          "maxItems": 500
        },
        "after": {
          "type": "array",
          "maxItems": 500
        }
      },
      "required": [
        "before",
        "after"
      ],
      "additionalProperties": false
    },
    "example_input": {
      "before": [
        {
          "type": "A",
          "value": "192.0.2.1"
        }
      ],
      "after": [
        {
          "type": "A",
          "value": "192.0.2.2"
        }
      ]
    },
    "example_output": {
      "schema": "delx/util-dns-record-diff/v1",
      "changed": true,
      "added": [
        {
          "type": "A",
          "value": "192.0.2.2"
        }
      ],
      "removed": [
        {
          "type": "A",
          "value": "192.0.2.1"
        }
      ],
      "unchanged_count": 0,
      "before_count": 1,
      "after_count": 1
    },
    "agentcash": {
      "buy": "npx agentcash@latest fetch https://api.delx.ai/api/v1/x402/dns-record-diff -m POST -H 'x-delx-source: intent-card-dns-record-diff-api' --max-amount 0.001 -b '{\"before\":[{\"type\":\"A\",\"value\":\"192.0.2.1\"}],\"after\":[{\"type\":\"A\",\"value\":\"192.0.2.2\"}]}'",
      "max_amount_usdc": "0.001"
    }
  },
  "attribution": {
    "header": "x-delx-source",
    "value": "intent-card-dns-record-diff-api"
  },
  "evidence": {
    "paid_openapi": "https://api.delx.ai/openapi.x402.json",
    "governed_portfolio": "https://api.delx.ai/x402-portfolio.json",
    "live_contract": "https://api.delx.ai/api/v1/x402/dns-record-diff"
  }
}
