# Sitemap Lastmod Freshness

> Sitemap Lastmod Freshness is a paid API for AI agents from api.delx.ai, paid per call via x402, $0.001/call, status unknown (last checked 2026-09-15).

Checks whether a sitemap's lastmod timestamp is within a caller-defined freshness budget and returns a deterministic pass/advisory verdict

## Facts

- Endpoint: POST https://api.delx.ai/api/v1/x402/sitemap-lastmod-freshness
- Price: $0.001/call
- Payment: x402
- Status: unknown
- Last checked: 2026-09-15
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/sitemap-lastmod-freshness-5d47dd32
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_r86H8fAKT5ZK-iSMolNrh

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 sitemap-lastmod-freshness-5d47dd32 -d '<json body>'
```

Example prompt: Check whether this sitemap lastmod is still fresh: the current time is epoch 1720000000, the lastmod epoch is 1719500000, and my maximum acceptable age is 86400 seconds.

## When to prefer this

Use this endpoint when you need a deterministic, stateless freshness verdict for a sitemap lastmod timestamp against a caller-defined budget — especially when you want no external dependencies, no data retention, and an explicit pass/advisory status in structured JSON. Prefer this over custom logic when you need a versioned, auditable freshness check before caching, accepting, redirecting, or retrying a web response.

## Known failure modes

- Missing required fields (now_epoch, lastmod_epoch, or maximum_age_seconds) result in a validation error
- Non-integer epoch or age values cause schema rejection
- lastmod_epoch in the future relative to now_epoch may produce unexpected age calculations
- Payment failure via x402 prevents the call from completing

## How this service works

Sitemap Lastmod Freshness: Sitemap Lastmod Freshness calculates sitemap lastmod age against a caller freshness budget from bounded caller-supplied values without an external provider. Call Sitemap Lastmod Freshness 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 Sitemap Lastmod Freshness as versioned deterministic JSON. Price: $0.001 USDC via x402 on Base. First…

## Output

Returns versioned deterministic JSON containing the computed age of the lastmod relative to now, a normalized web evidence object, the specific finding, and an explicit pass or advisory status indicating whether the lastmod falls within the caller's freshness budget.

## 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/sitemap-lastmod-freshness-5d47dd32/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from api.delx.ai](https://www.zero.xyz/host/api.delx.ai/llms.txt)
