Skip to main content
GET
Fetch with JavaScript rendering

Authorizations

X-API-Key
string
header
required

API key passed in the X-API-Key header.

Headers

X-Target-URL
string

Target URL (no encoding needed). Recommended for URLs with query parameters.

X-Wait-Strategy
enum<string>
default:load

When the page is ready: load (DOMContentLoaded), networkidle (no pending requests), or selector (wait for CSS selector).

Available options:
load,
networkidle,
selector
X-Wait-Selector
string

CSS selector to wait for (only with X-Wait-Strategy: selector).

X-Screenshot
string

Capture a full-page PNG screenshot. Set to 1 or true.

X-JS-Expression
string

JavaScript to evaluate after the page is ready. Result returned in js_result.

X-Expect-Selector
string

CSS selector that must exist in the rendered page. Retries on a different node if missing.

X-Expect-Contains
string

Substring that must exist in the page body. Retries on a different node if missing.

X-Steps
string

JSON array of sequential browser actions (navigate, click, type, wait, evaluate, screenshot, sleep, etc.). Executes after page load, before capture.

X-Proxy
string

Route through a proxy (http:// or socks5://).

X-Block-Resources
string

Comma-separated resource types to block: image, font, stylesheet, media. No default for /browser.

Cookies to inject before navigation (standard format: name=value; name2=value2).

X-Cookies
string

Cookies as JSON array for full control: [{"name":"s","value":"v","domain":".example.com"}].

X-Geo
string

Target countries as comma-separated ISO codes (e.g. US,DE,AT). Aliases: X-Geo-CC, X-CC, X-Country, X-Geo-Strict.

X-Agent
string

Route through specific agent(s) by slug (e.g. de1) or comma-separated list for random pick (e.g. de1,at5,us3).

X-Timeout
string

Override request timeout in seconds (default: 30).

Response

Rendered page with metadata, cookies, and optional screenshot.

meta
object
raw
string | null

Rendered page body as text (when not JSON).

raw_json
any | null

Parsed JSON body (when response is valid JSON, otherwise null).

cookies
object[]

All cookies captured during rendering, including httpOnly cookies.

screenshot
string | null

Base64-encoded full-page PNG screenshot (null if not requested).

js_result
any | null

Return value of jsExpression evaluation (null if not provided).