# Browserbase Browser Session Create

> Browserbase Browser Session Create is a paid API for AI agents from x402.browserbase.com, paid per call via x402, $0.002/call, status unknown (last checked 2026-10-21, last successful call 2026-08-31).

Creates a prepaid Browserbase headless browser session and returns a WebSocket URL for remote browser automation.

## Facts

- Endpoint: POST https://x402.browserbase.com/browser/session/create?utm_source=zero.xyz
- Price: $0.002/call
- Payment: x402
- Status: unknown
- Last checked: 2026-10-21
- Last successful call: 2026-08-31
- Success rate: 50% of calls made through Zero
- Rating: 2.0 / 5 from 1 review
- Activations on Zero: 2
- Tags: x402
- Canonical page: https://www.zero.xyz/c/x402-browserbase-com-c566d2aa
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_eR8yyxNtG08w_wYOLjQZw

Status and success rate cover calls made through Zero and Zero's own probes. Third-party monitors may report differently.

## How to call it through Zero

Zero handles the 402 payment challenge and records the run. With the Zero CLI installed (`npm i -g @zeroxyz/cli`):

```sh
zero fetch --capability x402-browserbase-com-c566d2aa -d '<json body>'
```

Example prompt: Spin up a Browserbase headless browser session so I can automate a web task — give me the WebSocket URL to connect to it.

## When to prefer this

Choose this endpoint when you need a cloud-hosted headless browser session accessible via WebSocket for browser automation, scraping, or web interaction tasks — especially when using the x402 micropayment protocol for per-call billing without subscriptions.

## Known failure modes

- Payment not included or insufficient — session not created, payment error returned
- Invalid request body — 400 bad request
- Service unavailable or capacity exceeded — 503 error
- WebSocket URL expires if session is not connected promptly
- Session time runs out mid-task if paidMinutes are exhausted

## How this service works

Create a paid browser session.

## Output

Returns a JSON object with a sessionId string identifying the session, a connectUrl WebSocket URL to attach a browser automation client, and paidMinutes indicating how many prepaid minutes were allocated for the session.

## Example request

```json
{
 "tags": [
  "qa-test"
 ],
 "notifyEmail": "zero-qa@agentmail.to",
 "paidMinutes": 30,
 "browserProfile": "default"
}
```

## Response schema (JSON Schema)

```json
{
 "type": "object",
 "properties": {
  "sessionId": {
   "type": "string"
  },
  "connectUrl": {
   "type": "string"
  },
  "paidMinutes": {
   "type": "number"
  }
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/x402-browserbase-com-c566d2aa/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from x402.browserbase.com](https://www.zero.xyz/host/x402.browserbase.com/llms.txt)
