Get the heading outline of a web page (H1-H6 in document order) with counts per level and structure warnings (no H1, several H1s, skipped levels)

$0.001 per call20 free calls/day via MCP

Get the heading outline of a web page (H1-H6 in document order) with counts per level and structure warnings (no H1, several H1s, skipped levels). Fast (under 2 s).

headingsoutlineh1seostructurecontentaccessibility

Call it from an AI agent (MCP)

Add the remote MCP server https://www.aypiai.online/mcp (Streamable HTTP, no auth) to Claude, Cursor, ChatGPT or any MCP client, then call the tool headings:

{
  "name": "headings",
  "arguments": {
    "url": "https://stripe.com"
  }
}

Call it over HTTP

curl -X POST https://www.aypiai.online/api/headings \
  -H "Content-Type: application/json" \
  -H "X-Access-Key: YOUR_CREDIT_KEY" \
  -d '{"url":"https://stripe.com"}'

No key? Without one the endpoint answers 402 Payment Required with an x402 PAYMENT-REQUIRED header: any x402 client (USDC on Base, gasless) pays $0.001 and retries automatically. Or buy card credits at /credits (from $5, valid on all tools). Failed calls are never charged.

Input

{
  "type": "object",
  "properties": {
    "url": {
      "type": "string",
      "description": "Public http(s) URL"
    }
  },
  "required": [
    "url"
  ]
}

Example output

{
  "url": "https://example.com/",
  "outline": [
    {
      "level": 1,
      "text": "Example Domain"
    }
  ],
  "counts": {
    "h1": 1,
    "h2": 0
  },
  "warnings": []
}

Related tools

Convert any web page into clean Markdown for LLMs ($0.003) · Get a page's metadata ($0.002) · List every link on a web page with its anchor text, split into internal and external, with nofollow flags and the external domains linked to ($0.002) · Check the links on a web page for broken ones ($0.005) · Get every URL a website lists in its XML sitemaps ($0.003) · Read and parse a website's robots.txt ($0.002) · Trace a URL's full redirect chain hop by hop (up to 10) ($0.002) · Detect a web page's language ($0.001)

Rever: website intelligence for AI agents. MCP server: https://www.aypiai.online/mcp · x402 catalog: /.well-known/x402