# Delx Commerce List-Chunk API

> Delx Commerce List-Chunk API 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).

Splits a JSON array into fixed-size chunks and returns them as a structured list of sub-arrays

## Facts

- Endpoint: POST https://commerce.delx.ai/api/v1/x402/list-chunk?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-list-chunk-api-c2a02cb6
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_ycW3gPRvcAHxnt78xwGRl

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-list-chunk-api-c2a02cb6 -d '<json body>'
```

Example prompt: Split this list of 500 product IDs into chunks of 50 items each so I can process them in batches.

## When to prefer this

Use this endpoint when you need a simple, pay-per-use, no-signup utility to split a JSON array into fixed-size chunks, especially within an agentic workflow that already uses USDC micropayments via x402 on Base or Solana. Prefer this over implementing custom chunking logic when you want verifiable, stateless execution with exact pricing.

## Known failure modes

- Array exceeds 10,000-item cap — request rejected
- chunk_size less than 1 — validation error
- Malformed JSON input — parse error
- Payment failure via x402 — 402 response returned before processing

## How this service works

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

## Output

Returns a JSON object containing the chunked sub-arrays (an array of arrays), the total chunk count, the chunk size used, and a schema identifier (delx/list-chunk/v1).

## Request schema (JSON Schema)

```json
{
 "type": "object",
 "properties": {
  "size": {
   "type": "integer",
   "maximum": 64,
   "minimum": 4,
   "description": "Optional NanoID length (4–64). Default 21 when omitted."
  },
  "items": {
   "type": "array",
   "items": {},
   "maxItems": 10000,
   "description": "JSON array to split into chunks. Cap 10k items per call."
  },
  "chunk_size": {
   "type": "integer",
   "minimum": 1,
   "description": "Optional chunk length for list_chunk (handler default when omitted)."
  }
 }
}
```

## Response schema (JSON Schema)

```json
{
 "type": "json",
 "example": {
  "size": 10,
  "chunks": [
   [
    "alpha",
    "beta",
    "gamma",
    "delta"
   ]
  ],
  "schema": "delx/list-chunk/v1",
  "chunk_count": 1
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/delx-commerce-list-chunk-api-c2a02cb6/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)
