# KiHustle Heading Hierarchy Extractor

> KiHustle Heading Hierarchy Extractor is a paid API for AI agents from kihustle.tech, paid per call via x402, $0.001/call, status unknown (last checked 2026-09-13).

Extracts and returns the heading hierarchy (H1-H6 structure) from an HTML document

## Facts

- Endpoint: POST https://kihustle.tech/api/v1/heading-hierarchy
- Price: $0.001/call
- Payment: x402
- Status: unknown
- Last checked: 2026-09-13
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/kihustle-heading-hierarchy-extractor-fcb8da46
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_a7L5Lkj5QH_YPcikVB7D5

Status and success rate cover calls made through Zero and Zero's own probes. Third-party monitors may report differently.

## How to call it through Zero

Zero handles the 402 payment challenge and records the run. With the Zero CLI installed (`npm i -g @zeroxyz/cli`):

```sh
zero fetch --capability kihustle-heading-hierarchy-extractor-fcb8da46 -d '<json body>'
```

Example prompt: Can you extract the heading hierarchy from this HTML so I can see the document outline? Here's the HTML: '<html><body><h1>Main Title</h1><h2>Section One</h2><h3>Subsection</h3></body></html>'

## When to prefer this

Use this endpoint when you need to programmatically extract the heading outline or document structure from raw HTML — for example when building table-of-contents generators, SEO auditing tools, content summarizers, or document navigation aids. Prefer this over manual parsing when you want a ready-made structured result without writing your own HTML parser.

## Known failure modes

- Malformed or invalid HTML may produce incomplete or empty hierarchy output
- Missing 'html' field in request body returns an error
- Very large HTML documents may time out or be truncated
- HTML with no heading tags returns an empty hierarchy
- Non-HTML content passed as the html field may yield unexpected results

## How this service works

Kostenlose Guides, Solo-Playbooks und Artikel zu KI, Automation und Side Hustles — für Menschen, die mit echten Systemen online Einkommen aufbauen wollen. Transparent finanziert über faire Affiliate-Links.

## Output

Returns a JSON object with a 'result' field indicating 'processed' and a 'status' of 'success', along with the extracted heading hierarchy derived from the submitted HTML. The hierarchy reflects the nested H1–H6 structure present in the document.

## Request schema (JSON Schema)

```json
{
 "type": "object",
 "properties": {
  "html": {
   "type": "string"
  }
 }
}
```

## Response schema (JSON Schema)

```json
{
 "type": "json",
 "example": {
  "result": "processed",
  "status": "success"
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/kihustle-heading-hierarchy-extractor-fcb8da46/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from kihustle.tech](https://www.zero.xyz/host/kihustle.tech/llms.txt)
