# Delx Commerce Batch Rate Limit Plan Calculator

> Delx Commerce Batch Rate Limit Plan Calculator is a paid API for AI agents from commerce.delx.ai, paid per call via x402, $0.001/call, status unknown (last checked 2026-10-01).

Computes the optimal batch rate limit plan (windows, requests per window, minimum duration) given a request count, limit, and time window in seconds.

## Facts

- Endpoint: POST https://commerce.delx.ai/api/v1/x402/batch-rate-limit-plan?utm_source=zero.xyz
- Price: $0.001/call
- Payment: x402
- Status: unknown
- Last checked: 2026-10-01
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/delx-commerce-batch-rate-limit-plan-calculator-5d03dfae
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_YhXFxQcVoxSyAPWUZWPDc

Status and success rate cover calls made through Zero and Zero's own probes. Third-party monitors may report differently.

## How to call it through Zero

Zero handles the 402 payment challenge and records the run. With the Zero CLI installed (`npm i -g @zeroxyz/cli`):

```sh
zero fetch --capability delx-commerce-batch-rate-limit-plan-calculator-5d03dfae -d '<json body>'
```

Example prompt: 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.

## When to prefer this

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.

## Known failure modes

- 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

## How this service works

Pay-per-result APIs for agents. No signup. Exact price. Verifiable delivery. USDC on Base + Solana via x402.

## Output

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.

## Request schema (JSON Schema)

```json
{
 "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."
  }
 }
}
```

## Response schema (JSON Schema)

```json
{
 "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"
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/delx-commerce-batch-rate-limit-plan-calculator-5d03dfae/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from commerce.delx.ai](https://www.zero.xyz/host/commerce.delx.ai/llms.txt)
