# x402 Agent Tools – Web Page to Markdown

> x402 Agent Tools – Web Page to Markdown is a paid API for AI agents from x402-agent-tools.vercel.app, paid per call via x402, $0.005/call, status unknown (last checked 2026-10-18).

Fetches a public web page by URL and returns its content as clean Markdown text, billed per-call via x402 micropayment (USDC on Base or Solana)

## Facts

- Endpoint: GET https://x402-agent-tools.vercel.app/v1/web/markdown?utm_source=zero.xyz
- Price: $0.005/call
- Payment: x402
- Status: unknown
- Last checked: 2026-10-18
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/x402-agent-tools-web-page-to-markdown-d80372c8
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_bQ7QrtRRoOloEgRSWa9Va

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 x402-agent-tools-web-page-to-markdown-d80372c8
```

Example prompt: Can you fetch the page at https://en.wikipedia.org/wiki/HTTP_402 and give me the full content as markdown?

## When to prefer this

Choose this endpoint when an AI agent needs to read and process the textual content of any public web page in a clean, LLM-friendly Markdown format without setting up API keys or accounts. It is ideal for one-off or low-volume page reads billed at $0.005 USDC per call via x402 micropayments, making it suitable for agents operating on Base or Solana. Prefer it over browser automation or full crawlers when only a single page's content is needed in structured Markdown.

## Known failure modes

- URL is not publicly accessible or requires authentication — may return an error or empty content
- Malformed or non-HTTP(S) URL provided — schema validation error on required 'url' field
- Page is JavaScript-heavy and server-side rendering is not supported — may return minimal or no content
- Payment failure via x402 — call not processed if USDC micropayment is not completed
- Rate limiting or server-side blocking of the fetcher — may result in a timeout or partial response

## How this service works

Pay-per-call tools for AI agents. USDC on Base or Solana via x402 v2; no keys, no accounts.

## Output

A JSON object containing the source URL, the page title, the full page content rendered as clean Markdown, and a word count integer. For example: {url, title, markdown, wordCount}.

## 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 public http(s) URL of the page"
      }
     }
    }
   },
   "additionalProperties": false
  },
  "output": {
   "type": "object",
   "required": [
    "type"
   ],
   "properties": {
    "type": {
     "type": "string"
    },
    "example": {
     "type": "object"
    }
   }
  }
 }
}
```

## Response schema (JSON Schema)

```json
{
 "type": "json",
 "example": {
  "url": "https://en.wikipedia.org/wiki/HTTP_402",
  "title": "List of HTTP status codes",
  "markdown": "This article lists standard...",
  "wordCount": 6414
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/x402-agent-tools-web-page-to-markdown-d80372c8/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from x402-agent-tools.vercel.app](https://www.zero.xyz/host/x402-agent-tools.vercel.app/llms.txt)
