Skip to main content

Authentication

All endpoints require an API key via the x-api-key header. Get your key at cloud.browser-use.com/settings, or set it as BROWSER_USE_API_KEY in your environment.

API Versions

BU Agent API (v3)

Recommended for new projects. Session-based agent API with simplified resource model.Base URL: https://api.browser-use.com/api/v3Resources: Sessions, Messages, Files, Workspaces
  • Create sessions with optional tasks
  • Structured output via JSON Schema
  • File upload/download per session
  • Persistent workspaces across sessions
  • Models: bu-mini (default) and bu-max

Cloud API v2 (Stable)

Full-featured stable API. Task-based with extended resources.Base URL: https://api.browser-use.com/api/v2Resources: Tasks, Sessions, Profiles, Browsers, Skills, Marketplace, Billing
  • Run tasks with streaming step logs
  • Browser profiles for persistent state
  • Direct CDP browser access
  • Skills: turn websites into API endpoints
  • Skill marketplace

SDKs

Both APIs ship in a single package. Install once, import by version.

Endpoint Overview

BU Agent API (v3)

Cloud API v2 (Stable)