# Browserbase Headless Browser Session Creator (via Vaaya)

> Browserbase Headless Browser Session Creator (via Vaaya) is a paid API for AI agents from vaaya.ai, paid per call via x402, $0.01/call, status unknown (last checked 2026-09-15).

Creates a headless Browserbase browser session with a connect URL, billing by the minute via x402 micropayments.

## Facts

- Endpoint: POST https://vaaya.ai/api/run/browserbase/create_session
- Price: $0.01/call
- Payment: x402
- Status: unknown
- Last checked: 2026-09-15
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/browserbase-headless-browser-session-creator-via-vaaya-75d51085
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_mKD6-mxZ48_2BcRCI0r8z

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 browserbase-headless-browser-session-creator-via-vaaya-75d51085 -d '<json body>'
```

Example prompt: Spin up a Browserbase headless browser session for me — I expect it'll take about 10 minutes, and keep it alive after the session ends.

## When to prefer this

Choose this endpoint when your AI agent needs a real, remotely controllable headless browser session (e.g. for Playwright/Puppeteer automation, web scraping, or interactive browsing tasks) and you want per-minute billing via x402 micropayments without managing browser infrastructure yourself. Prefer this over self-hosted headless Chrome when you need instant provisioning and pay-per-use pricing.

## Known failure modes

- estimatedMinutes below 5 (minimum is 5) causes validation error
- Insufficient x402 payment balance causes payment failure
- Session creation timeout if Browserbase infrastructure is overloaded
- Invalid proxies configuration causes session start failure
- Payment processing failure if USDC balance is insufficient

## How this service works

Browserbase — Create a headless browser session via x402. Charges 0.2¢ per minute of estimatedMinutes (minimum 5). Returns sessionId + connectUrl.

## Output

Returns a sessionId (unique identifier for the browser session) and a connectUrl (WebSocket or remote debugging URL to attach Playwright, Puppeteer, or similar tools to the running headless browser).

## Request schema (JSON Schema)

```json
{
 "type": "object",
 "$schema": "https://json-schema.org/draft/2020-12/schema",
 "required": [
  "input"
 ],
 "properties": {
  "input": {
   "type": "object",
   "required": [
    "type",
    "method",
    "bodyType",
    "body"
   ],
   "properties": {
    "body": {
     "type": "object",
     "$schema": "http://json-schema.org/draft-07/schema#",
     "properties": {
      "proxies": {},
      "keepAlive": {
       "type": "boolean"
      },
      "estimatedMinutes": {
       "type": "integer",
       "default": 5,
       "minimum": 5
      }
     },
     "additionalProperties": true
    },
    "type": {
     "type": "string",
     "const": "http"
    },
    "method": {
     "enum": [
      "POST"
     ],
     "type": "string"
    },
    "bodyType": {
     "enum": [
      "json",
      "form-data",
      "text"
     ],
     "type": "string"
    },
    "pathParams": {
     "type": "object"
    }
   },
   "additionalProperties": false
  },
  "output": {
   "type": "object",
   "required": [
    "type"
   ],
   "properties": {
    "type": {
     "type": "string"
    },
    "example": {
     "type": "object"
    }
   }
  }
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/browserbase-headless-browser-session-creator-via-vaaya-75d51085/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from vaaya.ai](https://www.zero.xyz/host/vaaya.ai/llms.txt)
