{"uid":"cap_O1cmjoD6-gm7rE1OKvmoM","slug":"delx-commerce-age-header-validate-ce257117","name":"Delx Commerce — Age Header Validate","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/age-header-validate?utm_source=zero.xyz","method":"POST","headers":{},"bodySchema":{"type":"object","properties":{"age":{"type":"string","maxLength":8192,"description":"Age supplied to Age Header Validate; used only for this bounded calculation and processed in memory without retention."},"max_age_seconds":{"type":"integer","description":"Max Age Seconds supplied to Age Header Validate; used only for this bounded calculation and processed in memory without retention."}}},"responseSchema":{"type":"json","example":{"result":{"age_seconds":120,"within_freshness":true},"schema":"delx/util-age-header-validate/v1","status":"pass","evidence":{"retained":false,"input_sha256":"f51799fd712f3514d51db5985cf250b2e699f3081571f017224fd7838e380cc7","external_calls":0},"operation":"web_reliability:age_header_validate"}},"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_NqnF5HVZMdKfBb3TE-XQU","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":"Validates an HTTP Age header value against a maximum age threshold to determine if cached content is still within its freshness window","exampleAgentPrompt":"Check if an HTTP Age header value of '120' is still fresh given a max age of 300 seconds.","exampleUseCases":[{"title":"CDN cache freshness check","prompt":"I have an HTTP response with an Age header of '450' — can you verify whether it's still within a 600-second freshness window?"},{"title":"Proxy response staleness detection","prompt":"My proxy returned an Age header of '900' seconds. Check if that's within a max age of 300 seconds and tell me if the content is stale."},{"title":"Web agent cache validation pipeline","prompt":"Before I serve this cached page, verify the Age header value '85' is within the allowed max age of 120 seconds."}],"resultDescription":"Returns a JSON object with the parsed age in seconds, a boolean indicating whether the content is within the freshness window, a status field ('pass' or 'fail'), and an evidence object confirming no data retention and zero external calls — suitable for verifiable, auditable cache validation.","failureModes":["Invalid or non-numeric Age header string may cause parsing errors","Missing required fields (age or max_age_seconds) may result in a 400 error","Age value exceeding string length limits (8192 chars) will be rejected","Non-integer max_age_seconds will fail schema validation"],"whenToPreferThis":"Choose this endpoint when you need a lightweight, pay-per-call, auditable HTTP Age header freshness check with verifiable evidence of no data retention and no external calls — ideal for AI agents that need to validate cache freshness within a web reliability pipeline without setting up dedicated infrastructure.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-10-01T00:53:44.805Z","isFirstParty":false,"canonicalSlug":"delx-commerce-age-header-validate-ce257117"}