Launch a profile
Launch a profile by ID, name, or remark and obtain its CDP debugging port.
Definition: POST · Checked on 2026-10-21.
Request
POST /api/launchBrowserUse the base URL and api-key shown on the client API screen. All examples use 9000 only as a placeholder port; see Overview for authentication.
JSON body
| Field | Type | Required | Description |
|---|---|---|---|
id | integer | No | Use a positive integer id; supply at least one of id, name, remark; unique id recommended |
name | string | No | Matches profile name; id takes priority; multiple name or remark matches fail |
remark | string | No | Matches remark; without id, name and remark match either value; multiple matches fail |
tempLaunchArgs | string | No | Temporary arguments for this launch, not the persisted launchArgs configuration |
cURL example
curl --request POST 'http://127.0.0.1:9000/api/launchBrowser' \
--header 'api-key: YOUR_API_KEY' \
--header 'Content-Type: application/json' \
--data '{
"id": 1
}'Alternative request bodies
{
"name": "1"
}{
"remark": "1"
}{
"id": 1,
"tempLaunchArgs": "--blink-settings=imagesEnabled=false"
}Response example
{
"success": true,
"data": {
"debuggingPort": 9222,
"webdriverPath": "EXAMPLE_LOCAL_CHROMEDRIVER_PATH"
}
}Current client response fields
| Field | Type | Usage |
|---|---|---|
success | boolean | Request processing succeeded; not a guarantee that every item was written |
data.debuggingPort | integer | CDP port for automation, distinct from the local API port |
data.webdriverPath | string / omitted | Local driver path; may be omitted if already running and does not guarantee the file exists |
message | string / omitted | Optional message, e.g. when the profile is already running |
| Field | Type | Description |
|---|---|---|
data.debuggingPort | integer | CDP debugging port for Playwright/Puppeteer |
data.webdriverPath | string | Local WebDriver path normally returned for a newly launched profile; it may be absent for an already-running profile or the file may not exist. Redact it before sharing. |
Usage notes
- Supply one of id, name, or remark. Prefer the unique id; duplicate names or remarks may prevent unambiguous selection.
- The online reference does not define the success-response fields. The success example here comes from the current client: the CDP port is data.debuggingPort, not a top-level field or the local API service port.
- tempLaunchArgs applies only to this launch. Connect automation to the returned CDP port; see Playwright integration.
- Launching may wait for core authorization and CDP readiness. Allow at least 60 seconds in your HTTP client. After a timeout, check the running list before retrying the same profile.
For failed requests, check both HTTP status and the error body. See Errors & troubleshooting.
Current launch behavior
If already running, the API may return success: true, a message and the existing data.debuggingPort rather than launching a new process. tempLaunchArgs is split on whitespace; do not assume full shell quoting. Cache-directory migration can return 409, and missing login or VIP entitlement can return 401 / 403. Do not log real proxy credentials, keys or sensitive launch arguments.
After failure or timeout, inspect running status and logs before retrying. The local API and CDP use separate ports.
If persistent or temporary launch arguments explicitly contain --remote-debugging-port, the client extracts that port, preferring the temporary argument. Do not assume a fixed port: use the returned data.debuggingPort.
When id and name or remark are supplied, a valid id takes precedence. Without ID, supplying both name and remark uses OR matching and returns 400 for multiple matches. Prefer a unique numeric ID.



