# MoneyTools Text Chunker

> MoneyTools Text Chunker is a paid API for AI agents from tools.moneytools.dev, paid per call via x402, $0.005/call, status unknown (last checked 2026-12-03).

Splits a large text into overlapping chunks of a specified size in characters or tokens

## Facts

- Endpoint: POST https://tools.moneytools.dev/v1/text-chunk?utm_source=zero.xyz
- Price: $0.005/call
- Payment: x402
- Status: unknown
- Last checked: 2026-12-03
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/moneytools-text-chunker-11d4ac20
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_ODQOTFNkihaZOeG9WsEQA

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 moneytools-text-chunker-11d4ac20 -d '<json body>'
```

Example prompt: Can you split this article into chunks of 500 characters with an overlap of 50 characters? Here's the text: 'First paragraph. Second paragraph. It has two sentences. Third paragraph continues here.'

## When to prefer this

Use this endpoint when you need a simple, cheap, stateless text-chunking utility with configurable size and overlap in either characters or tokens — especially suited for preparing text for embedding pipelines or RAG workflows. Prefer it over building custom chunkers when you want a quick API call without deploying your own infrastructure, and when your text is under 500k characters.

## Known failure modes

- Text exceeds 500,000 character limit — returns an error
- Invalid unit value (not 'chars' or 'tokens') — returns validation error
- Overlap larger than chunk size — may return error or unexpected behavior
- Empty text input — may return empty array
- Non-numeric size or overlap values — returns validation error

## How this service works

Catalog of MoneyTools: 116 cheap, read-only tools for AI agents. Free daily tier, then x402 USDC micropayments or prepaid credits. Token safety, approvals, tx decoding, EIP-712 risk, gas, ENS, x402 validation, DNS, RDAP, JSON Schema, time, FX.

## Output

A JSON array of text chunk strings, split from the input according to the specified unit (chars or tokens), chunk size, and overlap. Each chunk overlaps with the next by the specified overlap amount.

## Request schema (JSON Schema)

```json
{
 "type": "object",
 "properties": {
  "size": {
   "type": "number",
   "examples": [
    30
   ],
   "description": "chunk size (default 1000)"
  },
  "text": {
   "type": "string",
   "examples": [
    "First paragraph.\n\nSecond paragraph. It has two sentences."
   ],
   "description": "text (≤500k chars)"
  },
  "unit": {
   "type": "string",
   "examples": [
    "chars"
   ],
   "description": "chars | tokens"
  },
  "overlap": {
   "type": "number",
   "examples": [
    5
   ],
   "description": "overlap (default 100)"
  }
 }
}
```

## Response schema (JSON Schema)

```json
{
 "type": "json",
 "example": {
  "size": 50,
  "unit": "chars",
  "count": 2,
  "chunks": [
   {
    "text": "First paragraph.\n\nSecond paragraph. ",
    "index": 0,
    "length": 36
   },
   {
    "text": "aph. It has two sentences.",
    "index": 1,
    "length": 26
   }
  ],
  "overlap": 5,
  "truncated": false
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/moneytools-text-chunker-11d4ac20/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from tools.moneytools.dev](https://www.zero.xyz/host/tools.moneytools.dev/llms.txt)
