# Browser Use Cloud API - Session Creation (x402)

> Browser Use Cloud API - Session Creation (x402) is a paid API for AI agents from x402.api.browser-use.com, paid per call via x402, $1/call, status healthy (last checked 2026-09-15, last successful call 2026-09-02).

Creates a new browser automation session via Browser Use Cloud, billed pay-per-use in USDC through the x402 payment protocol.

## Facts

- Endpoint: POST https://x402.api.browser-use.com/api/v3/sessions
- Price: $1/call
- Payment: x402
- Status: healthy
- Last checked: 2026-09-15
- Last successful call: 2026-09-02
- Success rate: 100% of calls made through Zero
- Rating: 5.0 / 5 from 1 review
- Activations on Zero: 1
- Tags: x402
- Canonical page: https://www.zero.xyz/c/browser-use-cloud-api-session-creation-x402-5d07b71e
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_xkMrj1THQNNiNt7pYuA3O

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 browser-use-cloud-api-session-creation-x402-5d07b71e -d '<json body>'
```

Example prompt: Start a Browser Use cloud session to log into my dashboard at example.com, navigate to the reports page, and download the latest CSV — use the GPT-4o model for agent steps and top up $5 in credits via x402.

## When to prefer this

Choose this endpoint when you need to programmatically create cloud-hosted browser automation sessions with AI agent capabilities, especially when paying per-use in USDC via x402 is acceptable or preferred over a subscription model. Ideal for agents that need to browse the web, interact with web UIs, extract data from sites requiring JavaScript rendering, or execute multi-step web tasks without managing browser infrastructure. Prefer over self-hosted browser automation when you want zero infrastructure overhead and pay-only-for-what-you-use pricing.

## Known failure modes

- Insufficient USDC balance — payment of $5 (or $1 minimum) required via x402 before session creation
- Invalid session configuration parameters — returns 400 with validation error
- Payment processing failure — x402 payment header missing or malformed
- Session quota exceeded for project — returns 429 or quota error
- Model not available — selected LLM model unavailable, returns 400 or 503
- Network timeout during session initialization — returns 503 or timeout error

## How this service works

Browser Use: AI browser automation agents in the cloud. POST a natural-language task and an agent navigates websites, fills forms, clicks buttons, extracts structured data, and completes multi-step workflows just like a human. Stealth-enabled remote browsers with CAPTCHA solving, residential proxies, live session view, and optional structured output. Payments top up your balance; managing your session is free — you only pay to open a new browser. Docs: https://docs.browser-use.com

## Output

Returns a newly created browser session object including session ID, status, and associated project credit balance. The session can then be used to execute agent steps (billed at $0.002–$0.10 per step depending on model), with unused credits carrying over to future requests.

## 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",
     "required": [
      "task"
     ],
     "properties": {
      "task": {
       "type": "string",
       "description": "Natural-language instructions for the agent to execute in a remote browser."
      },
      "model": {
       "type": "string",
       "description": "LLM powering the agent: \"gemini-3-flash\" (fast/cheap), \"claude-sonnet-5\" (balanced), \"claude-opus-4.7\" (most capable, default), \"claude-opus-4.8\" (newest Opus tier)."
      },
      "keepAlive": {
       "type": "boolean",
       "description": "Keep the session idle after the task completes so follow-up tasks reuse browser state."
      },
      "sessionId": {
       "type": "string",
       "description": "Dispatch the task to an existing idle session instead of creating a new one."
      },
      "maxCostUsd": {
       "type": "number",
       "description": "Maximum total cost in USD for this session; the task stops when reached."
      },
      "outputSchema": {
       "type": "object",
       "description": "JSON Schema the agent's final output must conform to; enables structured output."
      },
      "enableRecording": {
       "type": "boolean",
       "description": "Record a video of the browser session, returned as recordingUrls."
      },
      "proxyCountryCode": {
       "type": "string",
       "description": "Country code for the browser proxy (e.g. \"US\", \"DE\", \"JP\"). Defaults to \"US\"."
      }
     }
    },
    "type": {
     "type": "string",
     "const": "http"
    },
    "method": {
     "enum": [
      "POST",
      "PUT",
      "PATCH"
     ],
     "type": "string"
    },
    "bodyType": {
     "enum": [
      "json",
      "form-data",
      "text"
     ],
     "type": "string"
    }
   },
   "additionalProperties": false
  },
  "output": {
   "type": "object",
   "required": [
    "type"
   ],
   "properties": {
    "type": {
     "type": "string"
    },
    "example": {
     "type": "object",
     "required": [
      "id",
      "status"
     ],
     "properties": {
      "id": {
       "type": "string",
       "description": "Session id — poll GET /api/v3/sessions/{session_id} for progress."
      },
      "output": {
       "description": "Agent's final
… (truncated)
```

## Response schema (JSON Schema)

```json
{
 "type": "json",
 "example": {
  "id": "3f6f2f64-3bfa-4643-a723-000000000000",
  "output": "Example Domain",
  "status": "stopped",
  "liveUrl": "https://cloud.browser-use.com/live/...",
  "stepCount": 3,
  "isTaskSuccessful": true
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/browser-use-cloud-api-session-creation-x402-5d07b71e/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from x402.api.browser-use.com](https://www.zero.xyz/host/x402.api.browser-use.com/llms.txt)
