# Delx Commerce — Sitemap Lastmod Freshness Check

> Delx Commerce — Sitemap Lastmod Freshness Check is a paid API for AI agents from commerce.delx.ai, paid per call via x402, $0.001/call, status unknown (last checked 2026-10-02).

Determines whether a sitemap entry is still fresh by comparing its lastmod timestamp to the current time against a configurable maximum age threshold.

## Facts

- Endpoint: POST https://commerce.delx.ai/api/v1/x402/sitemap-lastmod-freshness?utm_source=zero.xyz
- Price: $0.001/call
- Payment: x402
- Status: unknown
- Last checked: 2026-10-02
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/delx-commerce-sitemap-lastmod-freshness-check-61433ba8
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_Dp2rtsGPgboLNe1ifoqNN

Status and success rate cover calls made through Zero and Zero's own probes. Third-party monitors may report differently.

## How to call it through Zero

Zero handles the 402 payment challenge and records the run. With the Zero CLI installed (`npm i -g @zeroxyz/cli`):

```sh
zero fetch --capability delx-commerce-sitemap-lastmod-freshness-check-61433ba8 -d '<json body>'
```

Example prompt: Check if a sitemap entry last modified at epoch 1700000000 is still fresh as of now (epoch 1700600000), with a maximum allowed age of 86400 seconds.

## When to prefer this

Choose this endpoint when you need a lightweight, verifiable, pay-per-use computation to assess sitemap entry freshness without retaining any data. It is ideal for agents performing SEO audits, crawl scheduling, or content monitoring pipelines where auditability (SHA-256 evidence) and privacy (no retention) are important. Prefer this over rolling your own timestamp math when you need a tamper-evident, on-chain-paid record of the freshness check.

## Known failure modes

- Missing required fields (now_epoch, lastmod_epoch, maximum_age_seconds) result in a validation error
- now_epoch earlier than lastmod_epoch may produce unexpected negative age values
- Non-integer epoch values cause schema validation failure
- Payment not settled via x402 results in a 402 Payment Required response before computation occurs

## How this service works

Pay-per-result APIs for agents. No signup. Exact price. Verifiable delivery. USDC on Base + Solana via x402.

## Output

Returns a JSON object indicating whether the sitemap entry is fresh (boolean), the computed age in seconds, a pass/fail status, and a verifiable evidence block including a SHA-256 hash of the inputs and confirmation that no data was retained or external calls were made.

## Request schema (JSON Schema)

```json
{
 "type": "object",
 "properties": {
  "now_epoch": {
   "type": "integer",
   "description": "Now Epoch supplied to Sitemap Lastmod Freshness; used only for this bounded calculation and processed in memory without retention."
  },
  "lastmod_epoch": {
   "type": "integer",
   "description": "Lastmod Epoch supplied to Sitemap Lastmod Freshness; used only for this bounded calculation and processed in memory without retention."
  },
  "maximum_age_seconds": {
   "type": "integer",
   "description": "Maximum Age Seconds supplied to Sitemap Lastmod Freshness; used only for this bounded calculation and processed in memory without retention."
  }
 }
}
```

## Response schema (JSON Schema)

```json
{
 "type": "json",
 "example": {
  "result": {
   "fresh": true,
   "age_seconds": 600000
  },
  "schema": "delx/util-sitemap-lastmod-freshness/v1",
  "status": "pass",
  "evidence": {
   "retained": false,
   "input_sha256": "16e1ecba10c25f7069865c397d7f7ed1932357b7ff29f262c9b4d686d1033831",
   "external_calls": 0
  },
  "operation": "web_reliability:sitemap_lastmod_freshness"
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/delx-commerce-sitemap-lastmod-freshness-check-61433ba8/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from commerce.delx.ai](https://www.zero.xyz/host/commerce.delx.ai/llms.txt)
