/install browser-use-api
Browser Use
Cloud-based AI browser automation. Send a task in plain English, get structured results.
Quick Start
# Submit task
curl -s -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": "Go to example.com and extract the main heading"}'
# Poll for result (replace TASK_ID)
curl -s "https://api.browser-use.com/api/v2/tasks/TASK_ID" \
-H "X-Browser-Use-API-Key: $BROWSER_USE_API_KEY"
Helper Script
Use scripts/browser-use.sh for simpler execution:
# Run task and wait for result
./scripts/browser-use.sh "Go to hacker news and get the top 3 stories"
# Just submit (don't wait)
./scripts/browser-use.sh --no-wait "Search Google for AI news"
API Reference
Create Task
POST https://api.browser-use.com/api/v2/tasks
Body:
{
"task": "Plain English description of what to do",
"llm": "gemini-3-flash-preview" // optional, default is fast model
}
Response:
{
"id": "task-uuid",
"sessionId": "session-uuid"
}
Get Task Status
GET https://api.browser-use.com/api/v2/tasks/{taskId}
Response fields:
status:pending|started|finished|failedoutput: Result text when finishedsteps: Array of actions taken (with screenshots)cost: Cost in dollars (e.g., "0.02")isSuccess: Boolean result
Stop Task
POST https://api.browser-use.com/api/v2/tasks/{taskId}/stop
Pricing
~$0.01-0.05 per task depending on complexity. Check balance:
curl -s https://api.browser-use.com/api/v2/credits \
-H "X-Browser-Use-API-Key: $BROWSER_USE_API_KEY"
When to Use
- Complex multi-step web workflows
- Sites that block simple scraping
- Form filling and submissions
- When you need screenshots of steps
- When local browser control isn't available
When NOT to Use
- Simple page fetches (use
web_fetchinstead) - When you have local browser access (use
browsertool) - Rapid/high-volume scraping (use Code Use or local scraping)
- 确保已安装 OpenClaw(本地或 Docker 部署)
- 在对话框中输入安装命令:
/install browser-use-api - 安装完成后,直接呼叫该 Skill 的名称或使用
/browser-use-api触发 - 根据 Skill 的参数说明提供必要输入,即可获得结构化输出
Browser Use API 是什么?
Cloud browser automation via Browser Use API. Use when you need AI-driven web browsing, scraping, form filling, or multi-step web tasks without local browser control. Triggers on "browser use", "cloud browser", "scrape website", "automate web task", or when local browser isn't available/suitable. 它是一个面向 Claude Code / OpenClaw 的 AI Agent Skill 插件,目前累计下载 3233 次。
如何安装 Browser Use API?
在 OpenClaw 或 Claude Code 对话框中运行命令「/install browser-use-api」即可一键安装,无需额外配置。
Browser Use API 是免费的吗?
是的,Browser Use API 完全免费(开源免费),可自由下载、安装和使用。
Browser Use API 支持哪些平台?
Browser Use API 跨平台运行,可在任意部署了 OpenClaw / Claude Code 的环境中使用(cross-platform)。
谁开发了 Browser Use API?
由 jfrux(@jfrux)开发并维护,当前版本 v1.0.1。