All services

Service

Browserbase

browser4 endpoints
Docs

Pay-per-use cloud browser sessions via x402. Create browser sessions with WebSocket access for web scraping, automation, and testing. No API keys or accounts required — just pay with USDC on Base. Priced at $0.12/hour.

x402

base

mpp

tempo

Methods

4 methods available

POST/browser/session/create
10000 USDC

Create a cloud browser session and get a WebSocket connection URL. Price scales with requested duration ($0.01 for 5 min, $0.03 for 15 min, $0.06 for 30 min, $0.12 for 60 min).

POST JSON body with estimatedMinutes. Returns sessionId, connectUrl (WebSocket URL to control the browser), paidMinutes, and expiration. The x402 payment amount scales with duration.

{
  "body": {
    "estimatedMinutes": "number (estimated session duration in minutes, e.g. 30)"
  }
}
POST/browser/session/:id/extend
10000 USDC

Add more time to an active browser session. Requires an additional x402 payment for the extra time.

Replace :id with the session ID. POST JSON body with additionalMinutes. Another x402 payment is required for the additional time.

{
  "path": {
    "id": "string (session ID)"
  },
  "body": {
    "additionalMinutes": "number (minutes to add, e.g. 15)"
  }
}
GET/browser/session/:id/status
0 USDC

Check the status of a browser session including time used and remaining.

Replace :id with the session ID. Returns session status, minutes paid, minutes used, minutes remaining, and expiration time.

{
  "path": {
    "id": "string (session ID from /browser/session/create)"
  }
}
POST/browser/session/:id/terminate
0 USDC

Terminate a browser session. Returns final usage summary and refund eligibility for unused time.

Replace :id with the session ID. Terminates the session and returns final status, usage summary, and any refund amount for unused time.

{
  "path": {
    "id": "string (session ID)"
  }
}