简介
Nextbrowser 提供云浏览器 API 与自动化任务能力,支持持久化登录状态、住宅代理及 CAPTCHA 解决,适用于社交媒体管理与批量浏览器自动化场景。
原始描述
Use Nextbrowser cloud API to spin up cloud browsers for Openclaw to run autonomous browser tasks. Primary use is creating browser sessions with profiles (per...
中文使用说明 来自收录源
核心用法
Nextbrowser 是一个云浏览器自动化平台,通过 API 提供两类核心能力:一是浏览器配置文件管理,可创建持久化的浏览器会话(保存 Cookies 和登录状态),支持配置操作系统类型、浏览器类型及住宅代理;二是自主任务执行,通过子代理模式运行自动化浏览器任务,用户只需提供自然语言描述的任务指令,系统即可完成复杂的网页交互操作。
具体使用流程为:首先通过 API Key 认证(从 openclaw 配置读取),创建浏览器配置文件时可指定代理地理位置(国家/地区/城市/ISP 四级选择);随后可直接调用任务端点,在 fast 模式下以 3-5 倍速度执行自动化操作,支持关联凭证管理器实现自动登录。典型应用场景包括社交媒体账号管理(如 Reddit 内容互动)、批量数据采集、跨平台账号运维等。
显著优点
- 零基础设施成本:无需本地部署浏览器集群,云端即时启动,按信用点计费,新用户赠送 2000 点试用额度。
- 反检测能力完备:内置浏览器隐身技术、住宅代理轮换及 CAPTCHA 自动解决,有效规避平台风控。
- 状态持久化:配置文件机制允许跨会话保持登录态,避免重复验证,大幅提升多账号管理效率。
- 自然语言驱动:任务描述支持纯文本指令,降低自动化脚本编写门槛,非技术人员亦可操作。
- 地理灵活性:支持全球 190+ 国家/地区的精准定位模拟,满足本地化测试与区域内容访问需求。
潜在缺点与局限性
- 第三方依赖风险:核心功能完全依赖 nextbrowser.com 服务可用性,若服务中断或调整定价策略,将直接影响业务连续性。
- 合规边界模糊:自动化社交媒体互动(点赞、评论、发帖)可能违反平台服务条款,存在账号封禁或法律风险,文档未明确合规指引。
- 数据主权问题:浏览器数据(Cookies、凭证、操作日志)存储于境外云端,对数据敏感型用户存在隐私顾虑。
- 调试能力受限:任务执行过程为黑盒模式,失败时仅返回状态码与简要输出,难以深度排查具体步骤问题。
- 成本不可控:高频自动化任务可能快速消耗信用点,缺乏用量预警与预算硬限制机制。
适合的目标群体
- 社交媒体运营团队:需管理多平台多账号矩阵,执行定时内容发布与互动维护
- 跨境电商从业者:需要模拟不同国家用户身份进行竞品调研、价格监控与账号养号
- 自动化测试工程师:需快速验证 Web 应用在不同地理位置、浏览器环境下的表现
- 数据采集开发者:需要绕过反爬机制获取公开网络数据,但缺乏自建代理池技术能力
- 数字营销机构:执行批量账号注册、内容分发等重复性浏览器操作任务
使用风险
性能风险:任务执行依赖云端资源排队,高峰期可能出现延迟;fast 模式虽提速但可能牺牲稳定性。
依赖风险:API 版本迭代可能导致接口变更,需持续关注文档更新;服务商若终止运营,配置文件与凭证数据迁移困难。
安全风险:API Key 泄露将导致账户被盗用,建议定期轮换;凭证管理器集中存储多平台密码,成为高价值攻击目标。
合规风险:住宅代理与浏览器隐身技术的组合使用,若用于欺诈、垃圾信息传播等场景,用户需承担全部法律责任。
技能正文
name: next-browser description: Use Nextbrowser cloud API to spin up cloud browsers for Openclaw to run autonomous browser tasks. Primary use is creating browser sessions with profiles (persisted logins/cookies) that Openclaw can control to manage social media and other online accounts. Secondary use is running task subagents for fast autonomous browser automation under residential proxy, browser stealth, and CAPTCHA solving capability. Docs at docs.nextbrowser.com.
Nextbrowser
Nextbrowser provides cloud browsers and autonomous browser automation via API.
Docs:
- Cloud API: https://docs.nextbrowser.com/getting-started
Setup
API Key is read from openclaw config at skills.entries.next-browser.apiKey.
If not configured, tell the user:
To use Nextbrowser, you need an API key. Get one at https://app.nextbrowser.com/user-settings (new signups get 2000 free credits). Then configure it:
openclaw config set skills.entries.next-browser.apiKey "nb_your_key_here"
Base URL: https://app.nextbrowser.com/api/v1
All requests need header: Authorization: x-api-key <apiKey>
1. Profiles
Profiles persist cookies and login state across browser sessions. Create one, log into your accounts in the browser, and reuse it.
# List profiles
curl "https://app.nextbrowser.com/api/v1/browser/profiles" -H "Authorization: x-api-key $API_KEY"
# Create browser profile
curl -X POST "https://app.nextbrowser.com/api/v1/browser/profiles" \
-H "Authorization: x-api-key $API_KEY" \
-H "Content-Type: application/json" \
-d '{"name": "<profile-name>", "browser_settings": {"os_type": "<os-type>", "browser_type": "chrome"},
"proxy_settings":{"protocol":"<http|https|socks5>","country":"<iso-2-country-code>","mode":"built-in"}}'
# Delete profile
curl -X DELETE "https://app.nextbrowser.com/api/v1/browser/profiles/<profile-id>" \
-H "Authorization: x-api-key $API_KEY"
2. Credentials Manager
The Credentials Manager securely stores and reuses authentication data across browser runs and autonomous tasks.
# List credentials
curl "https://app.nextbrowser.com/api/v1/users/credentials" -H "Authorization: x-api-key $API_KEY"
3. Locations
The Locations endpoints provide available geolocation metadata for proxy and browser configuration. Use them to dynamically discover supported countries, regions, cities, and ISPs before creating profiles or running tasks under specific network conditions.
# List Countries
curl "https://app.nextbrowser.com/api/v1/location/countries?\
limit=<limit>&\
offset=<offset>&\
name=<name>&\
code=<iso2-code>&\
connection_type=<connection-type>" \
-H "Authorization: x-api-key $API_KEY"
# List Regions
curl "https://app.nextbrowser.com/api/v1/location/regions?\
country__code=<iso2-country>&\
limit=<limit>&\
offset=<offset>&\
name=<name>&\
code=<region-code>&\
city__code=<city-code>&\
connection_type=<connection-type>" \
-H "Authorization: x-api-key $API_KEY"
# List Cities
curl "https://app.nextbrowser.com/api/v1/location/cities?\
country__code=<iso2-country>&\
limit=<limit>&\
offset=<offset>&\
name=<name>&\
code=<city-code>&\
region__code=<region-code>&\
connection_type=<connection-type>" \
-H "Authorization: x-api-key $API_KEY"
# List ISPs
curl "https://app.nextbrowser.com/api/v1/location/isps?\
country__code=<iso2-country>&\
limit=<limit>&\
offset=<offset>&\
name=<name>&\
code=<isp-code>&\
region__code=<region-code>&\
city__code=<city-code>&\
connection_type=<connection-type>" \
-H "Authorization: x-api-key $API_KEY"
4. Tasks (Subagent)
Run autonomous browser tasks - like a subagent that handles browser interactions for you. Give it a prompt and it completes the task.
Always use fast mode - optimized for browser tasks, 3-5x faster than other models.
Always use true for skip_plan_approval - optimized for automated tasks, skips the approval and improve performance.
curl -X POST "https://app.nextbrowser.com/api/v1/chat/tasks" \
-H "Authorization: x-api-key $API_KEY" \
-H "Content-Type: application/json" \
-d '{
"task_description": "'"\
Go to Reddit.com account, check if the account is logged in (if not, use credentials stored). \
Find 10 relevant posts on the topic of AI Agents, upvote 8 of them and post 3 witty-sounding comments \
that a cynical and funny Reddit user would post. Ensure that the comment is posted, ask for approval \
if you are not sure whether such comment is okay. By the end, you should have at least 10 relevant posts \
viewed, 8 upvotes, and 3 comments."\
"'",
"mode": "fast",
"profile_id": "<profile-id>",
"credentials": ["<credential-id>"],
"skip_plan_approval": true
}'
Poll for completion
curl "https://app.nextbrowser.com/api/v1/chat/tasks/<task-id>" -H "Authorization: x-api-key $API_KEY"
Response:
{
"success": true,
"payload": {
"status": "finished",
"output": "Task completed. 10 relevant posts are viewed, 8 upvotes are done and 3 comments posted.",
"isSuccess": true
},
"errors": {},
"description": "Task retrieved successfully"
}
Status values: processing, finished, failed
Task options
| Option | Description |
|---|---|
task_description |
Your prompt (required) |
mode |
Always use fast |
profile_id |
Use a profile for auth |
credentials |
List of credential IDs for login |
skip_plan_approval |
Always use true |
Full API Reference
See references/api.md for all endpoints including Sessions, Files, Skills, and Skills Marketplace.
正文来自原始发布页, 版权归作者所有,许可未标注。 权利人认为有不妥,可申请下架。