# Web Page to Markdown Converter (x402 Public Data API)

> Web Page to Markdown Converter (x402 Public Data API) is a paid API for AI agents from x402-data-api-x6da.onrender.com, paid per call via x402, $0.001/call, status unknown (last checked 2026-11-20).

Fetches a public web page URL and returns its content as clean Markdown, with metadata like title, author, date, word count, and language.

## Facts

- Endpoint: GET https://x402-data-api-x6da.onrender.com/v1/web/read?utm_source=zero.xyz
- Price: $0.001/call
- Payment: x402
- Status: unknown
- Last checked: 2026-11-20
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/web-page-to-markdown-converter-x402-public-data-api-8005dd79
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_5REOipHAufTTMIjDlshVh

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 web-page-to-markdown-converter-x402-public-data-api-8005dd79
```

Example prompt: Can you fetch https://www.example.com/blog/how-async-rust-works and convert the page to Markdown so I can read it cleanly, keeping the hyperlinks and limiting it to 30000 characters?

## When to prefer this

Choose this endpoint when you need to programmatically read a public web page's human-readable content as clean Markdown, especially for AI pipelines that need web access without HTML noise. Ideal for reading articles, blog posts, and documentation pages. Prefer this over raw HTTP fetch when you want structured metadata (title, author, date) alongside clean text. Use when you need pay-per-call with no signup overhead via USDC on Base (x402 protocol).

## Known failure modes

- URL is not publicly accessible or returns a non-200 status — error response indicating unreachable page
- URL points to a non-HTML resource (PDF, binary) that cannot be converted — may return empty or partial markdown
- Page requires JavaScript rendering and content is not in static HTML — markdown may be sparse or empty
- max_chars below 500 or above 100000 — validation error
- Payment not completed via x402 — 402 Payment Required response

## How this service works

Pay-per-call data and web utilities for AI agents: web page to Markdown, SEO audit, email check, domain RDAP/DNS and mail security, ECB FX rates, time zones and business days, SEC EDGAR search and fundamentals, Federal Register, USAspending, weather and NWS alerts, VIN, NPI, ATS jobs. USDC on Base via x402, no sign-up.

## Output

Returns a JSON object with the page's Markdown-formatted content, title, author, publication date, language, word count, character count, final URL (after redirects), a truncated flag indicating whether content was cut, and a source notice. The markdown field contains the clean, readable text of the page.

## 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",
      "HEAD",
      "DELETE"
     ],
     "type": "string"
    },
    "queryParams": {
     "type": "object",
     "properties": {
      "url": {
       "type": "string",
       "description": "public http(s) page URL"
      },
      "links": {
       "type": "boolean",
       "description": "keep hyperlinks in the Markdown, default false"
      },
      "max_chars": {
       "type": "integer",
       "description": "500-100000, default 20000"
      }
     }
    }
   },
   "additionalProperties": false
  },
  "output": {
   "type": "object",
   "required": [
    "type"
   ],
   "properties": {
    "type": {
     "type": "string"
    },
    "example": {
     "type": "object",
     "properties": {
      "url": {
       "type": "string"
      },
      "date": {
       "type": "string"
      },
      "site": {
       "type": "string"
      },
      "chars": {
       "type": "number"
      },
      "title": {
       "type": "string"
      },
      "words": {
       "type": "number"
      },
      "author": {
       "type": "string"
      },
      "language": {},
      "markdown": {
       "type": "string"
      },
      "final_url": {
       "type": "string"
      },
      "truncated": {
       "type": "boolean"
      },
      "source_notice": {
       "type": "string"
      }
     }
    }
   }
  }
 }
}
```

## Response schema (JSON Schema)

```json
{
 "type": "json",
 "example": {
  "url": "https://example.com/blog/rust-2026-async-closures",
  "date": "2026-09-14",
  "site": "Example Dev Blog",
  "chars": 381,
  "title": "How the 2026 Rust edition changes async closures",
  "words": 61,
  "author": "Jane Doe",
  "language": null,
  "markdown": "# How the 2026 Rust edition changes async closures\n\nThe 2026 edition changes how async closures capture variables, which removes a whole class of borrow errors.\n\n## Migration\n\nMigration is automatic for most crates: run cargo fix --edition and review the diff before committing it.\n\nBenchmarks on our CI show compile times improved by eleven percent on average across forty crates.",
  "final_url": "https://example.com/blog/rust-2026-async-closures",
  "truncated": false,
  "source_notice": "Extracted on request from the URL above; content belongs to its owner."
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/web-page-to-markdown-converter-x402-public-data-api-8005dd79/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from x402-data-api-x6da.onrender.com](https://www.zero.xyz/host/x402-data-api-x6da.onrender.com/llms.txt)
