{
  "format": "delx/intent-card/v1",
  "id": "http-header-diff-api",
  "intent": "HTTP Header Diff for an agent workflow",
  "title": "HTTP Header Diff API for agents",
  "description": "Compare two caller-supplied HTTP header maps case-insensitively while redacting Authorization, Cookie, Set-Cookie, and Proxy-Authorization values. Use after header or TLS inspection to identify configuration drift and security-sensitive changes. Returns bounded deterministic JSON for $0.001 USDC via x402 on Base; no URL fetch or retention.",
  "keywords": [
    "HTTP Header Diff API",
    "HTTP Header Diff for agents",
    "pay per result API",
    "x402 API",
    "no API key"
  ],
  "updated_at": "2026-08-23",
  "canonical_url": "https://commerce.delx.ai/intents/http-header-diff-api",
  "machine_url": "https://commerce.delx.ai/intents/http-header-diff-api.json",
  "recommendation": {
    "tool_name": "util_http_header_diff",
    "service_name": "HTTP Header Diff",
    "method": "POST",
    "resource": "https://api.delx.ai/api/v1/x402/http-header-diff",
    "price_usdc": "0.001",
    "payment_protocols": [
      "x402",
      "mpp"
    ],
    "input_schema": {
      "type": "object",
      "properties": {
        "before": {
          "type": "object",
          "maxProperties": 200
        },
        "after": {
          "type": "object",
          "maxProperties": 200
        }
      },
      "required": [
        "before",
        "after"
      ],
      "additionalProperties": false
    },
    "example_input": {
      "before": {
        "content-type": "text/html",
        "strict-transport-security": "max-age=60"
      },
      "after": {
        "Content-Type": "text/html",
        "Strict-Transport-Security": "max-age=31536000"
      }
    },
    "example_output": {
      "schema": "delx/util-http-header-diff/v1",
      "changed": [
        {
          "name": "strict-transport-security",
          "before": "max-age=60",
          "after": "max-age=31536000"
        }
      ],
      "added": [],
      "removed": [],
      "unchanged_count": 1,
      "security_sensitive_changes": [
        "strict-transport-security"
      ],
      "credential_values_redacted": true
    },
    "agentcash": {
      "buy": "npx agentcash@latest fetch https://api.delx.ai/api/v1/x402/http-header-diff -m POST -H 'x-delx-source: intent-card-http-header-diff-api' --max-amount 0.001 -b '{\"before\":{\"content-type\":\"text/html\",\"strict-transport-security\":\"max-age=60\"},\"after\":{\"Content-Type\":\"text/html\",\"Strict-Transport-Security\":\"max-age=31536000\"}}'",
      "max_amount_usdc": "0.001"
    }
  },
  "attribution": {
    "header": "x-delx-source",
    "value": "intent-card-http-header-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/http-header-diff"
  }
}
