Create a browser session with a CDP WebSocket endpoint
Create a stealthed browser session. Returns a WebSocket URL for Playwright/Puppeteer connection.Documentation Index
Fetch the complete documentation index at: https://docs.reader.dev/llms.txt
Use this file to discover all available pages before exploring further.
| Header | Required | Description |
|---|---|---|
x-api-key | Yes | Your API key |
Content-Type | Yes | application/json |
| Field | Type | Default | Description |
|---|---|---|---|
maxDurationMs | number | 3600000 | Maximum session lifetime in ms (60s - 60min) |
| Field | Description |
|---|---|
sessionId | Unique session identifier |
wsEndpoint | CDP WebSocket URL - pass to chromium.connectOverCDP() |
token | Auth token embedded in wsEndpoint (for WebSocket proxy) |
status | Always "active" on creation |
createdAt | ISO 8601 timestamp |
expiresAt | When the session will auto-close |
| Code | Status | Description |
|---|---|---|
insufficient_credits | 402 | Not enough credits (sessions cost 1 credit/min) |
rate_limited | 429 | Too many requests |
upstream_unavailable | 502 | Browser engine unavailable |