Authentication
All endpoints require an API key via thex-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) andbu-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