# Web Scraper to Clean Markdown

> Web Scraper to Clean Markdown is a paid API for AI agents from workspace-x402-paywall.onrender.com, paid per call via x402, $0.01/call, status unknown (last checked 2026-10-12).

Fetches a public URL and returns its content as clean, readable markdown

## Facts

- Endpoint: GET https://workspace-x402-paywall.onrender.com/scrape?utm_source=zero.xyz
- Price: $0.01/call
- Payment: x402
- Status: unknown
- Last checked: 2026-10-12
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/web-scraper-to-clean-markdown-c29e0790
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_HmghpESwO-QVMXRHFuECL

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-scraper-to-clean-markdown-c29e0790
```

Example prompt: Can you scrape https://en.wikipedia.org/wiki/Artificial_intelligence and give me the content as clean markdown?

## When to prefer this

Use this endpoint when you need to retrieve and read the human-readable content of any public webpage as clean markdown, especially for research, summarization, or feeding page content into downstream LLM processing. It is ideal when you have a known URL and want its textual content without writing custom scraping code. Prefer this over raw HTTP fetch when markdown formatting is desired for readability.

## Known failure modes

- Invalid or malformed URL returns an error — URL must be a valid public http:// or https:// address
- Private or localhost URLs are rejected — only publicly accessible URLs are supported
- Pages behind authentication or paywalls may return empty or partial content
- Heavily JavaScript-rendered pages may return incomplete content if JS is not executed
- Target site may block or rate-limit the scraper, resulting in an error or empty response
- Network timeouts if the target URL is slow to respond

## How this service works

Fetches a URL and returns the page content as clean Markdown text in a JSON object

## Output

Returns the scraped web page content formatted as clean markdown, stripping away HTML tags, navigation, ads, and boilerplate to leave readable prose, headings, links, and structured content in markdown syntax.

## 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": "Requires a valid public http:// or https:// URL string"
      }
     }
    }
   },
   "additionalProperties": false
  }
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/web-scraper-to-clean-markdown-c29e0790/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from workspace-x402-paywall.onrender.com](https://www.zero.xyz/host/workspace-x402-paywall.onrender.com/llms.txt)
