# JSON Array Chunker

> JSON Array Chunker is a paid API for AI agents from kihustle.tech, paid per call via x402, $0.002/call, status unknown (last checked 2026-10-12).

Splits a JSON array into smaller fixed-size chunks and returns the chunked result

## Facts

- Endpoint: POST https://kihustle.tech/api/v1/json-array-chunker?utm_source=zero.xyz
- Price: $0.002/call
- Payment: x402
- Status: unknown
- Last checked: 2026-10-12
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/json-array-chunker-d4bf9de0
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_lXURH4ukSRJA-BreZIF42

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 json-array-chunker-d4bf9de0 -d '<json body>'
```

Example prompt: Take this list of 150 product IDs and split it into chunks of 25 items each so I can process each batch separately.

## When to prefer this

Use this endpoint when you need a simple, stateless utility to partition any JSON array into fixed-size chunks without writing custom splitting logic. Ideal for agents preparing batches for rate-limited APIs, parallel workers, or paginated display. Prefer this over client-side logic when operating in environments where you want a reliable, paid microservice call to handle the split deterministically.

## Known failure modes

- Invalid or missing 'items' array — returns error or unexpected result
- chunk_size of 0 or negative integer — likely causes error or infinite loop
- Non-integer chunk_size — schema validation failure
- Empty array input — may return empty result array
- Very large arrays may cause timeouts or memory issues

## How this service works

Kostenlose Guides, Solo-Playbooks und Artikel zu KI, Automation und Side Hustles — für Menschen, die mit echten Systemen online Einkommen aufbauen wollen. Transparent finanziert über faire Affiliate-Links.

## Output

Returns an object with 'result' and 'status' fields. The result contains the original array partitioned into sub-arrays, each of the specified chunk_size (the final chunk may be smaller if the array length is not evenly divisible).

## Request schema (JSON Schema)

```json
{
 "type": "object",
 "properties": {
  "items": {
   "type": "array",
   "items": {}
  },
  "chunk_size": {
   "type": "integer"
  }
 }
}
```

## Response schema (JSON Schema)

```json
{
 "type": "json",
 "example": {
  "result": "processed",
  "status": "success"
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/json-array-chunker-d4bf9de0/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from kihustle.tech](https://www.zero.xyz/host/kihustle.tech/llms.txt)
