$ man javascript-render
/javascript-render
PRICE / CALL
$0.03
USDC · base mainnet · scheme: exact
METHOD
POST
CLUSTER
webprobeCATEGORY
uncategorized
STATUS
● live
NAME
javascript-render — renders a url with javascript enabled and returns the browser-rendered html, title, resolved url, and truncation metadata, or captures a…
synonym alias of browser-session — reuses the canonical handler.
SYNOPSIS
POST https://x402.agentutility.ai/javascript-render
Content-Type: application/json
X-PAYMENT: <signed-transferWithAuthorization>
{ ... }↳ first call →
402 Payment Required. Sign USDCtransferWithAuthorization, retry with theX-PAYMENT header.DESCRIPTION
Renders a URL with JavaScript enabled and returns the browser-rendered HTML, title, resolved URL, and truncation metadata, or captures a screenshot when screenshot=true. Use it as a JavaScript render API, JS page renderer, or single-page-app HTML renderer.
INPUT — request schema
| property | type | description | req? |
|---|---|---|---|
| url | string | Absolute http(s) URL to render. | required |
| screenshot | boolean | Return a base64 PNG screenshot instead of HTML. Default false. | optional |
| full_page | boolean | When screenshot=true, capture the full scrollable page. Default false. | optional |
| wait_ms | number | Extra milliseconds to wait after load for late JS (0-10000). Default 0. | optional |
| block_ads | boolean | Block ad/tracker requests for a cleaner render. Default true. | optional |
OUTPUT — response shape
| field | type | description |
|---|---|---|
| url | string | — |
| title | string | — |
| html | string | — |
| source | string | — |
EXAMPLES — two ways to call
EXAMPLE 1 · curl
curl -X POST https://x402.agentutility.ai/javascript-render \
-H 'Content-Type: application/json' \
-d '{ }'first response =
402 Payment Required with payment requirements; sign + retry with X-PAYMENT.EXAMPLE 2 · mcp
# Install the MCP package for this endpoint's cluster npx -y @agentutility/mcp-<cluster> # Required: EVM private key with USDC on Base export X402_PRIVATE_KEY=0x... # Then call the javascript-render tool from your MCP-aware agent.
MCP server handles payment automatically — your coding agent just calls the tool by name.
METADATA
- tags
- web-probejavascriptrenderjavascript-render
- methods
- POST
- cluster
- webprobe
- price
- $0.03 USDC per call
ADJACENT — other endpoints in webprobe
| endpoint | description | price |
|---|---|---|
| arxiv-search | arXiv full-text search. | $0.03 |
| browser-render | Loads a public URL with JavaScript enabled and returns rendered HTML, title, final URL, byte count, or a base64 screenshot when requested. | $0.03 |
| browser-session | Loads a URL in a real headless browser with JavaScript executed, then returns the rendered HTML and page title, or a base64 screenshot. | $0.03 |
| headless-browser | Opens a public URL in a real headless browser, waits for client-side rendering, and returns the rendered DOM or a screenshot. | $0.03 |
| ssl-cert | Checks a domain's SSL certificate: issuer, subject, SAN list, validity dates, and days-until-expiry. | $0.03 |
| ssl-cert-info | Inspects a domain's SSL/TLS certificate: issuer, subject, SAN list, validity dates, and days-until-expiry. | $0.03 |
| ssl-certificate-check | SSL certificate check / TLS certificate expiry API. | $0.03 |
| subdomain-enum | Enumerates a domain's subdomains by mining Certificate Transparency logs (crt.sh). | $0.03 |
SEE ALSO