Heading Outline Audit
Reconstruct a document’s heading hierarchy and flag skipped levels, blank labels and reused anchors.
Custom requests cost 0.04 USDC on Base.
Download example JSON · OpenAPI · Source and usage
Pay with a browser wallet · Open example in checkout
POST a JSON request to /heading-outline-audit/v1/check with an x402 V2 client.
Worked example
Request
{
"headings": [
{
"level": 1,
"label": "Guide",
"anchor": "guide"
},
{
"level": 3,
"label": "",
"anchor": "guide"
},
{
"level": 2,
"label": "Setup",
"anchor": "setup"
}
]
}Result
{
"outline": [
{
"heading": 1,
"parent": null
},
{
"heading": 2,
"parent": 1
},
{
"heading": 3,
"parent": 1
}
],
"issues": [
{
"heading": 2,
"codes": [
"blank_label",
"level_skipped",
"duplicate_anchor"
]
}
]
}Support catalog maintenance through GitHub Sponsors. Sponsor gptenv · Sponsor Jeremy Carter