{"uid":"cap_lDRlV3w4xD7_AEUlbRKNV","slug":"last-modified-compare-b5e75fd2","name":"Last Modified Compare","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, memo…","url":"https://api.delx.ai/api/v1/x402/last-modified-compare?utm_source=zero.xyz","method":"POST","headers":{},"bodySchema":{"type":"object","properties":{"after_epoch":{"type":"integer","description":"After Epoch supplied to Last Modified Compare; used only for this bounded calculation and processed in memory without retention."},"before_epoch":{"type":"integer","description":"Before Epoch supplied to Last Modified Compare; used only for this bounded calculation and processed in memory without retention."}}},"responseSchema":{"type":"json","example":{"result":{"direction":"newer","delta_seconds":120},"schema":"delx/util-last-modified-compare/v1","status":"pass","evidence":{"retained":false,"input_sha256":"3af22a08d2240acef2720f15dceafc3801c8b2b7dffd60a82da13e82ad1839fb","external_calls":0},"operation":"web_reliability:last_modified_compare"}},"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_v4_aq62dumoTPJM-gmEVd","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":"Compares two Last-Modified HTTP timestamps (as Unix epochs) and computes their delta against caller-supplied bounds, returning a pass/advisory status with normalized evidence.","exampleAgentPrompt":"Compare two Last-Modified timestamps for me — the before epoch is 1700000000 and the after epoch is 1700086400 — and tell me if the ordering and delta look valid, with a pass or advisory verdict.","exampleUseCases":[{"title":"Cache freshness check before storing","prompt":"Before I cache this web response, compare its Last-Modified times: the before epoch is 1699900000 and the after epoch is 1700000000 — is the delta within acceptable bounds and should I proceed?"},{"title":"Redirect safety validation","prompt":"I'm about to follow a redirect — can you compare the Last-Modified instants before_epoch 1698000000 and after_epoch 1698050000 and tell me if the modification ordering passes or raises an advisory?"},{"title":"Retry decision based on modification delta","prompt":"I got a response I'm considering retrying — check whether the Last-Modified timestamps make sense: before_epoch is 1701000000 and after_epoch is 1701003600, and let me know the computed delta and verdict."}],"resultDescription":"Returns a versioned deterministic JSON object containing: normalized Last-Modified evidence extracted from the inputs, the computed delta between the two epochs, and an explicit pass or advisory status indicating whether the timestamps satisfy the bounded comparison criteria.","failureModes":["Missing or invalid after_epoch or before_epoch integers — request rejected or malformed response","after_epoch earlier than before_epoch — may return advisory status rather than pass","Epochs outside plausible Unix timestamp range — validation may flag as anomalous","Payment failure via x402 protocol — endpoint returns 402 before processing"],"whenToPreferThis":"Use this endpoint when an agent needs a deterministic, stateless verdict on whether two Last-Modified HTTP timestamps are correctly ordered and within acceptable delta bounds — particularly before caching, accepting, redirecting, or retrying a web response. Prefer it over manual timestamp arithmetic when you need a normalized, auditable JSON result with an explicit pass/advisory classification rather than raw computation.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-10-15T18:37:10.191Z","isFirstParty":false,"canonicalSlug":"last-modified-compare-b5e75fd2"}