← Back to directory

Build the heading tree of an HTML, Markdown or PDF document (PDF bookmarks) with...

https://denk.halowerk.com/v1/doc-outline-tree

Overview

Build the heading tree of an HTML, Markdown or PDF document (PDF bookmarks) with levels, anchors, page numbers, word counts per section and structure warnings. HTML: h1 to h6 in document order (scripts and styles removed), anchors from id attributes or generated slugs. Markdown: ATX and setext headings via marked, with character offsets and generated slugs (lower case, punctuation removed, spaces to hyphens, duplicates numbered).

Protocol x402 (POST)
Price $0.0030
Payment Asset USD Coin
Payment Network eip155:8453
Category uncategorized
Provider denk
Source bazaar
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

x402 Payment Validation

Payment Requirements —
Asset Verified —
Facilitator —

Input Schema

{ "body": { "markdown": "# Handbuch\n\n## Installation\n\nText.\n\n## Betrieb\n\nMehr Text." }, "bodyType": "json", "method": "POST", "type": "http" }

Output Schema

{ "example": { "limitations": [ "PDF structure comes only from bookmarks; pages without an outline are not analysed visually.", "Encrypted PDFs are read without decryption; bookmarks may then be unreadable." ], "result": { "headings": 3, "source": "markdown", "tree": [ { "anchor": "handbuch", "children": [ { "anchor": "installation", "children": [], "level": 2, "own_words": 1, "start": 12, "title": "Installation", "total_words": 1 }, { "anchor": "betrieb", "children": [], "level": 2, "own_words": 2, "start": 36, "title": "Betrieb", "total_words": 2 } ], "level": 1, "own_words": 0, "start": 0, "title": "Handbuch", "total_words": 3 } ], "warnings": [ { "at": "Handbuch", "kind": "empty_section", "message": "No content before the next heading." } ], "words_before_first_heading": 0 }, "service": "doc-outline-tree", "status": "success" }, "type": "json" }