Overview
Split Markdown, HTML or plain text into retrieval chunks that respect headings, sentences and a token limit, with sentence overlap and heading-path metadata. Parses the document into blocks (Markdown via marked, HTML via a block-level walker that drops scripts and styles, plain text by blank lines), keeps a heading path for every block and never mixes sections in one chunk.
Protocol
x402 (POST)
Price
$0.0030
Payment Asset
USD Coin
Payment Network
eip155:8453
Category
uncategorized
Provider
denk
Indexed
2026-11-20 16:11:04
Health
Status
unknown
Latency (p50)
—
Uptime (30d)
—
Reliability Score
—
Last Checked
Never
Last Healthy
Never
Consecutive Failures
0
Input Schema
{
"body": {
"max_tokens": 64,
"overlap_tokens": 16,
"text": "# Handbuch\n\n## Installation\n\nPaket laden. Danach starten.\n\n## Betrieb\n\nDer Dienst läuft im Hintergrund."
},
"bodyType": "json",
"method": "POST",
"type": "http"
}
Output Schema
{
"example": {
"limitations": [
"Overlap never cuts sentences; if the last sentence is longer than overlap_tokens, no overlap is added.",
"HTML layout (columns, navigation) is not interpreted; boilerplate blocks remain unless removed beforehand."
],
"result": {
"chunks": [
{
"end": 10,
"heading_path": [
"Handbuch"
],
"id": "c1",
"index": 0,
"kinds": [
"heading"
],
"overlap_tokens": 0,
"start": 0,
"text": "# Handbuch",
"tokens": 3
},
{
"end": 57,
"heading_path": [
"Handbuch",
"Installation"
],
"id": "c2",
"index": 1,
"kinds": [
"heading",
"paragraph"
],
"overlap_tokens": 0,
"start": 12,
"text": "## Installation\n\nPaket laden. Danach starten.",
"tokens": 12
},
{
"end": 103,
"heading_path": [
"Handbuch",
"Betrieb"
],
"id": "c3",
"index": 2,
"kinds": [
"heading",
"paragraph"
],
"overlap_tokens": 0,
"start": 59,
"text": "## Betrieb\n\nDer Dienst läuft im Hintergrund.",
"tokens": 14
}
],
"encoding": "cl100k_base",
"format": "markdown",
"offsets_refer_to": "source_lf_normalized",
"stats": {
"avg_tokens": 9.667,
"blocks": 5,
"chunks": 3,
"max_tokens": 14
}
},
"service": "chunk-smart",
"status": "success"
},
"type": "json"
}