{"uid":"cap_YhXFxQcVoxSyAPWUZWPDc","slug":"delx-commerce-batch-rate-limit-plan-calculator-5d03dfae","name":"Delx Commerce Batch Rate Limit 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/batch-rate-limit-plan?utm_source=zero.xyz","method":"POST","headers":{},"bodySchema":{"type":"object","properties":{"limit":{"type":"integer","description":"Limit supplied to Batch Rate Limit Plan; used only for this bounded calculation and processed in memory without retention."},"request_count":{"type":"integer","description":"Request Count supplied to Batch Rate Limit Plan; used only for this bounded calculation and processed in memory without retention."},"window_seconds":{"type":"integer","description":"Window Seconds supplied to Batch Rate Limit Plan; used only for this bounded calculation and processed in memory without retention."}}},"responseSchema":{"type":"json","example":{"result":{"windows":4,"requests_per_window":30,"minimum_duration_seconds":180},"schema":"delx/util-batch-rate-limit-plan/v1","status":"pass","evidence":{"retained":false,"input_sha256":"0049c1a01081a9fe99bac8e095a083513bf0cd0db7d48e421ed67ea39ccc760f","external_calls":0},"operation":"data_batch:batch_rate_limit_plan"}},"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_cZG3idwdy1XoS8AMQYPiJ","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":"Computes the optimal batch rate limit plan (windows, requests per window, minimum duration) given a request count, limit, and time window in seconds.","exampleAgentPrompt":"Calculate a batch rate limit plan for 120 requests with a limit of 30 per window over a 60-second window — tell me how many windows I need, how many requests per window, and the minimum total duration.","exampleUseCases":[{"title":"Agent workflow batch scheduling","prompt":"I need to send 450 requests to an external API that allows 50 per minute. Calculate the batch plan — how many windows, requests per window, and total minimum time required?"},{"title":"Rate limit compliance for data pipeline","prompt":"My data pipeline needs to make 300 API calls but the provider limits me to 30 per 30-second window. Work out the optimal batching plan so I don't get throttled."},{"title":"Estimating job completion time","prompt":"If I have 1000 requests to process with a rate limit of 100 per window and each window is 60 seconds, how many windows will I need and what's the minimum duration for the whole job?"}],"resultDescription":"Returns an object containing the number of windows needed, the number of requests per window, and the minimum total duration in seconds required to safely deliver all requests within the given rate limit. Also includes a schema identifier, operation name, pass/fail status, and an evidence block confirming no data was retained and no external calls were made, along with a SHA-256 hash of the input.","failureModes":["Missing required integer fields (limit, request_count, window_seconds) may result in a validation error or unexpected calculation","Non-positive integers (zero or negative values) could cause division errors or nonsensical output","Payment failure via x402 protocol will block request processing","Extremely large request_count or limit values may cause precision or overflow issues"],"whenToPreferThis":"Use this endpoint when an AI agent or automated workflow needs to programmatically determine a safe batching schedule for rate-limited API calls without writing custom logic. It is ideal when you have a known total request count, a fixed per-window limit, and a window duration, and need the number of windows and minimum execution time returned instantly. Prefer this over manual calculation or custom code when operating in an agent pipeline that benefits from verifiable, pay-per-result micro-computations with no data retention.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-10-01T00:54:03.955Z","isFirstParty":false,"canonicalSlug":"delx-commerce-batch-rate-limit-plan-calculator-5d03dfae"}