# Delx Commerce — Chunk List Utility

> Delx Commerce — Chunk List Utility 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 an array of items into evenly-sized chunks of a specified size, returning all chunks and their count.

## Facts

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

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-chunk-list-utility-e8488f9f -d '<json body>'
```

Example prompt: Split this list of 15 product IDs into chunks of 5: [101, 102, 103, 104, 105, 106, 107, 108, 109, 110, 111, 112, 113, 114, 115].

## When to prefer this

Use this endpoint when you need a simple, pay-per-call, no-signup utility to partition any array into fixed-size chunks — especially in agentic workflows where you want verifiable, metered execution paid in USDC via x402 on Base or Solana. Prefer it over custom code when you want deterministic, reproducible chunking with a verifiable result schema in a trustless agent pipeline.

## Known failure modes

- Invalid or missing 'size' field (non-integer or zero) — likely returns a 4xx error
- Empty or missing 'items' array — may return zero chunks or an error
- Payment failure via x402 protocol — endpoint returns 402 Payment Required if USDC payment on Base/Solana is not completed
- Oversized item arrays may hit undocumented payload limits

## 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 requested chunk size, the total number of chunks produced, and an array of arrays where each sub-array contains up to 'size' items from the original list. Also includes a schema identifier ('delx/util-chunk-list/v1') for result verification.

## Request schema (JSON Schema)

```json
{
 "type": "object",
 "properties": {
  "size": {
   "type": "integer",
   "description": "Input field: size."
  },
  "items": {
   "type": "array",
   "description": "Input field: items."
  }
 }
}
```

## Response schema (JSON Schema)

```json
{
 "type": "json",
 "example": {
  "size": 2,
  "count": 3,
  "chunks": [
   [
    1,
    2
   ],
   [
    3,
    4
   ],
   [
    5
   ]
  ],
  "schema": "delx/util-chunk-list/v1"
 }
}
```

## More

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