# 402scrape Web Content Extractor

> 402scrape Web Content Extractor is a paid API for AI agents from 402scrape.vercel.app, paid per call via x402, $0.003/call, status unknown (last checked 2026-10-14).

Fetches any public webpage and returns clean, agent-ready content stripped of navigation, ads, and boilerplate — in markdown, plain text, or JSON format, with optional JavaScript rendering.

## Facts

- Endpoint: POST https://402scrape.vercel.app/api/v1/extract?utm_source=zero.xyz
- Price: $0.003/call
- Payment: x402
- Status: unknown
- Last checked: 2026-10-14
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/402scrape-web-content-extractor-17593874
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_udYWPRZq7L2Ko2WG-Bw4-

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 402scrape-web-content-extractor-17593874 -d '<json body>'
```

Example prompt: Can you fetch the content from https://example.com/article and give me back clean markdown — it's a JavaScript-rendered page so make sure to use headless browser rendering.

## When to prefer this

Choose this endpoint when you need clean, agent-ready text from a specific public URL — especially for RAG ingestion, LLM context windows, or research workflows. It excels at stripping boilerplate and supports JavaScript rendering for dynamic single-page apps. Prefer it over generic HTTP fetch when you need structured or markdown output without post-processing.

## Known failure modes

- URL is unreachable or returns a non-200 HTTP status — extraction fails with an error
- JavaScript rendering timeout on slow or complex pages
- Paywalled or login-gated content cannot be accessed — returns only publicly visible content
- Anti-scraping protections (CAPTCHAs, bot detection) may block extraction
- Malformed or extremely large pages may cause parsing errors

## How this service works

Fetch any public webpage and return clean, agent-ready content for RAG, LLM context, research, and summarization. Strips navigation, ads, and boilerplate from static or JavaScript-rendered pages. Supports markdown, plain text, or structured JSON output.

## Output

Returns the cleaned content of the requested webpage in the specified format (markdown, plain text, or JSON), with navigation menus, advertisements, headers, footers, and other boilerplate removed. For JavaScript-rendered pages, a headless browser is used to fully execute the page before extraction.

## Request schema (JSON Schema)

```json
{
 "type": "object",
 "properties": {
  "url": {
   "type": "string",
   "description": "The page to fetch and clean"
  },
  "format": {
   "enum": [
    "markdown",
    "text",
    "json"
   ],
   "type": "string"
  },
  "renderJs": {
   "type": "boolean",
   "description": "Render with a headless browser for JS-heavy pages"
  }
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/402scrape-web-content-extractor-17593874/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from 402scrape.vercel.app](https://www.zero.xyz/host/402scrape.vercel.app/llms.txt)
