Headings are the skeleton of a webpage. They tell you what the content is about, how it's structured, and whether the SEO is a disaster. denkbot.dog returns the full HTML — extracting the h1-h6 tags is a two-line filter. We do the heavy lifting. You write the selector.
Content structure audits, extracting article outlines, validating heading hierarchies, building table of contents generators, and on-page SEO analysis.
const cheerio = require('cheerio')
const res = await fetch('https://api.denkbot.dog/scrape', {
method: 'POST',
headers: {
'Authorization': 'Bearer YOUR_API_KEY',
'Content-Type': 'application/json',
},
body: JSON.stringify({ url: 'https://example.com/article' }),
})
const { html } = await res.json()
const $ = cheerio.load(html)
const headings = $('h1,h2,h3').map((_, el) => ({
tag: el.tagName,
text: $(el).text().trim(),
})).get()Not as a separate field yet. You get the full HTML and can extract headings with any HTML parser.
Pass renderJs: true to capture JS-injected headings.
Yes. A headings array in the response is planned.

€19/year. Unlimited requests. API key ready in 30 seconds.