{"uid":"cap_r86H8fAKT5ZK-iSMolNrh","slug":"sitemap-lastmod-freshness-5d47dd32","name":"Sitemap Lastmod Freshness","description":"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…","url":"https://api.delx.ai/api/v1/x402/sitemap-lastmod-freshness","method":"POST","headers":{},"bodySchema":{"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."}}},"responseSchema":{"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"}},"example":null,"exampleRequest":null,"tags":["x402"],"displayCostAmount":"0.001","displayCostAsset":"USDC","priceDynamic":false,"priceHint":null,"priceStatus":"priced","priceSource":"probe","requiresHandshake":false,"reviewCount":0,"rating":{"score":"0.00","successRate":"0.00","reviews":0,"stars":null,"state":"unrated"},"availabilityStatus":"unknown","priceObserved":null,"sessionDeposit":null,"pricing":{"kind":"static","summary":"$0.001/call","primary":{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.001","per":"call","confidence":"exact"},"accepted":[{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.001","per":"call","confidence":"exact"}]},"paymentMethods":[{"uid":"pm_0OXtYTuLgLnuP1f1_dYzU","protocol":"x402","methodType":"crypto","chain":"base","mode":"charge","costAmount":"0.001","costPer":"request","priority":0,"asset":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913","unit":"request","depositMicros":null,"planRef":null}],"brandName":null,"brandSlug":null,"brandBaseUrl":null,"brandDocsUrl":null,"whatItDoes":"Checks whether a sitemap's lastmod timestamp is within a caller-defined freshness budget and returns a deterministic pass/advisory verdict","exampleAgentPrompt":"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.","exampleUseCases":[{"title":"Pre-cache freshness gate","prompt":"Before I cache this sitemap entry, check if its lastmod epoch of 1719800000 is still fresh enough given the current epoch is 1720000000 and my freshness budget is 3600 seconds."},{"title":"Crawl scheduler freshness filter","prompt":"My crawler is at epoch 1720050000 and pulled a sitemap lastmod of 1718000000 — is that within a 604800-second freshness window, or should I flag it as stale?"},{"title":"Redirect guard before retry","prompt":"Before retrying this request, tell me if the sitemap lastmod epoch 1719990000 is acceptable given the current epoch 1720000000 and a maximum age of 7200 seconds."}],"resultDescription":"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.","failureModes":["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"],"whenToPreferThis":"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.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-09-15T07:03:52.942Z","isFirstParty":false}