# ScanPay Web Scraper — URL to LLM Markdown

> ScanPay Web Scraper — URL to LLM Markdown is a paid API for AI agents from scanpay-ob3w.onrender.com, paid per call via x402, $0.02/call, status unknown (last checked 2026-10-31).

Scrapes a target HTTPS URL and returns clean LLM-ready Markdown or plain text content with bot-protection detection

## Facts

- Endpoint: POST https://scanpay-ob3w.onrender.com/v2/oracle/scrape?utm_source=zero.xyz
- Price: $0.02/call
- Payment: x402
- Status: unknown
- Last checked: 2026-10-31
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/scanpay-web-scraper-url-to-llm-markdown-cfcd0a20
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_Av0YjqL6YzBPodIYEoy-H

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 scanpay-web-scraper-url-to-llm-markdown-cfcd0a20 -d '<json body>'
```

Example prompt: Can you scrape https://example.com/article and give me the content as clean markdown so I can feed it into my LLM pipeline?

## When to prefer this

Choose this endpoint when you need to convert a live web page into clean, LLM-ready markdown or plain text with token estimation, especially within an x402 micropayment workflow. It is well-suited for one-off page extractions where bot-protection detection is a useful signal. Prefer alternatives if you need full-site crawls, structured data extraction with schema mapping, or JavaScript-heavy SPA rendering guarantees.

## Known failure modes

- Target URL is unreachable or returns a non-200 status — endpoint may return an error or empty content
- WAF or bot protection blocks the scrape — waf_detected flag will be true but content may be incomplete
- Invalid or non-HTTPS URL provided — likely returns a validation error
- Target page is JavaScript-rendered (SPA) — content may be incomplete if JS is not executed
- Payment via x402 fails or is insufficient — request may be rejected before scraping begins

## How this service works

Deterministic AST code security scanner with x402 Solana micropayments, remote MCP, and ERC-8183 Evaluator oracle.

## Output

Returns a JSON object containing the extracted page content as markdown or plain text, an estimated token count for LLM budgeting, and a bot-protection field indicating whether a WAF was detected on the target site.

## Request schema (JSON Schema)

```json
{
 "type": "object",
 "required": [
  "url"
 ],
 "properties": {
  "url": {
   "type": "string",
   "description": "Target HTTPS URL to scrape into clean LLM Markdown"
  },
  "extract_mode": {
   "type": "string",
   "description": "'markdown' or 'text'"
  }
 }
}
```

## Response schema (JSON Schema)

```json
{
 "type": "json",
 "example": {
  "content": {
   "markdown": "# Clean Extracted Content",
   "estimated_tokens": 120
  },
  "bot_protection": {
   "waf_detected": false
  }
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/scanpay-web-scraper-url-to-llm-markdown-cfcd0a20/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from scanpay-ob3w.onrender.com](https://www.zero.xyz/host/scanpay-ob3w.onrender.com/llms.txt)
