Stop a profile
Stop a running profile by ID, name, or remark.
Definition: ApiFox POST · Checked on 2026-10-21.
Request
POST /api/stopBrowserUse 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 |
cURL example
curl --request POST 'http://127.0.0.1:9000/api/stopBrowser' \
--header 'api-key: YOUR_API_KEY' \
--header 'Content-Type: application/json' \
--data '{
"id": 1
}'Response example
{
"success": true
}Current client response fields
| Field | Type | Usage |
|---|---|---|
success | boolean | Request processing succeeded; not a guarantee that every item was written |
message | string / omitted | Optional message; stopping a non-running profile may also succeed |
Usage notes
- Supply one of id, name, or remark; prefer id.
For failed requests, check both HTTP status and the error body. See Errors & troubleshooting.
Current stop and cloud-sync behavior
A profile that is already stopped can return success: true with message: Browser is not running. For an eligible bound profile, cloud sync upload is scheduled in the background after stopping. A successful stop response or stopped state does not mean the cloud upload has finished. Subsequent operations on the same profile may wait for the background sync task.
For stop, a nonempty id takes precedence over name and remark. Without ID, name and remark use OR matching and multiple matches return 400. This handler does not strictly validate every ID type; use a valid positive integer ID.



