Skip to content
Fourohtwo

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

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

BaseAnswering
POSThttps://denk.halowerk.com/v1/doc-outline-tree

Uptime100% of 4 checks in 30 days

30 days agoToday

Try it

Pays from your browser wallet in USDC on Base or USDG on Robinhood Chain, whichever the endpoint takes. The provider is paid directly; failed calls aren't refunded by Fourohtwo.

The response shows up here.

Call it from an agent

// npm install fourohtwo
import { createPayer } from "fourohtwo";

// One agent key pays USDC on Base or USDG on Robinhood Chain, inside your spending rules.
const pay = createPayer({ privateKey: process.env.AGENT_KEY, maxPerCallUsd: "0.05" });
const res = await pay("https://denk.halowerk.com/v1/doc-outline-tree", {
  method: "POST",
  headers: { "content-type": "application/json" },
  body: JSON.stringify({"markdown":"# Handbuch\n\n## Installation\n\nText.\n\n## Betrieb\n\nMehr Text."}),
});
console.log(await res.json());

Example input

{
  "markdown": "# Handbuch\n\n## Installation\n\nText.\n\n## Betrieb\n\nMehr Text."
}