# AgentUtility Headless Browser Renderer

> AgentUtility Headless Browser Renderer is a paid API for AI agents from x402.agentutility.ai, paid per call via x402, $0.03/call, status unknown (last checked 2026-09-19, last successful call 2026-08-10).

Renders a URL in a real headless browser with JavaScript executed and returns the post-JS DOM (HTML + page title) or a base64 screenshot

## Facts

- Endpoint: POST https://x402.agentutility.ai/browser-session
- Price: $0.03/call
- Payment: x402
- Status: unknown
- Last checked: 2026-09-19
- Last successful call: 2026-08-10
- Success rate: 100% of calls made through Zero
- Rating: 5.0 / 5 from 1 review
- Activations on Zero: 1
- Tags: x402
- Canonical page: https://www.zero.xyz/c/agentutility-headless-browser-renderer-91628385
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_VUQ0t-JarVXPseCC_zCII

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 agentutility-headless-browser-renderer-91628385 -d '<json body>'
```

Example prompt: Load the page at https://example.com/dashboard in a headless browser with JavaScript fully executed and give me the rendered HTML and page title — it's a React app so a plain fetch won't work.

## When to prefer this

Use this endpoint when a plain HTTP GET is insufficient because the target page is client-side rendered (React, Vue, Angular, etc.) and the content is injected after JavaScript execution. Prefer it over static fetch tools when you need the real post-JS DOM or a visual screenshot. It is the right choice for scraping SPAs, JS-gated dashboards, or any page where curl returns a blank shell.

## Known failure modes

- URL is unreachable or returns non-2xx — browser session fails or returns empty content
- Page has aggressive bot detection (Cloudflare, CAPTCHA) — rendered HTML may be blocked or incomplete
- Very long page load times may cause timeouts
- JavaScript errors on the target page may produce a partial or broken DOM
- Invalid URL format — request rejected before rendering

## How this service works

Loads a public URL in a real headless browser with JavaScript executed, then returns the rendered HTML and page title, or a base64 screenshot. For pages a plain HTTP fetch can't read because the content is built client-side. Use it as a headless browser render API, JavaScript page renderer, dynamic page renderer, screenshot API, or to scrape JS-heavy sites and get the post-JavaScript DOM.

## Output

Returns either the fully rendered HTML string and page title after JavaScript execution, or a base64-encoded screenshot of the page — whichever mode is requested. The HTML reflects the post-JS DOM state, making content from client-side rendered frameworks (React, Vue, Angular) accessible.

## 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": {
     "required": [
      "url"
     ],
     "properties": {
      "url": {
       "type": "string",
       "maxLength": 4096,
       "description": "Absolute public http(s) URL to render. Max 4096 characters; private-network targets are rejected."
      },
      "wait_ms": {
       "type": "number",
       "description": "Extra milliseconds to wait after load for late JS (0-10000). Default 0."
      },
      "block_ads": {
       "type": "boolean",
       "description": "Accepted for compatibility; filtering behavior is selected by the browser runtime."
      },
      "full_page": {
       "type": "boolean",
       "description": "Accepted for compatibility when screenshot=true; capture dimensions are selected by the browser runtime."
      },
      "screenshot": {
       "type": "boolean",
       "description": "Return a base64 PNG screenshot instead of HTML. Default false."
      }
     }
    },
    "type": {
     "type": "string",
     "const": "http"
    },
    "method": {
     "enum": [
      "POST"
     ],
     "type": "string"
    },
    "bodyType": {
     "enum": [
      "json",
      "form-data",
      "text"
     ],
     "type": "string"
    }
   },
   "additionalProperties": false
  },
  "output": {
   "type": "object",
   "required": [
    "type"
   ],
   "properties": {
    "type": {
     "type": "string"
    },
    "example": {
     "type": "object",
     "properties": {
      "url": {
       "type": "string"
      },
      "html": {
       "type": "string"
      },
      "bytes": {
       "type": "integer"
      },
      "title": {
       "type": "string"
      },
      "source": {
       "type": "string"
      },
      "final_url": {
       "type": "string"
      },
      "truncated": {
       "type": "boolean"
      }
     }
    }
   }
  }
 }
}
```

## Response schema (JSON Schema)

```json
{
 "type": "json",
 "example": {
  "url": "https://example.com",
  "html": "<html>…rendered DOM…</html>",
  "bytes": 1256,
  "title": "Example Domain",
  "source": "managed headless browser",
  "final_url": "https://example.com/",
  "truncated": false
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/agentutility-headless-browser-renderer-91628385/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from x402.agentutility.ai](https://www.zero.xyz/host/x402.agentutility.ai/llms.txt)
