{"uid":"cap_odiQANKbyTm1he5mFnAFC","slug":"kihustle-heading-hierarchy-extractor-71a9dd37","name":"KiHustle Heading Hierarchy Extractor","description":"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.","url":"https://kihustle.tech/bot-bazaar/api/v1/heading-hierarchy","method":"POST","headers":{},"bodySchema":{"type":"object","properties":{"html":{"type":"string"}}},"responseSchema":{"type":"json","example":{"result":"processed","status":"success"}},"example":null,"exampleRequest":null,"tags":["x402"],"displayCostAmount":"0.001","displayCostAsset":"USDC","priceDynamic":false,"priceHint":null,"priceStatus":"priced","priceSource":"probe","requiresHandshake":false,"reviewCount":0,"rating":{"score":"0.00","successRate":"0.00","reviews":0,"stars":null,"state":"unrated"},"availabilityStatus":"unknown","priceObserved":null,"sessionDeposit":null,"pricing":{"kind":"static","summary":"$0.001/call","primary":{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.001","per":"call","confidence":"exact"},"accepted":[{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.001","per":"call","confidence":"exact"}]},"paymentMethods":[{"uid":"pm_Xm5ZP7HM-P01WUEWBAKGm","protocol":"x402","methodType":"crypto","chain":"base","mode":"charge","costAmount":"0.001","costPer":"request","priority":0,"asset":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913","unit":"request","depositMicros":null,"planRef":null}],"brandName":null,"brandSlug":null,"brandBaseUrl":null,"brandDocsUrl":null,"whatItDoes":"Extracts and returns the heading hierarchy (H1–H6 structure) from an HTML document","exampleAgentPrompt":"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>'","exampleUseCases":[{"title":"SEO heading audit for a webpage","prompt":"I have the raw HTML from a blog post — can you pull out all the headings and show me the hierarchy so I can check if the H1/H2 structure makes sense for SEO?"},{"title":"Generate table of contents from article HTML","prompt":"Here's the full HTML of my article. Extract all the headings in order so I can build a table of contents from them."},{"title":"Validate document outline before publishing","prompt":"I want to make sure my HTML document has a proper heading structure before I publish it. Can you extract the heading hierarchy from this HTML and show me if any levels are skipped?"}],"resultDescription":"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.","failureModes":["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"],"whenToPreferThis":"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.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-09-14T00:58:23.856Z","isFirstParty":false}