Skip to main content

Authentication

All requests require an API key in the X-Browser-Use-API-Key header:
X-Browser-Use-API-Key: bu_your_key_here
Get a key at cloud.browser-use.com/settings. Keys start with bu_.

Base URL

https://api.browser-use.com/api/v3

Quick example

Create a session
curl -X POST https://api.browser-use.com/api/v3/sessions \
  -H "X-Browser-Use-API-Key: bu_your_key_here" \
  -H "Content-Type: application/json" \
  -d '{"task": "Find the top 3 trending repos on GitHub today"}'
Get session result (replace SESSION_ID)
curl https://api.browser-use.com/api/v3/sessions/SESSION_ID \
  -H "X-Browser-Use-API-Key: bu_your_key_here"

Environment variable

Set the key once so SDKs pick it up automatically:
export BROWSER_USE_API_KEY=bu_your_key_here

Prefer the SDK? See the Agent docs — the SDK has all API endpoints available as methods, including client.browsers.create().
pip install browser-use-sdk