{"uid":"cap_Dp2rtsGPgboLNe1ifoqNN","slug":"delx-commerce-sitemap-lastmod-freshness-check-61433ba8","name":"Delx Commerce — Sitemap Lastmod Freshness Check","description":"Pay-per-result APIs for agents. No signup. Exact price. Verifiable delivery. USDC on Base + Solana via x402.","url":"https://commerce.delx.ai/api/v1/x402/sitemap-lastmod-freshness?utm_source=zero.xyz","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_FiMAnmjpUe2oFk4vsa4_t","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":"Determines whether a sitemap entry is still fresh by comparing its lastmod timestamp to the current time against a configurable maximum age threshold.","exampleAgentPrompt":"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.","exampleUseCases":[{"title":"Pre-crawl freshness validation","prompt":"Before I crawl this page, check if its sitemap lastmod epoch of 1699900000 is still fresh as of epoch 1700500000, using a maximum age of 3600 seconds — I only want to re-index pages that have changed recently."},{"title":"SEO audit staleness detection","prompt":"I'm auditing my sitemap. Can you tell me if the entry with lastmod epoch 1698000000 is stale as of epoch 1700600000, given that anything older than 604800 seconds (7 days) is too old?"},{"title":"Content monitoring freshness gate","prompt":"My monitoring pipeline needs to check whether a page last modified at epoch 1700590000 is still considered fresh at epoch 1700600000 with a maximum age of 86400 seconds — return the age in seconds too."}],"resultDescription":"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.","failureModes":["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"],"whenToPreferThis":"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.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-10-02T04:57:43.306Z","isFirstParty":false,"canonicalSlug":"delx-commerce-sitemap-lastmod-freshness-check-61433ba8"}