Web Scraping API
Synchronous scrape
The scrape endpoint runs a browser session, executes JavaScript, and returns rendered HTML in a single synchronous request.
POST
Synchronous scrape
Getting started
Base URL
Example request
Render options
Therender object controls how the browser loads the page before HTML is captured. All fields are optional — when omitted, server defaults apply.
Example for a JavaScript-heavy page that keeps fetching data after load:
Resource options
Theresources object controls which asset types the browser loads during scraping. Blocking heavy assets speeds up requests when you only need HTML text and structure.
All fields are optional. When
resources is omitted, no resource types are blocked unless your deployment sets server-side defaults.
Example — scrape faster by skipping images and fonts:
Request parameters
String
required
The target URL to scrape. Must be a public HTTP or HTTPS URL. Requests to localhost and private IP addresses are blocked by SSRF protection.
String
required
Your unique API key.
String
Optional session identifier to reuse browser state (cookies, local storage) across multiple scrape requests.
String
Browser fingerprint preset. Supported values:
desktop_en_us, desktop_ru_ru, mobile_en_us.Object
Rendering options for the browser session.
String
When to consider navigation finished. Values:
domcontentloaded, networkidle. Defaults to domcontentloaded.Integer
Maximum time in milliseconds to wait for page load. Defaults to 60000.
Integer
Additional delay in milliseconds after the page load event before capturing content.
Boolean
When
true, ignore TLS certificate errors for the target page.Object
Resource loading controls.
Array
Resource types to block. Supported values:
images, fonts, media.Array
Ordered list of browser actions to perform before capturing content. Each action is an object with a
type field.String
required
Action type. Supported values:
wait, wait_for, click, type, scroll.String
CSS selector for
wait_for, click, or type actions.String
Text to type for the
type action.String
Scroll target for the
scroll action (e.g. bottom).Integer
Duration in milliseconds for the
wait action.Integer
Timeout in milliseconds for
wait_for actions.Array
Cookies to inject before navigation. Each cookie object requires
name and value; optional fields: domain, path.Response parameters
The API response is returned in a universal and lightweight JSON format.Boolean
Whether the scrape completed successfully.
String
The rendered page HTML.
Object
Metadata about the scrape, including final URL, HTTP status code, and duration.
Object
Error details when
ok is false.