# Web Page Scraper – Clean Text & Markdown Extraction

> Web Page Scraper – Clean Text & Markdown Extraction is a paid API for AI agents from api-production-17e1.up.railway.app, paid per call via x402, $0.002000/call, status unknown (last checked 2026-10-12).

Fetches a URL and returns the page title, readable markdown, and plain text extracted from the HTML — stripping boilerplate for AI consumption

## Facts

- Endpoint: GET https://api-production-17e1.up.railway.app/scrape?utm_source=zero.xyz
- Price: $0.002000/call
- Payment: x402
- Status: unknown
- Last checked: 2026-10-12
- Success rate: 0% of calls made through Zero
- Activations on Zero: 1
- Tags: x402
- Canonical page: https://www.zero.xyz/c/web-page-scraper-clean-text-markdown-extraction-9fd27651
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap__90Mz4zVvva_qh03Nl03l

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-scraper-clean-text-markdown-extraction-9fd27651
```

Example prompt: Read the page at https://docs.example.com/api/getting-started and give me the full readable content as clean text and markdown so I can understand what it says.

## When to prefer this

Use this endpoint when an AI agent needs to read the human-readable content of any web page — articles, documentation, blog posts — and wants clean markdown or plain text back without writing a custom scraper. Ideal for feeding content into RAG pipelines, summarization, or letting an agent 'read' a page it cannot browse directly. Prefer over raw HTTP fetch when HTML parsing and boilerplate removal are needed.

## Known failure modes

- URL is unreachable or returns a non-200 status — endpoint may return an error or empty content
- Page is JavaScript-rendered and content is not in the raw HTML — extracted text may be incomplete
- URL points to a binary file (PDF, image) rather than an HTML page — unsupported format
- Payment not processed correctly via x402 — request blocked before execution
- Rate limiting or bot protection on the target site may cause empty or blocked responses

## How this service works

Read any web page as clean text + markdown for AI agents. Give a URL, get back the page title, readable markdown, and plain text — the readable content extracted from the HTML. Pay-per-call in USDC via x402 — no signup, no API key. Use for letting an agent read pages, fetch articles/docs it can't access, scrape content, and feed RAG.

## Output

Returns the page title, the full readable content as markdown (with formatting preserved), and a plain-text version stripped of HTML — all extracted from the rendered HTML of the target URL.

## Example request

```json
{
 "url": "https://example.com"
}
```

## 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": "The page URL to read (http/https)."
      }
     }
    }
   },
   "additionalProperties": false
  }
 }
}
```

## Response schema (JSON Schema)

```json
{
 "type": "object",
 "required": [
  "url",
  "text",
  "title",
  "length",
  "markdown"
 ],
 "properties": {
  "url": {
   "type": "string"
  },
  "text": {
   "type": "string"
  },
  "title": {
   "type": "string"
  },
  "length": {
   "type": "number"
  },
  "markdown": {
   "type": "string"
  }
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/web-page-scraper-clean-text-markdown-extraction-9fd27651/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from api-production-17e1.up.railway.app](https://www.zero.xyz/host/api-production-17e1.up.railway.app/llms.txt)
