Skip to main content
Driver provides managed Chrome sessions that you control over CDP. Create a hosted session, connect with Playwright, Puppeteer, Browser-Use, Crawl4AI, Stagehand, or another CDP client, then stop the session when your automation finishes.

Base URL

https://api.driver.dev
Send your API key as a bearer token:
Authorization: Bearer $DRIVER_API_KEY

Quick Start

curl -X POST "https://api.driver.dev/v1/browser/session" \
  -H "Authorization: Bearer $DRIVER_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{"type":"hosted"}'

Core Flow

1

Create a session

POST /v1/browser/session returns a sessionId, status, node, and cdpUrl.
2

Connect over CDP

Use cdpUrl with Playwright, Puppeteer, Browser-Use, Crawl4AI, Stagehand, or another CDP-compatible client.
3

Run your automation

Navigate, click, scrape, or test from the remote browser.
4

Stop the session

DELETE /v1/browser/session?sessionId=... stops billing and releases the browser.

Current APIs

Browser Sessions

Create, list, fetch, update, and stop managed browser sessions.

Session Options

Configure hosted sessions with country, duration, window size, and profiles.

Profiles

Persist cookies and browser state across hosted sessions.

API Reference

View the Mintlify API reference generated from the Driver OpenAPI spec.

Account Balance

Use the balance endpoint to check the current account balance and included network allowance.
curl "https://api.driver.dev/v1/account/balance" \
  -H "Authorization: Bearer $DRIVER_API_KEY"