# Website Audit & Web Extract

> Website Audit & Web Extract is a paid API for AI agents from onchaincheck.dev, paid per call via x402, $0.002/call, status unknown (last checked 2026-11-19).

Fetches a web page URL and returns the main content as clean Markdown, stripping navigation, headers, footers, and scripts, with metadata like title, description, language, author, publish date, image, and word count.

## Facts

- Endpoint: GET https://onchaincheck.dev/web/extract?utm_source=zero.xyz
- Price: $0.002/call
- Payment: x402
- Status: unknown
- Last checked: 2026-11-19
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/website-audit-web-extract-5a00ff4f
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_NpaCbgsdZVPXZs2KwuV8p

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 website-audit-web-extract-5a00ff4f
```

Example prompt: Can you grab the main article text from https://www.example.com/article/ai-trends-2025 and give it to me as clean markdown, including any links on the page?

## When to prefer this

Choose this endpoint when you need to extract clean, readable main content from a public web URL for LLM consumption — especially when you want metadata like author, publish date, and language alongside the text. It is ideal for article summarization, research pipelines, and content auditing. Prefer it over raw HTTP fetching when you need boilerplate stripped and markdown-formatted output without writing your own HTML parser.

## Known failure modes

- URL is unreachable or returns a non-200 status — error returned with HTTP status
- Page has no extractable main content (e.g. fully JavaScript-rendered SPA) — may return empty or minimal markdown
- Malformed or non-HTTP URL passed — validation error
- Page blocks crawlers via robots.txt or Cloudflare — may return error or incomplete content
- Very large pages may be truncated or slow to process

## How this service works

Read a web page as clean Markdown for an LLM: fetches the URL, drops navigation, header, footer, forms and scripts, and returns the main text as Markdown with title, description, language, author, publish date, image and word count. Optional links=true adds the page's links. Text and JSON URLs come back as-is.

## Output

Returns the main body of the webpage as clean Markdown text, along with structured metadata fields: page title, meta description, detected language, author name, publish date, featured image URL, and word count. If the `links=true` option is passed, up to 300 links found on the page are also returned. Plain text and JSON URLs are returned as-is without transformation.

## 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",
     "required": [
      "url"
     ],
     "properties": {
      "url": {
       "type": "string",
       "pattern": "^\\S+$",
       "maxLength": 2000,
       "description": "Page URL"
      },
      "links": {
       "enum": [
        "true",
        "false"
       ],
       "type": "string",
       "description": "true adds the page's links (up to 300)"
      }
     },
     "additionalProperties": false
    }
   },
   "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/website-audit-web-extract-5a00ff4f/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from onchaincheck.dev](https://www.zero.xyz/host/onchaincheck.dev/llms.txt)
