{
  "x402Version": 2,
  "id": 29543,
  "slug": "29543",
  "resource": "https://netintel.dev/text/chunk",
  "description": "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.",
  "type": "http",
  "serviceName": "NetIntel",
  "resourceType": "AI Inference",
  "accepts": [
    {
      "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
    }
  ],
  "outputSchema": {
    "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"
  },
  "extensions": {
    "bazaar": {
      "info": {
        "input": {
          "body": {
            "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."
          },
          "bodyType": "json",
          "method": "POST",
          "type": "http"
        },
        "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"
          },
          "type": "json"
        }
      },
      "schema": {
        "$schema": "https://json-schema.org/draft/2020-12/schema",
        "properties": {
          "input": {
            "additionalProperties": false,
            "properties": {
              "body": {
                "properties": {
                  "chunk_size": {
                    "description": "Window size in chars or words. Default 1000; clamped to 50–20000 chars or 5–20000 words. Aliases: size, chunkSize.",
                    "type": "number"
                  },
                  "overlap": {
                    "description": "Units shared by consecutive chunks. Default 10% of chunk_size (max 100); clamped to 0..chunk_size-1. Aliases: chunk_overlap, chunkOverlap.",
                    "type": "number"
                  },
                  "text": {
                    "description": "Text to split — 1 to 200000 characters. Aliases: content, input, body.",
                    "type": "string"
                  },
                  "unit": {
                    "description": "\"chars\" (default) or \"words\". Aliases: by, mode.",
                    "type": "string"
                  }
                },
                "required": [
                  "text"
                ],
                "type": "object"
              },
              "bodyType": {
                "enum": [
                  "json",
                  "form-data",
                  "text"
                ],
                "type": "string"
              },
              "method": {
                "enum": [
                  "POST"
                ],
                "type": "string"
              },
              "type": {
                "const": "http",
                "type": "string"
              }
            },
            "required": [
              "type",
              "method",
              "bodyType",
              "body"
            ],
            "type": "object"
          },
          "output": {
            "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"
          }
        },
        "required": [
          "input"
        ],
        "type": "object"
      }
    }
  },
  "tags": [
    "text chunking",
    "rag chunking",
    "split text",
    "chunk text",
    "rag ingestion",
    "bazaar"
  ],
  "sourceHost": "netintel.dev",
  "lastUpdated": "2026-10-08T06:07:33.172Z",
  "quality": {
    "calls30d": 3,
    "uniquePayers30d": 3,
    "lastCalledAt": "2026-10-08T06:07:32.942Z"
  },
  "metadata": {
    "serviceName": "NetIntel",
    "extensions": {
      "bazaar": {
        "info": {
          "input": {
            "body": {
              "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."
            },
            "bodyType": "json",
            "method": "POST",
            "type": "http"
          },
          "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"
            },
            "type": "json"
          }
        },
        "schema": {
          "$schema": "https://json-schema.org/draft/2020-12/schema",
          "properties": {
            "input": {
              "additionalProperties": false,
              "properties": {
                "body": {
                  "properties": {
                    "chunk_size": {
                      "description": "Window size in chars or words. Default 1000; clamped to 50–20000 chars or 5–20000 words. Aliases: size, chunkSize.",
                      "type": "number"
                    },
                    "overlap": {
                      "description": "Units shared by consecutive chunks. Default 10% of chunk_size (max 100); clamped to 0..chunk_size-1. Aliases: chunk_overlap, chunkOverlap.",
                      "type": "number"
                    },
                    "text": {
                      "description": "Text to split — 1 to 200000 characters. Aliases: content, input, body.",
                      "type": "string"
                    },
                    "unit": {
                      "description": "\"chars\" (default) or \"words\". Aliases: by, mode.",
                      "type": "string"
                    }
                  },
                  "required": [
                    "text"
                  ],
                  "type": "object"
                },
                "bodyType": {
                  "enum": [
                    "json",
                    "form-data",
                    "text"
                  ],
                  "type": "string"
                },
                "method": {
                  "enum": [
                    "POST"
                  ],
                  "type": "string"
                },
                "type": {
                  "const": "http",
                  "type": "string"
                }
              },
              "required": [
                "type",
                "method",
                "bodyType",
                "body"
              ],
              "type": "object"
            },
            "output": {
              "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"
            }
          },
          "required": [
            "input"
          ],
          "type": "object"
        }
      }
    }
  },
  "liveness": {
    "reliability": null
  },
  "verified": false,
  "featured": false,
  "provider": {
    "host": "netintel.dev",
    "manifest_name": "netintel.dev",
    "source": "cdp-mirror",
    "source_manifest_url": "https://api.cdp.coinbase.com/platform/v2/x402/discovery/resources",
    "submitted_at": "2026-10-14T01:15:01.050Z"
  },
  "exampleResponse": {
    "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"
  }
}