{
  "format": "delx/intent-card/v1",
  "id": "last-modified-compare-api",
  "intent": "Last Modified Compare for an agent workflow",
  "title": "Last Modified Compare API for agents",
  "description": "Last Modified Compare: Last Modified Compare orders two Last-Modified instants and reports their delta from bounded caller-supplied values without an external provider. Call Last Modified Compare 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 Last Modified Compare 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": [
    "Last Modified Compare API",
    "Last Modified Compare for agents",
    "pay per result API",
    "x402 API",
    "no API key"
  ],
  "updated_at": "2026-08-23",
  "canonical_url": "https://commerce.delx.ai/intents/last-modified-compare-api",
  "machine_url": "https://commerce.delx.ai/intents/last-modified-compare-api.json",
  "recommendation": {
    "tool_name": "util_last_modified_compare",
    "service_name": "Last Modified Compare",
    "method": "POST",
    "resource": "https://api.delx.ai/api/v1/x402/last-modified-compare",
    "price_usdc": "0.001",
    "payment_protocols": [
      "x402",
      "mpp"
    ],
    "input_schema": {
      "$schema": "https://json-schema.org/draft/2020-12/schema",
      "type": "object",
      "properties": {
        "before_epoch": {
          "type": "integer",
          "description": "Before Epoch supplied to Last Modified Compare; used only for this bounded calculation and processed in memory without retention."
        },
        "after_epoch": {
          "type": "integer",
          "description": "After Epoch supplied to Last Modified Compare; used only for this bounded calculation and processed in memory without retention."
        }
      },
      "required": [
        "before_epoch",
        "after_epoch"
      ],
      "additionalProperties": false
    },
    "example_input": {
      "before_epoch": 1720000000,
      "after_epoch": 1720000120
    },
    "example_output": {
      "schema": "delx/util-last-modified-compare/v1",
      "operation": "web_reliability:last_modified_compare",
      "status": "pass",
      "result": {
        "delta_seconds": 120,
        "direction": "newer"
      },
      "evidence": {
        "input_sha256": "3af22a08d2240acef2720f15dceafc3801c8b2b7dffd60a82da13e82ad1839fb",
        "retained": false,
        "external_calls": 0
      }
    },
    "agentcash": {
      "buy": "npx agentcash@latest fetch https://api.delx.ai/api/v1/x402/last-modified-compare -m POST -H 'x-delx-source: intent-card-last-modified-compare-api' --max-amount 0.001 -b '{\"before_epoch\":1720000000,\"after_epoch\":1720000120}'",
      "max_amount_usdc": "0.001"
    }
  },
  "attribution": {
    "header": "x-delx-source",
    "value": "intent-card-last-modified-compare-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/last-modified-compare"
  }
}
