AdsPower Local API with adspower-browser
The Skills CLI (npx adspower-browser) is the package manager for operate AdsPower browser profiles, groups, proxies, and application/category lists via the adspower-browser CLI. For more infomation about out product and services, visit AdsPower Official Website.
Install CLI
After installation, you can use any of these equivalent commands:
adspower-browser is the original command name. adspower and ads are aliases that point to the same CLI entry.
When to Use This Skill
Apply when the user:
- Asks to create, update, delete, or list AdsPower browser profiles
- Says 打开环境、配置文件、profile、AdsPower 等意指启动已有浏览器环境 → 使用
open-browser(CLI 或 MCP);完整说法与工具映射见 references/tool-intent-map.md [blocked] - Mentions opening or closing browsers/profiles, fingerprint, UA, or proxy
- Wants to manage groups, tags, proxies, or check API status
- Refers to AdsPower or adspower-browser (and MCP is not running or not desired)
Ensure AdsPower is running (default port 50325). Pass --port / --api-key when needed, or set the ADS_API_KEY environment variable before running start.
The CLI itself supports launching the AdsPower application via API key. If the AdsPower client is installed, AdsPower headless mode can also be launched via API key.
How to Run
The examples below use ads for brevity, but adspower-browser and adspower work the same way.
If the ADS_API_KEY environment variable is set, you can start the CLI directly with:
General command form:
AdsPower client headless mode:
Two forms for <arg>:
-
Single value (shorthand) — for profile-related commands, pass one profile ID or number:
ads open-browser <profile_id>ads close-browser <profile_id>ads get-profile-cookies <profile_id>ads get-browser-active <profile_id>ads get-profile-ua <profile_id>(single ID; a numeric token is treated asprofile_no)ads new-fingerprint <profile_id>(single ID; a numeric token is treated asprofile_no)
-
JSON string — full parameters for any command (see Command Reference below):
ads open-browser '{"profile_id":"abc123","launch_args":"..."}'- Commands with no params: omit
<arg>or use'{}'.
Essential Commands With AI Agents
You can use ads -h or ads <command> -h to view the specific parameters.
Start and stop CLI
Browser profile – open/close
Browser profile – create/update/delete/list
Listing all environments: get-browser-list returns total_count / total_pages. The CLI sends page=1,limit=200 by default, so one call covers up to 200 profiles. If total_pages > 1, keep calling with the same filters and page + 1 until every page is collected. For "operate on all environments in a group" tasks, gather all pages first, then act on every returned profile_id — never just the first.
Browser profile – move/cookies/UA/fingerprint/cache/share/active
Kernel
Patch
Tag
Group
Application (categories)
Proxy
Command Reference (full interface and parameters)
Browser Profile Management
See references/browser-profile-management.md [blocked] for open-browser, close-browser, create-browser, update-browser, delete-browser, get-browser-list, get-opened-browser, move-browser, get-profile-cookies, get-profile-ua, close-all-profiles, new-fingerprint, delete-cache-v2, share-profile, get-browser-active, get-cloud-active and their parameters.
Group Management
See references/group-management.md [blocked] for create-group, update-group, and get-group-list parameters.
Application Management
See references/application-management.md [blocked] for check-status and get-application-list parameters.
Proxy Management
See references/proxy-management.md [blocked] for create-proxy, update-proxy, get-proxy-list, and delete-proxy parameters.
Tag Management
See references/browser-tag-management.md [blocked] for get-tag-list, create-tag, update-tag, and delete-tag parameters.
Kernel Management
See references/browser-kernel-management.md [blocked] for download-kernel and get-kernel-list parameters.
Patch Management
See references/client-patch-management.md [blocked] for update-patch parameters.
user_proxy_config (inline proxy config for create-browser / update-browser)
See references/user-proxy-config.md [blocked] for all fields (proxy_soft, proxy_type, proxy_host, proxy_port, etc.) and example. For create-browser, include either proxyid or user_proxy_config. If the user does not specify a proxy when creating a browser profile, set user_proxy_config to {"proxy_soft":"no_proxy"}. For update-browser, include proxyid or user_proxy_config only when changing the profile proxy.
fingerprint_config (fingerprint config for create-browser / update-browser)
See references/fingerprint-config.md [blocked] for all fields (timezone, language, WebRTC, browser_kernel_config, random_ua, TLS, etc.) and example.
Automation (Not Supported by This CLI)
Commands such as navigate, click-element, fill-input, screenshot depend on a persistent browser connection and are not exposed by this CLI. Use the local-api-mcp MCP server for automation.
Deep-Dive Documentation
Reference docs with full enum values and field lists:
Use these when you need the exact allowed values or semantics; the main skill text above only summarizes.

