# Stable Browser Session API

> Stable Browser Session API is a paid API for AI agents from stable-browser-git-shafu-stablebrowser-han-020dc6-merit-systems.vercel.app, paid per call via x402, $0.1/call, status unknown (last checked 2026-09-14).

Creates a new cloud browser session or resumes an existing Browserbase session, returning a sessionId for subsequent browser automation calls.

## Facts

- Endpoint: POST https://stable-browser-git-shafu-stablebrowser-han-020dc6-merit-systems.vercel.app/api/sessions
- Price: $0.1/call
- Payment: x402
- Status: unknown
- Last checked: 2026-09-14
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/stable-browser-session-api-d09588ac
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_g-xbbeHT3mYmurVR6S6oD

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 stable-browser-session-api-d09588ac -d '<json body>'
```

Example prompt: Start a new cloud browser session so I can automate some web tasks — I want a fresh Browserbase session to navigate and interact with pages.

## When to prefer this

Use this endpoint when you need to initialize or resume a cloud-hosted Browserbase browser session for AI agent web automation workflows. It is the required first step before any browser navigation, scraping, or interaction calls that require a sessionId. Prefer this over alternatives when you are already operating within the Stable Browser / Browserbase ecosystem and need a pay-per-use, x402-compatible session creation mechanism.

## Known failure modes

- Invalid or expired sessionId when attempting to resume — session not found error
- Payment failure or insufficient USDC balance — session not created
- Browserbase service unavailability — upstream provider error
- Rate limiting or quota exceeded — too many concurrent sessions
- Malformed request body — missing or invalid parameters

## How this service works

Create a new browser session ($0.10). Optionally pass sessionId to resume an existing Browserbase session. Returns sessionId (Browserbase session ID) to use for all subsequent calls.

## Output

Returns a sessionId (Browserbase session ID) string that must be passed to all subsequent browser automation API calls to identify and interact with the created or resumed browser session.

## 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": "https://json-schema.org/draft/2020-12/schema",
     "properties": {
      "sessionId": {
       "type": "string",
       "description": "Optional session ID to use/reuse. If not provided or invalid, a new session is created."
      }
     },
     "additionalProperties": false
    },
    "type": {
     "type": "string",
     "const": "http"
    },
    "method": {
     "enum": [
      "POST",
      "PUT",
      "PATCH"
     ],
     "type": "string"
    },
    "bodyType": {
     "enum": [
      "json",
      "form-data",
      "text"
     ],
     "type": "string"
    }
   },
   "additionalProperties": false
  }
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/stable-browser-session-api-d09588ac/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from stable-browser-git-shafu-stablebrowser-han-020dc6-merit-systems.vercel.app](https://www.zero.xyz/host/stable-browser-git-shafu-stablebrowser-han-020dc6-merit-systems.vercel.app/llms.txt)
