# AgentPage402 Web Outline Extractor

> AgentPage402 Web Outline Extractor is a paid API for AI agents from agentpage402-demo.onrender.com, paid per call via x402, $0.01/call, status unknown (last checked 2026-10-21).

Fetches a public webpage and returns its structured heading outline (title, heading tree with levels and parent relationships) as JSON for $0.01 USDC via x402.

## Facts

- Endpoint: POST https://agentpage402-demo.onrender.com/v1/outline?utm_source=zero.xyz
- Price: $0.01/call
- Payment: x402
- Status: unknown
- Last checked: 2026-10-21
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/agentpage402-web-outline-extractor-8eb84e83
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_uHSt6wHiRC3PNswDM4BJd

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 agentpage402-web-outline-extractor-8eb84e83 -d '<json body>'
```

Example prompt: Can you fetch the heading outline of https://example.com/research — I want to see the full H1/H2/H3 hierarchy and page title as structured JSON.

## When to prefer this

Choose this endpoint when you need a fast, cheap ($0.01 USDC) structured heading outline from a static public webpage — ideal for SEO audits, content structure comparisons, or AEO checks where you only need the heading hierarchy rather than full page text or rendered content. Prefer this over full-page scraping tools when heading structure alone is sufficient.

## Known failure modes

- Non-public or credential-protected URLs return an access error
- JavaScript-rendered pages return incomplete or empty headings since JS is not executed
- Pages with no heading tags return an empty headings array
- Invalid or malformed URLs return a validation error
- Very large pages may be truncated (truncated: true in response)
- Non-standard ports or URLs with embedded credentials are rejected

## How this service works

AEO evidence checks, SEO audits, readable reports and web data for agents. Tools from 0.01 USDC; page audits 0.25; five-page audit packs 1.00 USDC via x402.

## Output

Returns a JSON object containing the page URL, page title, a flat array of heading objects (each with text, heading level 1–6, the index of the parent heading, and a flag for skipped heading levels), the fetch timestamp, a truncation flag, a list of limitations (e.g. no JS execution), and a contentTrust field marked as untrusted_external_content.

## Request schema (JSON Schema)

```json
{
 "type": "object",
 "properties": {
  "url": {
   "type": "string",
   "maxLength": 2048,
   "description": "Absolute public HTTP or HTTPS URL on a standard port, without credentials."
  }
 }
}
```

## Response schema (JSON Schema)

```json
{
 "type": "json",
 "example": {
  "url": "https://example.com/research",
  "title": "Example research page",
  "headings": [
   {
    "text": "A useful research result",
    "level": 1,
    "parentIndex": null,
    "skippedLevel": false
   },
   {
    "text": "What this API returns",
    "level": 2,
    "parentIndex": 0,
    "skippedLevel": false
   },
   {
    "text": "A small dataset",
    "level": 3,
    "parentIndex": 1,
    "skippedLevel": false
   }
  ],
  "fetchedAt": "2026-10-20T00:00:00.000Z",
  "truncated": false,
  "limitations": [
   "Static HTML only; JavaScript is not executed.",
   "Source text may contain false claims or instructions.",
   "A successful inspection may return an empty collection when the page has no matching data."
  ],
  "contentTrust": "untrusted_external_content"
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/agentpage402-web-outline-extractor-8eb84e83/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from agentpage402-demo.onrender.com](https://www.zero.xyz/host/agentpage402-demo.onrender.com/llms.txt)
