---
title: "Stop a browser while retaining its profile"
method: POST
path: "/cloud-browsers/{id}/stop"
tags: ["Cloud browsers"]
---

# Stop a browser while retaining its profile

`POST /cloud-browsers/{id}/stop`

## Request

- Base URL: `https://api.adscrawl.net`
- URL: `https://api.adscrawl.net/cloud-browsers/{id}/stop`
- Auth: one of:
  - API key in header `x-api-key`
  - HTTP bearer
  - API key in cookie `access_token`
- TypeScript: <https://skmtc.dev/adscrawl/apis/adscrawl-api/docs/cloud-browsers/:id/stop/post.ts> (a function with typed inputs; its response is checked against the schema)

A 202 response means shutdown is pending, not complete. Poll profile detail until runtime.status is stopped. Stopping still occupies a running slot; confirmed stopped releases it. Saved-profile count is unchanged. Stopping an already stopped profile returns 200.

## Response `200`

Runtime stopped.

- CloudLifecycleResult
  - `ok` boolean
  - `id` string, uuid
  - `source` 'manual' | 'launch'
  - `deleteOnStop` boolean
  - `deleted` boolean
  - `runtime` CloudRuntime
    - `runtimeKind` 'neko' | 'worker_cdp'
    - `status` 'starting' | 'running' | 'stopping' | 'stopped', required
    - `sessionId` string
    - `expiresAt` string, date-time
    - `connectUrl` string, uri: Optional interactive viewer URL when running; requires the profile owner's login session.
    - `cdpBaseUrl` string, uri: Only worker_cdp may return this; neko omits it.
  - `traceId` string

## Other responses

- `202`: Shutdown pending; query detail to confirm stopped.
- `default`: Error response. Typical statuses are 400 invalid input, 401 invalid authentication, 402 payment/credits required, 403 ownership mismatch, 404 missing resource, 409 state or quota conflict, 410 expired session, 429 rate/concurrency limit, 500 internal failure, 502 upstream failure, 503 capacity/runtime unavailable, or 504 timeout. Not every status applies to every operation. Use HTTP status and code when present.

---

[API](https://skmtc.dev/adscrawl/apis/adscrawl-api.md) - [All operations](https://skmtc.dev/adscrawl/apis/adscrawl-api/llms.txt) - [OpenAPI document](https://skmtc.dev/adscrawl/apis/adscrawl-api/revisions/aa45d0651921?raw)
