# 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-14).

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

## Facts

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

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-71a9dd37 -d '<json body>'
```

Example prompt: Can you extract the heading hierarchy from this HTML content so I can see the document outline? Here's the HTML: '<h1>Guide</h1><h2>Intro</h2><h3>Background</h3><h2>Steps</h2>'

## When to prefer this

Use this endpoint when you need to programmatically extract the heading structure from an HTML document — for example, to audit SEO heading hierarchy, generate a table of contents, or validate document outline. Prefer this over general HTML parsers when you specifically need heading-level extraction as a microservice.

## Known failure modes

- Malformed or empty HTML input may return an error or empty hierarchy
- Very large HTML documents may cause timeouts or truncated results
- HTML with no heading tags returns an empty result set
- Non-HTML input (e.g. plain text or JSON) may fail to parse correctly

## 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

A JSON object containing the extracted heading hierarchy from the submitted HTML, including heading levels (H1–H6) and their text content, organized as a structured outline or tree.

## 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-71a9dd37/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)
