Mantis Browser
Skip to content
Documentation centerManual · v1.3.29

Tools and automation

Local API reference

Routes, request bodies, responses and errors for integrating your tools.

v1.3.293 min readLeer en español ↗

Address and permissions

The base is http://127.0.0.1:3848/v1. The server listens only on 127.0.0.1: it serves programs on the same PC. The app must be open. /health checks availability; other operations require an API-enabled plan (Pro or Max).

Send JSON with Content-Type: application/json for requests with a body. Field names and routes remain in Spanish in both languages. Requests from web pages with an Origin header are rejected by default; run integrations as local programs.

Query from PowerShell
Invoke-RestMethod 'http://127.0.0.1:3848/v1/health'
Invoke-RestMethod 'http://127.0.0.1:3848/v1/perfiles' | Select-Object id,nombre
Local address and CDP connection flow in the app
Real interface · Example data The Automation panel shows the local address and the open → obtain wsEndpoint → connect CDP → stop flow. Full endpoints are detailed below in this guide.

Profile routes

MethodRouteResult
GET/v1/healthok and version; does not require an API plan.
GET/v1/perfilesArray of profiles.
GET/v1/perfiles/activosArray of active ids.
GET/v1/perfiles/:idProfile data.
POST/v1/perfilesCreates a profile; returns 201.
POST/v1/perfiles/bulkCreates a batch; returns 201 with {creados}.
PATCH/v1/perfiles/:idUpdates profile fields.
DELETE/v1/perfiles/:idMoves to Trash; returns 204.
POST/v1/perfiles/:id/startStarts a profile or returns the connection for an already active profile.
POST/v1/perfiles/:id/stopStops the profile; returns {ok: true}.

Request bodies

OperationFields
Create profilenombre, plataforma (windows/macos/linux), userAgent and fingerprint. The basic fingerprint requires webRTC, canvas, webGL, timezone and idioma.
Proxy connectionproxy: {type, host, port, username?, password?}. Do not combine with nordVpnExtension.
Create batchcantidad, presetId, optional prefijo and proxies as an object array or text.
Start profileOptional body: iniciarMinimizado, minimizado and extraArgs (array of strings). Use only if your integration needs them.
Start response: illustrative structure
{
  "automation": {
    "port": 12345,
    "wsEndpoint": "ws://127.0.0.1:12345/devtools/browser/RETURNED_VALUE"
  }
}

These response values are illustrative: always use the values returned by your app. Retrieve a profile prepared in the interface to inspect its advanced fields; avoid copying id, dates or local paths when creating another.

Fingerprint presets

MethodRouteAction
GET/v1/presetsLists presets.
GET/v1/presets/:idGets one preset.
POST/v1/presetsCreates a preset with a name, platform and fingerprint configuration.
PATCH/v1/presets/:idUpdates the preset.
DELETE/v1/presets/:idDeletes the preset; returns 204.

A preset provides a base configuration for creating profiles; editing it does not automatically change existing profiles.

Error responses

Error format
{ "error": { "code": "NO_ENCONTRADO", "mensaje": "Perfil no encontrado" } }
HTTPMeaning
400Invalid data or a batch that cannot be created. Check error.code and error.mensaje.
403Plan, quota, session or access not permitted. An available /health does not prove automation permission.
404Profile or preset not found; check the id.
409State conflict; for example NO_ACTIVO when stopping an already closed profile.

To preserve diagnostics, keep the HTTP status and response body when logging an error. A 204 response contains no JSON: do not try to parse it as an object.

Cookies and storage

Necessary: used when you choose a language, sign in or buy. Disabling them affects those features; you can clear them through your browser.

Advertising and analytics: not used on this website. If we introduce optional tracking, we will ask for your choice before enabling it.

Read the full policy