{"uid":"cap_Olz-7YQ7SokPilvNGbV_L","slug":"delx-commerce-retry-after-header-parser-43105975","name":"Delx Commerce — Retry-After Header Parser","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/retry-after-parse?utm_source=zero.xyz","method":"POST","headers":{},"bodySchema":{"type":"object","properties":{"value":{"type":"string","maxLength":8192,"description":"Value supplied to Retry After Parse; used only for this bounded calculation and processed in memory without retention."},"now_epoch":{"type":"integer","description":"Now Epoch supplied to Retry After Parse; used only for this bounded calculation and processed in memory without retention."}}},"responseSchema":{"type":"json","example":{"result":{"delay_seconds":120,"retry_at_epoch":1720000120},"schema":"delx/util-retry-after-parse/v1","status":"pass","evidence":{"retained":false,"input_sha256":"d9694253aa50ca3a4c76da4bbf323706780e4a4cfeb723b7ee5a097e2965b646","external_calls":0},"operation":"web_reliability:retry_after_parse"}},"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_qoufYmEkOaaldrUbmi4nZ","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":"Parses an HTTP Retry-After header value and computes the delay in seconds and the absolute retry timestamp epoch.","exampleAgentPrompt":"I just got a 429 response with the Retry-After header set to '120'. Given that the current epoch time is 1720000000, how many seconds do I need to wait and at what epoch can I retry?","exampleUseCases":[{"title":"Rate-limited API retry scheduling","prompt":"I got a 429 Too Many Requests from a downstream API and the Retry-After header says 'Wed, 03 Jul 2024 15:28:40 GMT'. My current epoch is 1720000000 — can you parse that and tell me exactly how many seconds to wait and when to retry?"},{"title":"Agent loop backoff calculation","prompt":"My agent hit a rate limit and received a Retry-After value of '300'. The current epoch is 1720000000. Parse that and give me the delay in seconds and the exact epoch timestamp when I should try again."},{"title":"HTTP retry header normalization","prompt":"I need to normalize a Retry-After header value that might be either a number of seconds or an HTTP date string. The value is '120' and my current epoch is 1720000050 — compute the delay and the retry-at epoch for me."}],"resultDescription":"A JSON object containing: delay_seconds (how long to wait in seconds), retry_at_epoch (absolute Unix epoch when to retry), status ('pass' or failure), operation label, and an evidence block confirming no data retention, number of external calls made, and a SHA-256 hash of the input for auditability.","failureModes":["Malformed or unparseable Retry-After value returns an error status","Missing required 'value' field causes a validation error","now_epoch not provided may cause incorrect absolute timestamp calculation","Value exceeding 8192 characters is rejected","Invalid date string format in Retry-After header may cause parse failure"],"whenToPreferThis":"Choose this endpoint when your agent needs to deterministically parse HTTP Retry-After headers — whether numeric seconds or HTTP date strings — into a concrete wait duration and retry epoch, especially when auditability (input hash, no retention guarantee) and micro-cost pay-per-call pricing matter. Prefer this over hand-rolling parsing logic when you need verifiable, consistent output for retry scheduling in agentic workflows.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-10-01T00:53:46.560Z","isFirstParty":false,"canonicalSlug":"delx-commerce-retry-after-header-parser-43105975"}