# SiteSignal Page-to-Markdown Extractor

> SiteSignal Page-to-Markdown Extractor is a paid API for AI agents from sitesignal-api.vercel.app, paid per call via x402, $0.003/call, status unknown (last checked 2026-11-19).

Fetches a web page and returns its content as clean Markdown, including title, headings, word count, and HTTP status — pay-per-call via x402 USDC on Base, no API key required.

## Facts

- Endpoint: GET https://sitesignal-api.vercel.app/v1/page-extract?utm_source=zero.xyz
- Price: $0.003/call
- Payment: x402
- Status: unknown
- Last checked: 2026-11-19
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/sitesignal-page-to-markdown-extractor-19c47fd3
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_UZFVFIASQ3gund54MD2yU

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 sitesignal-page-to-markdown-extractor-19c47fd3
```

Example prompt: Grab the content of https://example.com/blog/ai-trends and give it back to me as clean Markdown — cap it at 10000 characters.

## When to prefer this

Use this endpoint when you need to convert an arbitrary public web page into clean, LLM-friendly Markdown without setting up credentials or managing API keys. It is ideal for AI agents that need to ingest web content on-the-fly and pay micro-amounts per call rather than maintaining a subscription. Prefer it over full web crawlers when you only need a single page extracted quickly and cheaply.

## Known failure modes

- URL is not reachable or returns a non-200 status — status field reflects the HTTP error code
- Invalid or relative URL provided — request rejected with validation error
- Page content exceeds maxChars and is truncated silently
- JavaScript-rendered content may not be captured if the page requires client-side execution
- Payment via x402 fails if the agent wallet has insufficient USDC on Base

## How this service works

No signup, no API key. AI agents pay per call in USDC on Base via x402: email security (SPF/DKIM/DMARC) audit, on-page SEO + llms.txt audit, and web page to clean Markdown.

## Output

A JSON object containing the page URL, page title, HTTP status code, an array of headings, the full page content rendered as clean Markdown (capped at maxChars if specified, default 20000), and a word count integer.

## 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",
       "description": "Absolute http(s) URL"
      },
      "maxChars": {
       "type": "string",
       "description": "Optional cap 1000-50000 (default 20000)"
      }
     }
    }
   },
   "additionalProperties": false
  },
  "output": {
   "type": "object",
   "required": [
    "type"
   ],
   "properties": {
    "type": {
     "type": "string"
    },
    "example": {
     "type": "object"
    }
   }
  }
 }
}
```

## Response schema (JSON Schema)

```json
{
 "type": "json",
 "example": {
  "url": "https://example.com/",
  "title": "Example Domain",
  "status": 200,
  "headings": [],
  "markdown": "This domain is for use in documentation examples…",
  "wordCount": 25
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/sitesignal-page-to-markdown-extractor-19c47fd3/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from sitesignal-api.vercel.app](https://www.zero.xyz/host/sitesignal-api.vercel.app/llms.txt)
