# Delx Commerce JSON Array Chunk

> Delx Commerce JSON Array Chunk 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 integer array into fixed-size chunks and returns them as a structured JSON result with verifiable evidence, billed at $0.001 USDC per call via x402.

## Facts

- Endpoint: POST https://commerce.delx.ai/api/v1/x402/json-array-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-json-array-chunk-d642fd8a
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_tZU5PMU_FLH7wpmPz_omV

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-json-array-chunk-d642fd8a -d '<json body>'
```

Example prompt: Split this integer array [1, 2, 3, 4, 5, 6, 7] into chunks of size 2 — just partition it and give me back the grouped sub-arrays.

## When to prefer this

Use this endpoint when you need a simple, verifiable, pay-per-use array chunking operation with cryptographic evidence of non-retention — ideal for AI agents operating in trustless or auditable pipelines where proving that input data was not stored matters. Prefer this over self-hosted or free-tier utilities when you need a blockchain-settled micro-payment model (x402/USDC) and tamper-evident receipts, or when your agent environment already handles x402 payment flows on Base or Solana.

## Known failure modes

- Array exceeds 256-item maximum — request rejected
- chunk_size not provided or invalid (non-positive integer) — error response
- items array is empty — may return empty chunks result
- Malformed JSON body — 400-level parse error
- Payment not provided or insufficient USDC — 402 Payment Required response blocking execution

## 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: a 'chunks' array of sub-arrays (each of the specified chunk_size, with the last chunk potentially smaller), a 'chunk_count' integer, a status field ('pass'), and an evidence block with a SHA-256 hash of the input, a 'retained: false' flag confirming no data storage, and an external_calls count of 0 confirming pure in-memory computation.

## Request schema (JSON Schema)

```json
{
 "type": "object",
 "properties": {
  "items": {
   "type": "array",
   "items": {
    "type": "integer"
   },
   "maxItems": 256,
   "description": "Items supplied to JSON Array Chunk; used only for this bounded calculation and processed in memory without retention."
  },
  "chunk_size": {
   "type": "integer",
   "description": "Chunk Size supplied to JSON Array Chunk; used only for this bounded calculation and processed in memory without retention."
  }
 }
}
```

## Response schema (JSON Schema)

```json
{
 "type": "json",
 "example": {
  "result": {
   "chunks": [
    [
     1,
     2
    ],
    [
     3,
     4
    ],
    [
     5
    ]
   ],
   "chunk_count": 3
  },
  "schema": "delx/util-json-array-chunk/v1",
  "status": "pass",
  "evidence": {
   "retained": false,
   "input_sha256": "4f72dbceaad27a26b92491017b889f01572529f0ffda27f5e6d7e08169769ac8",
   "external_calls": 0
  },
  "operation": "data_batch:json_array_chunk"
 }
}
```

## More

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