{
  "format": "delx/intent-card/v1",
  "id": "hsts-policy-check-api",
  "intent": "HSTS Policy Check for an agent workflow",
  "title": "HSTS Policy Check API for agents",
  "description": "HSTS Policy Check: HSTS Policy Check checks HSTS max-age and subdomain directives against caller policy from bounded caller-supplied values without an external provider. Call HSTS Policy Check before accepting, caching, redirecting, or retrying a caller-supplied web response. Returns normalized web evidence, the computed finding, and an explicit pass or advisory status for HSTS Policy Check as versioned deterministic JSON. Price: $0.001 USDC via x402 on Base. First-party, stateless, memory-only execution with no paid upstream, live RPC, web search, credentials, custody, signing, media generator, or input retention. Honest limit: Evaluates only caller-supplied metadata; it performs no DNS lookup, HTTP request, web search, credential use, or persistent storage. Advisory output only; the buyer owns authorization, payment policy, and production decisions.",
  "keywords": [
    "HSTS Policy Check API",
    "HSTS Policy Check for agents",
    "pay per result API",
    "x402 API",
    "no API key"
  ],
  "updated_at": "2026-08-23",
  "canonical_url": "https://commerce.delx.ai/intents/hsts-policy-check-api",
  "machine_url": "https://commerce.delx.ai/intents/hsts-policy-check-api.json",
  "recommendation": {
    "tool_name": "util_hsts_policy_check",
    "service_name": "HSTS Policy Check",
    "method": "POST",
    "resource": "https://api.delx.ai/api/v1/x402/hsts-policy-check",
    "price_usdc": "0.001",
    "payment_protocols": [
      "x402",
      "mpp"
    ],
    "input_schema": {
      "$schema": "https://json-schema.org/draft/2020-12/schema",
      "type": "object",
      "properties": {
        "header": {
          "type": "string",
          "maxLength": 8192,
          "description": "Header supplied to HSTS Policy Check; used only for this bounded calculation and processed in memory without retention."
        },
        "minimum_seconds": {
          "type": "integer",
          "description": "Minimum Seconds supplied to HSTS Policy Check; used only for this bounded calculation and processed in memory without retention."
        },
        "require_subdomains": {
          "type": "boolean",
          "description": "Require Subdomains supplied to HSTS Policy Check; used only for this bounded calculation and processed in memory without retention."
        }
      },
      "required": [
        "header",
        "minimum_seconds",
        "require_subdomains"
      ],
      "additionalProperties": false
    },
    "example_input": {
      "header": "max-age=31536000; includeSubDomains",
      "minimum_seconds": 31536000,
      "require_subdomains": true
    },
    "example_output": {
      "schema": "delx/util-hsts-policy-check/v1",
      "operation": "web_reliability:hsts_policy_check",
      "status": "pass",
      "result": {
        "max_age_seconds": 31536000,
        "include_subdomains": true,
        "passed": true
      },
      "evidence": {
        "input_sha256": "f91d8b16767bb6c1225e616e67c4c99626e188225729eb1a7745334aa6398a81",
        "retained": false,
        "external_calls": 0
      }
    },
    "agentcash": {
      "buy": "npx agentcash@latest fetch https://api.delx.ai/api/v1/x402/hsts-policy-check -m POST -H 'x-delx-source: intent-card-hsts-policy-check-api' --max-amount 0.001 -b '{\"header\":\"max-age=31536000; includeSubDomains\",\"minimum_seconds\":31536000,\"require_subdomains\":true}'",
      "max_amount_usdc": "0.001"
    }
  },
  "attribution": {
    "header": "x-delx-source",
    "value": "intent-card-hsts-policy-check-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/hsts-policy-check"
  }
}
