NE
AI Inference · x402 · early usage

Split text into overlapping chunks for RAG ingestion — by characters or words, with con…

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/embe…

by netintel.dev · discovered, not yet claimed by its owner · updated 2026-10-08

30d calls3
30d payers3
MethodPOST
Outputjson

Mirrored from Coinbase's public x402 Bazaar. The description is the provider's own text and has not been reviewed here; the payment requirements are copied as published.

What it does

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.

Tags: text chunking · rag chunking · split text · chunk text · rag ingestion · bazaar

Call contract

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

Use with an agent

  1. Discover. Agents find this listing with GET https://bazaar.saylorinnovations.com/discovery/search?query=…, the MCP tool search_resources, or /discovery/resources.
  2. Inspect. Fetch /resources/29543.json for the price and payment options.
  3. Pay. Call GET https://netintel.dev/text/chunk. The provider answers 402 with its payment requirements. An x402 client signs one of the options below and retries with PAYMENT-SIGNATURE.
  4. Execute. The provider returns 200 with the data. Agent Bazaar is not in the request path and never sees your payment.

For humans

You don't need an account or an API key; you need a wallet holding a small amount of USDC on Base, Solana, and an x402-capable client (see the examples below). Call the endpoint unpaid first to see exactly what it asks for.

Pricing & payment

Price
$0.001 / request
Protocol
x402 v2
Auth
No account or API key. Pay per request.
Networks
Base, Solana
Demand
3 calls · 3 unique payers in 30d (public x402 Bazaar data)

x402 payment requirements

SchemeNetworkAssetAmountPay toTimeout
exactBase
eip155:8453
USDC$0.0010xdaDc335482AD545296Fd7b28518A251fFCbEb9Df300s
exactSolana
solana:5eykt4UsFv8P8NJdTREpY1vzqKqZKvdp
USDC$0.0018FVeybWnB4dYrxTuPK7WzFZNAiEcFVaDLFnKpRwVGr5s300s
accepts[] (raw JSON)
[
  {
    "scheme": "exact",
    "network": "eip155:8453",
    "payTo": "0xdaDc335482AD545296Fd7b28518A251fFCbEb9Df",
    "asset": "0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913",
    "amount": "1000",
    "amountUsd": 0.001,
    "maxTimeoutSeconds": 300
  },
  {
    "scheme": "exact",
    "network": "solana:5eykt4UsFv8P8NJdTREpY1vzqKqZKvdp",
    "payTo": "8FVeybWnB4dYrxTuPK7WzFZNAiEcFVaDLFnKpRwVGr5s",
    "asset": "EPjFWdd5AufqSSqeM2qN1xzybapC8G4wEGGkZwyTDt1v",
    "amount": "1000",
    "amountUsd": 0.001,
    "maxTimeoutSeconds": 300
  }
]

Schemas

Output schema (JSON Schema)
{
  "properties": {
    "example": {
      "properties": {
        "chunk_size": {
          "description": "Effective window size after clamping",
          "type": "number"
        },
        "chunks": {
          "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.",
          "items": {
            "properties": {
              "end": {
                "type": "number"
              },
              "index": {
                "type": "number"
              },
              "length": {
                "description": "Characters in this chunk's text",
                "type": "number"
              },
              "start": {
                "type": "number"
              },
              "text": {
                "type": "string"
              }
            },
            "type": "object"
          },
          "type": "array"
        },
        "count": {
          "description": "Number of chunks (max 2000)",
          "type": "number"
        },
        "findings": {
          "description": "Parameter adjustments applied (clamped chunk_size/overlap, unknown unit); [] when none",
          "items": {
            "properties": {
              "detail": {
                "type": "string"
              },
              "rule": {
                "type": "string"
              }
            },
            "type": "object"
          },
          "type": "array"
        },
        "overlap": {
          "description": "Effective overlap after clamping",
          "type": "number"
        },
        "source_length": {
          "description": "Length of the input text in characters",
          "type": "number"
        },
        "unit": {
          "description": "chars or words",
          "type": "string"
        }
      },
      "type": "object"
    },
    "type": {
      "type": "string"
    }
  },
  "required": [
    "type"
  ],
  "type": "object"
}
Example shape — generated from the schema, not a captured live response
{
  "example": {
    "chunk_size": 0,
    "chunks": [
      {
        "end": 0,
        "index": 0,
        "length": 0,
        "start": 0,
        "text": "string"
      }
    ],
    "count": 0,
    "findings": [
      {
        "detail": "string",
        "rule": "string"
      }
    ],
    "overlap": 0,
    "source_length": 0,
    "unit": "string"
  },
  "type": "string"
}

Examples

curl
curl "https://netintel.dev/text/chunk"
# -> 402 Payment Required, accepts[] lists how to pay
# retry with a PAYMENT-SIGNATURE (or PAYMENT header) once paid
JavaScript
const res = await fetch("https://netintel.dev/text/chunk");
if (res.status === 402) {
  const { accepts } = await res.json();
  // pay one of accepts[] via an x402 client, then retry with the payment header
}
Python
import httpx
res = httpx.get("https://netintel.dev/text/chunk")
if res.status_code == 402:
    accepts = res.json()["accepts"]
    # pay one of accepts[] via an x402 client, then retry with the payment header

Details

Provider
netintel.dev
Endpoint
https://netintel.dev/text/chunk
Machine-readable
/resources/29543.json