# Heading Structure Audit

> Heading Structure Audit is a paid API for AI agents from intel.rallylive.ca, paid per call via x402, $0.01/call, status unknown (last checked 2026-09-14).

Audits a webpage's H1-H6 heading structure, reporting all headings with text, H1 count, skipped levels, empty headings, and a hierarchical outline tree for SEO and accessibility fixes.

## Facts

- Endpoint: GET https://intel.rallylive.ca/site/h1-audit
- Price: $0.01/call
- Payment: x402
- Status: unknown
- Last checked: 2026-09-14
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/heading-structure-audit-8de7d805
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_HIuXXYKXQXoTAgN5FjL4e

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 heading-structure-audit-8de7d805
```

Example prompt: Can you audit the heading structure of https://example.com/blog/my-post and tell me if there's more than one H1, any skipped levels, or empty headings?

## When to prefer this

Choose this endpoint when you need a structured, machine-readable breakdown of a webpage's heading hierarchy for SEO auditing or accessibility compliance — especially when you want explicit flags for multiple H1s, skipped levels, empty headings, and a full outline tree in one call, rather than scraping raw HTML yourself.

## Known failure modes

- Invalid or unreachable URL returns an error with no heading data
- Pages with no headings return empty arrays and zero H1 count
- JavaScript-rendered headings may be missed if the page requires client-side rendering
- Rate limiting or payment failure results in a 402 or 429 response
- Malformed query parameters return a validation error

## How this service works

Heading structure audit: all H1-H6 with text, H1 count (should be one), skipped levels, empty headings, and the outline as a tree. Fix on-page SEO and accessibility structure. $0.01 per page.

## Output

Returns all H1-H6 headings found on the page with their text content, the total H1 count (flagging if more than one exists), a list of any skipped heading levels (e.g. H2 jumping to H4), a list of empty headings, and the full heading hierarchy as a nested outline tree.

## Request schema (JSON Schema)

```json
{
 "type": "object",
 "$schema": "https://json-schema.org/draft/2020-12/schema",
 "required": [
  "input"
 ],
 "properties": {
  "input": {
   "type": "object",
   "required": [
    "type",
    "method"
   ],
   "properties": {
    "type": {
     "type": "string",
     "const": "http"
    },
    "method": {
     "enum": [
      "GET"
     ],
     "type": "string"
    },
    "queryParams": {
     "type": "object",
     "properties": {}
    }
   },
   "additionalProperties": false
  },
  "output": {
   "type": "object",
   "required": [
    "type"
   ],
   "properties": {
    "type": {
     "type": "string"
    },
    "example": {
     "type": "object"
    }
   }
  }
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/heading-structure-audit-8de7d805/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from intel.rallylive.ca](https://www.zero.xyz/host/intel.rallylive.ca/llms.txt)
