# URL to Clean Markdown Extractor (JS-Rendered)

> URL to Clean Markdown Extractor (JS-Rendered) is a paid API for AI agents from api.x-402.online, paid per call via x402, $0.005/call, status unknown (last checked 2026-09-14).

Fetches a URL using a real browser with JavaScript rendering and returns the main page content as clean, readable markdown.

## Facts

- Endpoint: GET https://api.x-402.online/v1/extract
- Price: $0.005/call
- Payment: x402
- Status: unknown
- Last checked: 2026-09-14
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/url-to-clean-markdown-extractor-js-rendered-cc1699ad
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_cdJxar9l4DDkQEWeKQiDl

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 url-to-clean-markdown-extractor-js-rendered-cc1699ad
```

Example prompt: Can you fetch the main content of https://example.com/some-article and give it to me as clean markdown? The page uses JavaScript to render its content.

## When to prefer this

Choose this endpoint when the target URL relies on JavaScript to render its content (SPAs, React/Vue/Angular apps, dynamic news sites) and you need clean, readable markdown rather than raw HTML. It is ideal for content extraction pipelines, summarization tasks, and RAG ingestion where boilerplate-free text is required. Prefer it over static HTML fetchers when JS rendering is necessary.

## Known failure modes

- URL is unreachable or returns a non-200 HTTP status — extraction fails
- Page requires authentication or login wall — content may be incomplete or empty
- JavaScript rendering times out for extremely slow or heavy pages
- Paywalled content returns only the visible teaser/intro
- Malformed or missing URL input returns a 400-level error
- Page has bot detection (Cloudflare, reCAPTCHA) that blocks headless browser — returns empty or partial content

## How this service works

Send a URL and receive the main content of the page as clean markdown, stripped of navigation, advertising and boilerplate. The page is fetched through a French residential IP with a real Chromium browser, so JavaScript-rendered content is fully resolved and sites that reject datacenter traffic are still reachable.

## Output

Returns the main visible content of the target webpage as clean, formatted markdown, extracted after full JavaScript rendering using a real browser engine — stripping navigation, ads, and boilerplate.

## 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",
    "bodyType",
    "body"
   ],
   "properties": {
    "body": {
     "properties": {}
    },
    "type": {
     "type": "string",
     "const": "http"
    },
    "method": {
     "enum": [
      "GET"
     ],
     "type": "string"
    },
    "bodyType": {
     "enum": [
      "json",
      "form-data",
      "text"
     ],
     "type": "string"
    }
   },
   "additionalProperties": false
  },
  "output": {
   "type": "object",
   "required": [
    "type"
   ],
   "properties": {
    "type": {
     "type": "string"
    },
    "example": {
     "type": "object"
    }
   }
  }
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/url-to-clean-markdown-extractor-js-rendered-cc1699ad/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from api.x-402.online](https://www.zero.xyz/host/api.x-402.online/llms.txt)
