# supremeai Web Page Renderer (JavaScript-Enabled Markdown Fetch)

> supremeai Web Page Renderer (JavaScript-Enabled Markdown Fetch) is a paid API for AI agents from agents.supremeai.ca, paid per call via x402, $0.01/call, status unknown (last checked 2026-10-12).

Fetches a public URL and returns its full page content as clean markdown, with optional JavaScript rendering for dynamic pages.

## Facts

- Endpoint: POST https://agents.supremeai.ca/v1/read/render?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/supremeai-web-page-renderer-javascript-enabled-markdown-fetch-cf2b50c4
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_4s5ROSJf-_NUJK21lMug8

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 supremeai-web-page-renderer-javascript-enabled-markdown-fetch-cf2b50c4 -d '<json body>'
```

Example prompt: Fetch the page at https://en.wikipedia.org/wiki/HTTP_402 and give me its full content as clean markdown — up to 100000 characters.

## When to prefer this

Choose this endpoint when you need JavaScript-rendered page content returned as clean, LLM-friendly markdown from any public URL — especially for dynamic single-page apps or sites that don't serve full content in plain HTML. Prefer this over static HTML fetchers when JavaScript execution matters. It requires no API key, charges per call in USDC, and is ideal for one-off agent lookups without subscription overhead.

## Known failure modes

- Non-public or paywalled URLs return an error or empty content
- JavaScript-heavy pages may time out if rendering takes too long
- URLs that redirect to login walls return authentication page content instead of target
- Content exceeding max 200000 char cap is truncated with truncated:true
- Invalid or malformed URLs return a 4xx error
- Some sites block headless browsers, resulting in partial or blocked content

## How this service works

Pay-per-call tools for AI agents: x402 pre-flight checks (is this endpoint safe to pay?), web pages as clean markdown (with optional JavaScript rendering), Latin American tax-ID validation, npm/PyPI/GitHub lookups, and URL health checks. No API keys, no accounts — pay per request in USDC.

## Output

Returns a JSON object with the page URL, title, format ('markdown'), HTTP status code, the full page content as clean markdown text, a 'rendered' boolean indicating if JavaScript was executed, a 'truncated' boolean if content was cut, and a word_count integer.

## Request schema (JSON Schema)

```json
{
 "type": "object",
 "properties": {
  "url": {
   "type": "string",
   "description": "public http(s) URL"
  },
  "max_chars": {
   "type": "integer",
   "description": "content length cap (default 50000, max 200000)"
  }
 }
}
```

## Response schema (JSON Schema)

```json
{
 "type": "json",
 "example": {
  "url": "https://en.wikipedia.org/wiki/HTTP_402",
  "title": "HTTP 402",
  "format": "markdown",
  "status": 200,
  "content": "# HTTP 402\n\nHTTP 402 Payment Required is ...",
  "rendered": true,
  "truncated": false,
  "word_count": 812
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/supremeai-web-page-renderer-javascript-enabled-markdown-fetch-cf2b50c4/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from agents.supremeai.ca](https://www.zero.xyz/host/agents.supremeai.ca/llms.txt)
