skills/cloud/references/quickstart.md
Browser Use Cloud is the hosted platform for web automation. Stealth browsers with anti-fingerprinting, CAPTCHA solving, residential proxies in 195+ countries. Usage-based pricing via API keys.
https://api.browser-use.com/api/v2/X-Browser-Use-API-Key: <key>pip install browser-use-sdk
from browser_use_sdk import BrowserUse
client = BrowserUse() # Uses BROWSER_USE_API_KEY env var
npm install browser-use-sdk
import BrowserUse from 'browser-use-sdk';
const client = new BrowserUse(); // Uses BROWSER_USE_API_KEY env var
export BROWSER_USE_API_KEY=your-key
result = await client.run("Search for top Hacker News post and return title and URL")
print(result.output)
curl -X POST https://api.browser-use.com/api/v2/tasks \
-H "X-Browser-Use-API-Key: $BROWSER_USE_API_KEY" \
-H "Content-Type: application/json" \
-d '{"task": "Search for the top Hacker News post and return the title and url."}'
Response: {"id": "<task-id>", "sessionId": "<session-id>"}
from pydantic import BaseModel
class HNPost(BaseModel):
title: str
url: str
points: int
result = await client.run(
"Find top Hacker News post",
output_schema=HNPost
)
print(result.output) # HNPost instance
Every session has a liveUrl:
curl https://api.browser-use.com/api/v2/sessions/<sessionId> \
-H "X-Browser-Use-API-Key: $BROWSER_USE_API_KEY"
Open the liveUrl to watch the agent work in real-time.
$0.01 init + per-step (varies by model):
| Model | Per Step |
|---|---|
| Browser Use LLM | $0.002 |
| Browser Use 2.0 | $0.006 |
| Gemini Flash Lite | $0.005 |
| GPT-4.1 Mini | $0.004 |
| O3 | $0.03 |
| Claude Sonnet 4.6 | $0.05 |
Typical task: 10 steps = ~$0.03 (with Browser Use LLM)
| Model | Input/1M | Output/1M |
|---|---|---|
| BU Mini (Gemini 3 Flash) | ~$0.72 | ~$4.20 |
| BU Max (Claude Sonnet 4.6) | ~$3.60 | ~$18.00 |
Slow tasks?
start_url to skip navigationAgent failed?
liveUrl to see what happenedstart_urlLogin issues?
curl -fsSL https://browser-use.com/profile.sh | shBlocked by site?
flash_mode=False (slower but more careful)Rate limited?
Stop a session:
curl -X PATCH https://api.browser-use.com/api/v2/sessions/<id> \
-H "X-Browser-Use-API-Key: $BROWSER_USE_API_KEY" \
-H "Content-Type: application/json" \
-d '{"action": "stop"}'