Local API overview

What the Quin Camoufox Local API is, how to turn it on, and how scripts on your own computer use it to manage profiles, browsers and RPA tasks.

Local APIApplies to Quin Camoufox 0.7Updated 2 November 2026

The Local API is an HTTP API built into Quin Camoufox. Scripts and tools running on the same Windows computer use it to list and edit profiles, open a profile's browser, drive that browser with Quin's own actions, and run RPA Plus workflows. The Python SDK, the JavaScript SDK and the quin command line are clients of this API.

What you can do

AreaExamples
ProfilesList, search, create, rename, tag, group, move to Trash, restore, save a Quin Cloud profile now
Proxies and libraryList, add, edit and assign proxies; list browser runtimes and configurations
BrowsersOpen a profile's browser, list sessions, close and save, take over control
Actions50 browser actions: navigate, click, fill, read text, extract tables, screenshots, downloads, tabs
RPA PlusCreate, import, publish and export workflows; run tasks on profiles; manage schedules
Jobs and eventsFollow long operations as jobs; stream live events (server-sent events)

A browser opened through the API is an ordinary Quin browser: the profile's proxy, pinned browser runtime, Network Guard and (for Quin Cloud profiles) the lease and save-on-close rules all apply. A profile is never opened twice; opening a profile whose browser is already open attaches to it.

What it is not

  • There is no CDP, WebDriver, Selenium, Puppeteer or Playwright endpoint. Camoufox is Firefox-based and Quin's engine keeps the browser connection private. Integrations use Quin's own browser actions. GET /status states this as "automation": {"bridge": "engine", "external_protocols": []}.
  • There is no "run JavaScript" action and no endpoint that runs programs.
  • Tokens cannot be created through the API; you create them in the app.
  • Nothing in the API bypasses CAPTCHAs or website sign-in protections.

Turn it on

  1. In Quin Camoufox open Settings → Local API.
  2. Turn on Enable the Local API. The default port is 50380; change it in Port (1024–65535) and click Apply. If the port is taken, the API stays off and reports it; it never picks another port by itself.
  3. Under Access tokens, click Generate token, give it a name, choose the scopes and an expiry, and click Generate. Copy the token now: it is shown once. See Authentication and scopes.
  4. Connection test checks the listener from inside the app. API documentation opens the endpoint reference.

The panel shows the State, Address, Base URL, Versions, request counters, the Discovery file and Recent API events (requests and refusals; only token ids are logged).

Base URL

Text
http://127.0.0.1:50380/api/v1

Use your own port if you changed it. localhost:<port> is also accepted as the Host; any other host name (including the computer's LAN address) is refused.

First request

Shell
curl -s http://127.0.0.1:50380/api/v1/status \
  -H "Authorization: Bearer qlk_xxxxxxxxxxxx_xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx"
PowerShell
$h = @{ Authorization = "Bearer $env:QUIN_API_TOKEN" }
Invoke-RestMethod http://127.0.0.1:50380/api/v1/status -Headers $h

Response (shape):

JSON
{
  "api_version": "1",
  "quin_version": "0.7.0rc3",
  "account": {"email": "you@example.com", "state": "signed_in"},
  "modes": {"local": true, "cloud": true},
  "token": {"id": "AbCdEfGhJkMn", "name": "Nightly report", "scopes": ["browser:open", "profiles:read"]},
  "automation": {"bridge": "engine", "external_protocols": [], "actions": ["attribute", "back", "..."]},
  "limits": {"rate_per_s": 30.0, "burst": 60.0, "max_body_bytes": 1000000, "max_parallel_runs": 2}
}

Discovery file

While the API runs, Quin writes a small JSON file without secrets and removes it when the API stops:

JSON
{"base_url": "http://127.0.0.1:50380", "port": 50380, "pid": 12345, "api_version": "1", "quin_version": "0.7.0rc3"}

The file is local-api.json in Quin's data folder; Settings → Local API → Discovery file shows its exact path (by default %LOCALAPPDATA%\QuinProfileManager\data\local-api.json).

Endpoint map

All paths are under /api/v1. The OpenAPI reference lists every operation (55 in Quin Camoufox 0.7).

AreaEndpoints
StatusGET /status, GET /openapi.json
ProfilesGET/POST /profiles, GET/PATCH /profiles/{id}, POST /profiles/bulk, POST /profiles/{id}/clone-config, POST /profiles/{id}/trash, POST /profiles/{id}/restore, GET /profiles/{id}/revisions, GET /profiles/{id}/sync-status, POST /profiles/{id}/sync, GET /profiles/{id}/runtime
Groups, proxies, libraryGET/POST /groups, PATCH /groups/{id}, GET/POST /proxies, PATCH/DELETE /proxies/{id}, POST /proxies/{id}/assign, POST /proxies/{id}/check, GET /runtimes, GET /configurations
BrowsersPOST /browsers/open, GET /browsers, GET /browsers/{sid}, POST /browsers/{sid}/close, POST /browsers/close-all, GET /browsers/{sid}/tabs, POST /browsers/{sid}/actions, POST /browsers/{sid}/takeover, GET /files/{path}
RPA PlusGET/POST /workflows, GET/PUT/DELETE /workflows/{id}, POST /workflows/{id}/publish, POST /workflows/import, GET /workflows/{id}/export, GET/POST /tasks, GET /tasks/{id}, POST /tasks/{id}/cancel, GET /runs/{id}, POST /runs/{id}/signal, GET/POST /schedules, PATCH/DELETE /schedules/{id}
Jobs and eventsGET /jobs, GET /jobs/{id}, POST /jobs/{id}/cancel, GET /events

Conventions

  • JSON in and out. Send Content-Length with every body (any Transfer-Encoding is refused) and keep bodies under 1 MB.
  • Lists are paginated as {"items": [...], "total", "page", "page_size"}; page starts at 1 and page_size is at most 200.
  • Errors are {"error": {"code", "message", "details"}}; see Errors.
  • POSTs accept an Idempotency-Key header so a retried request is not executed twice; see Jobs.

Next steps