# render-api-paulo: JavaScript SPA Headless Browser Renderer

> render-api-paulo: JavaScript SPA Headless Browser Renderer is a paid API for AI agents from render-api-paulo.fly.dev, paid per call via x402, $0.01/call, status down (last checked 2026-09-16).

Renders a client-side JavaScript web page (React, Vue, Angular, Next.js, etc.) in a real headless browser and returns the fully-hydrated page content as clean Markdown text.

## Facts

- Endpoint: GET https://render-api-paulo.fly.dev/render
- Price: $0.01/call
- Payment: x402
- Status: down
- Last checked: 2026-09-16
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/render-api-paulo-javascript-spa-headless-browser-renderer-75c0e7d3
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_r18JLyHIlGgR2YuQ_jY1b

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 render-api-paulo-javascript-spa-headless-browser-renderer-75c0e7d3
```

Example prompt: Can you fetch the fully-rendered content of https://example-spa.com/products as Markdown, waiting until the element '.product-list' appears before extracting?

## When to prefer this

Choose this endpoint when you need to extract text content from a JavaScript-heavy or client-side-rendered web page (React, Vue, Angular, Next.js) where a plain HTTP GET returns an empty HTML shell. It is ideal for AI agents and scrapers that need LLM-ready Markdown from SPAs, especially when you need to wait for lazy-loaded elements using a CSS selector or control hydration timing with a waitUntil condition.

## Known failure modes

- Target URL is unreachable or returns a non-200 status — empty or error response returned
- CSS selector specified in ?selector= never appears on the page — timeout or partial extraction
- Page takes too long to hydrate and times out — empty or truncated Markdown returned
- Invalid URL format provided — request rejected with a validation error
- Page requires authentication or blocks headless browsers — returns login-wall or empty content

## How this service works

Render any JavaScript / single-page web app (React, Vue, Angular, Next.js) in a real headless browser and return clean, LLM-ready page text as Markdown. Built for AI agents and scrapers that must read client-side-rendered pages where a plain HTTP fetch returns an empty shell. Supports ?selector= to wait for an element and ?waitUntil= to control hydration.

## Output

Returns a JSON object with 'text' (the full page content rendered as clean, LLM-ready Markdown) and 'chars' (the total character count of the extracted text). The page is fully hydrated by a real headless browser before extraction, so dynamic content loaded by JavaScript is included.

## 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": "Absolute http(s) URL of the page to render and read"
      },
      "selector": {
       "type": "string",
       "description": "Optional CSS selector to wait for before extracting — for slow/lazy SPAs"
      },
      "waitUntil": {
       "enum": [
        "load",
        "domcontentloaded",
        "networkidle0",
        "networkidle2"
       ],
       "type": "string",
       "description": "Optional page-load wait condition (default networkidle0)"
      }
     }
    }
   },
   "additionalProperties": false
  },
  "output": {
   "type": "object",
   "required": [
    "type"
   ],
   "properties": {
    "type": {
     "type": "string"
    },
    "example": {
     "type": "object",
     "properties": {
      "text": {
       "type": "string",
       "description": "Clean page text as Markdown"
      },
      "chars": {
       "type": "number"
      }
     }
    }
   }
  }
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/render-api-paulo-javascript-spa-headless-browser-renderer-75c0e7d3/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from render-api-paulo.fly.dev](https://www.zero.xyz/host/render-api-paulo.fly.dev/llms.txt)
