{"uid":"cap_PkpaxlGh-I4aE3fZFskvI","slug":"delx-commerce-retry-budget-plan-calculator-7db422ea","name":"Delx Commerce — Retry Budget Plan Calculator","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-budget-plan?utm_source=zero.xyz","method":"POST","headers":{},"bodySchema":{"type":"object","properties":{"factor":{"type":"number","description":"Exponential growth factor per attempt (typically 2)."},"max_attempts":{"type":"number","description":"Maximum retry attempts to schedule (1–20)."},"max_delay_ms":{"type":"number","description":"Hard ceiling for any single delay."},"base_delay_ms":{"type":"number","description":"Initial backoff delay in milliseconds."}}},"responseSchema":{"type":"json","example":{"schema":"delx/util-retry-budget-plan/v1","advisory":"Descriptive plan only; caller owns retry policy.","schedule":[{"attempt":1,"delay_ms":100},{"attempt":2,"delay_ms":200},{"attempt":3,"delay_ms":400},{"attempt":4,"delay_ms":800}],"max_attempts":4,"total_delay_ms":1500}},"example":null,"exampleRequest":null,"tags":["x402"],"displayCostAmount":"0.003","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.003/call","primary":{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.003","per":"call","confidence":"exact"},"accepted":[{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.003","per":"call","confidence":"exact"}]},"paymentMethods":[{"uid":"pm_7IjgGQHwNeAiOuMOV6XdG","protocol":"x402","methodType":"crypto","chain":"base","mode":"charge","costAmount":"0.003","costPer":"request","priority":0,"asset":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913","unit":"request","depositMicros":null,"planRef":null}],"brandName":null,"brandSlug":null,"brandBaseUrl":null,"brandDocsUrl":null,"whatItDoes":"Computes an exponential backoff retry schedule given base delay, growth factor, max attempts, and an optional delay ceiling.","exampleAgentPrompt":"Calculate an exponential backoff retry schedule starting at 100ms, doubling each time, for up to 5 attempts with a max delay cap of 3000ms.","exampleUseCases":[{"title":"API retry plan for flaky service","prompt":"I need a retry schedule for calling an unreliable third-party API — start with a 200ms delay, double it each attempt, allow up to 6 retries, and never wait more than 10 seconds between tries."},{"title":"Agent task orchestration backoff","prompt":"My AI agent sometimes hits rate limits. Give me a backoff plan starting at 500ms with a growth factor of 2, capped at 8000ms, for up to 8 retry attempts so I know the exact delays to use."},{"title":"Low-latency retry budget for real-time systems","prompt":"I'm building a real-time pipeline that needs fast retries — plan me a schedule with a 50ms base delay, factor of 1.5, max 4 attempts, and a hard ceiling of 500ms per delay."}],"resultDescription":"Returns a JSON object containing a labeled schedule array where each entry shows the attempt number and the delay in milliseconds before that attempt, plus total_delay_ms (sum of all delays) and max_attempts. Includes an advisory note that the caller owns the actual retry policy.","failureModes":["Invalid factor value (e.g. negative or zero) may cause unexpected schedule output","max_attempts outside 1–20 range may be rejected or clamped","Missing required fields may result in a 400 error or default values being applied","Payment failure via x402 protocol results in no response being returned"],"whenToPreferThis":"Choose this endpoint when an AI agent or automated system needs a precise, pre-computed retry delay schedule rather than implementing backoff logic inline. Ideal for agents that need to externalise retry policy calculation, audit the full schedule before executing, or share a consistent backoff plan across multiple subsystems. Costs $0.003 USDC per call via x402, so best used when the computed schedule will be reused across many retries rather than recalculated per attempt.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-10-01T00:54:03.956Z","isFirstParty":false,"canonicalSlug":"delx-commerce-retry-budget-plan-calculator-7db422ea"}