Browser
A cloud browser you connect to over WebSocket. Each session runs its own Chromium or Firefox instance with stealth, fingerprint rotation, and CAPTCHA solving built in. You write navigation and extraction logic. Spider handles the anti-bot work. SDKs available for TypeScript, Python, and Rust.
Quick Start
Install the SDK, export your API key, and open a session.
Connect and scrape
Installation
All three SDKs connect to the same infrastructure over wss://browser.spider.cloud. Install with one command.
Install the SDK
Navigating Pages
Call goto() with a URL. Spider detects anti-bot challenges, rotates fingerprints, and solves CAPTCHAs automatically. Use goto_fast() when you do not need to wait for full DOM readiness.
Navigation methods
Extracting Structured Data
Pass CSS selectors to extractFields() and get a JSON object back. Spider runs the selectors server-side, so you never parse HTML yourself.
Field extraction
Natural Language Extraction
Use extract() with a plain English prompt when you do not know the page structure ahead of time. Spider reads the rendered page and returns what you asked for as text.
AI-powered extraction
Screenshots
Capture a full-page or viewport screenshot. Returns base64-encoded PNG.
Capture screenshots
Page Interactions
Use act() with a plain English instruction to click, type, or interact with any element. For precise control, use the direct DOM methods click() and type() with CSS selectors.
Interact with pages
Autonomous Agent Mode
Call agent() with a goal. Spider navigates across pages, clicks, fills forms, and extracts data until the task is complete. Works for multi-step workflows where you cannot predict the exact page sequence ahead of time.
Autonomous agent
Stealth and Anti-Bot
Set stealth on the connection to control how aggressively Spider evades detection. Level 0 is the strongest. If a site escalates, Spider escalates back automatically up to maxStealthLevels. 85% on the Browser Use stealth benchmark.
Stealth configuration
stealth: 0 starts with the strongest stealth profile. The system escalates only if needed, keeping requests fast for sites that do not require heavy protection.Session Recording
Set record: true to capture a full session replay. The recording includes every navigation, click, and form fill. Retrieve the playback URL with getRecording() after the session ends.
Record a session
Concurrent Sessions
Open up to 100 browser sessions in parallel. Each session is fully isolated: separate fingerprint, cookie jar, and proxy. All plans include 100 concurrent sessions.
Parallel sessions
Geo-Targeting
Set country to route the session through a residential proxy in that region. Supports 100+ country codes. The proxy applies to all navigations within the session.
Country-specific sessions
Connection Options
Full reference for SpiderBrowserOptions. All fields except apiKey are optional and have sensible defaults.
SpiderBrowserOptions
Raw WebSocket
Connect directly with any CDP-compatible client. Pass your API key and session options as query parameters to wss://browser.spider.cloud/v1/browser. Works with Playwright, Puppeteer, or any WebSocket library that speaks CDP.
Direct WebSocket connection
Create an API key and make your first request in under 3 minutes. SDK source and full examples are on GitHub. See the Browser API reference for endpoint details and pricing.