# NetIntel Text Chunker

> NetIntel Text Chunker is a paid API for AI agents from netintel.dev, paid per call via x402, $0.001/call, status unknown (last checked 2026-09-14).

Splits text into overlapping sliding-window chunks (by characters or words) with configurable size and overlap, returning each chunk with its index and character offsets — for RAG ingestion pipelines.

## Facts

- Endpoint: POST https://netintel.dev/text/chunk
- Price: $0.001/call
- Payment: x402
- Status: unknown
- Last checked: 2026-09-14
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/netintel-text-chunker-8699c45d
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_hd8VRbR9RV_3-IWL7uOco

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 netintel-text-chunker-8699c45d -d '<json body>'
```

Example prompt: Split this article into overlapping chunks of 500 characters each with a 50-character overlap, using character mode, so I can embed them for a RAG pipeline.

## When to prefer this

Use this endpoint when you need deterministic, reproducible text chunking with precise character-offset metadata for downstream embedding or retrieval workflows. Prefer it over ad-hoc string splitting when you need overlap control, offset tracking, surrogate-pair safety, and alias-tolerant parameter handling. Ideal when pairing with /v1/embeddings on the same platform for a chunk→embed pipeline without managing your own chunking logic.

## Known failure modes

- Text exceeds 200,000 character limit — request rejected
- chunk_size below minimum (50 chars or 5 words) — clamped and noted in findings
- overlap >= chunk_size — clamped to chunk_size-1 and noted in findings
- More than 2000 chunks would be produced — truncated at limit
- Missing required 'text' field — validation error
- Invalid unit value other than 'chars' or 'words' — error response

## How this service works

Split text into overlapping chunks for RAG ingestion — by characters or words, with configurable chunk size and overlap. Deterministic (same input → same chunks), returns each chunk with its index and start/end offsets. No API key, no LLM. Pairs with /v1/embeddings for a full chunk→embed pipeline.

## Output

Returns a JSON object with: the unit used (chars or words), total chunk count (up to 2000), effective overlap after clamping, source text length, and an ordered array of chunk objects each containing its index, text content, start offset, end offset, and character length. Also includes a findings array noting any parameter adjustments (e.g. clamped values).

## Request schema (JSON Schema)

```json
{
 "type": "object",
 "$schema": "https://json-schema.org/draft/2020-12/schema",
 "required": [
  "input"
 ],
 "properties": {
  "input": {
   "type": "object",
   "required": [
    "type",
    "method",
    "bodyType",
    "body"
   ],
   "properties": {
    "body": {
     "type": "object",
     "required": [
      "text"
     ],
     "properties": {
      "text": {
       "type": "string",
       "description": "Text to split — 1 to 200000 characters. Aliases: content, input, body."
      },
      "unit": {
       "type": "string",
       "description": "\"chars\" (default) or \"words\". Aliases: by, mode."
      },
      "overlap": {
       "type": "number",
       "description": "Units shared by consecutive chunks. Default 10% of chunk_size (max 100); clamped to 0..chunk_size-1. Aliases: chunk_overlap, chunkOverlap."
      },
      "chunk_size": {
       "type": "number",
       "description": "Window size in chars or words. Default 1000; clamped to 50–20000 chars or 5–20000 words. Aliases: size, chunkSize."
      }
     }
    },
    "type": {
     "type": "string",
     "const": "http"
    },
    "method": {
     "enum": [
      "POST"
     ],
     "type": "string"
    },
    "bodyType": {
     "enum": [
      "json",
      "form-data",
      "text"
     ],
     "type": "string"
    }
   },
   "additionalProperties": false
  },
  "output": {
   "type": "object",
   "required": [
    "type"
   ],
   "properties": {
    "type": {
     "type": "string"
    },
    "example": {
     "type": "object",
     "properties": {
      "unit": {
       "type": "string",
       "description": "chars or words"
      },
      "count": {
       "type": "number",
       "description": "Number of chunks (max 2000)"
      },
      "chunks": {
       "type": "array",
       "items": {
        "type": "object",
        "properties": {
         "end": {
          "type": "number"
         },
         "text": {
          "type": "string"
         },
         "index": {
          "type": "number"
         },
         "start": {
          "type": "number"
         },
         "length": {
          "type": "number",
          "description": "Characters in this chunk's text"
         }
        }
       },
       "description": "Sliding-window chunks in order. start/end are UTF-16 character offsets into the source (text.slice(start, end) reproduces a chars-mode chunk; words-mode chunks are re-joined with single spaces). Surrogate pairs are never split."
      },
      "overlap": {
… (truncated)
```

## Response schema (JSON Schema)

```json
{
 "type": "json",
 "example": {
  "unit": "chars",
  "count": 3,
  "chunks": [
   {
    "end": 60,
    "text": "NetIntel is a pay-per-call API for AI agents. It offers over",
    "index": 0,
    "start": 0,
    "length": 60
   },
   {
    "end": 105,
    "text": " It offers over one hundred endpoints. Agents pay per reques",
    "index": 1,
    "start": 45,
    "length": 60
   },
   {
    "end": 115,
    "text": " pay per request in USDC.",
    "index": 2,
    "start": 90,
    "length": 25
   }
  ],
  "overlap": 15,
  "findings": [],
  "chunk_size": 60,
  "source_length": 115
 }
}
```

## More

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