Browser Window API

This article details the cloud management API for browser windows, covering creation, editing, deletion, batch operations, proxy configuration, and more, along with the unified request/response format and permission requirements, suitable for developer integration.

Browser Window Local API Documentation

Open Window

Title

Open Window

Brief Description

Open a browser window by window ID or window UUID.

Request URL

http://127.0.0.1:54345/browser/open

Request Method

POST

ParameterRequiredExampleDescription
Content-TypeYesapplication/jsonRequest body format
X-Cos-Local-TokenYesYOUR_LOCAL_TOKENLocal access token, viewable in the client under "Settings - Local API"

Request Body Parameters

ParameterRequiredTypeDescription
idYes, either this or uuidnumber/stringWindow ID
uuidYes, either this or idstringWindow UUID, config_uuid also accepted

Success Response Example

{
  "code": 0,
  "msg": "Browser opened",
  "data": {
    "id": "xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx",
    "browserId": "xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx",
    "uuid": "xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx",
    "opened": true
  }
}

Success Response Parameter Descriptions

ParameterTypeDescription
codenumber0 indicates success
msgstringResponse message
data.idstringWindow UUID
data.browserIdstringWindow UUID
data.uuidstringWindow UUID
data.openedbooleanWhether the window is open

Notes

Only one window can be opened at a time. The interface only listens on 127.0.0.1; open and log in to the client before calling.

Close Window

Title

Close Window

Brief Description

Close a browser window by window ID or window UUID.

Request URL

http://127.0.0.1:54345/browser/close

Request Method

POST

Header

ParameterRequiredExampleDescription
Content-TypeYesapplication/jsonRequest body format
X-Cos-Local-TokenYesYOUR_LOCAL_TOKENLocal access token, viewable in the client under "Settings - Local API"

Request Body Parameters

ParameterRequiredTypeDescription
idYes, either this or uuidnumber/stringWindow ID
uuidYes, either this or idstringWindow UUID, config_uuid also accepted

Success Response Example

{
  "code": 0,
  "msg": "Browser closed",
  "data": {
    "id": "xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx",
    "browserId": "xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx",
    "uuid": "xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx",
    "opened": false,
    "close": true
  }
}

Success Response Parameter Descriptions

ParameterTypeDescription
codenumber0 indicates success
msgstringResponse message
data.idstringWindow UUID
data.browserIdstringWindow UUID
data.uuidstringWindow UUID
data.openedbooleanWhether the window is open
data.closebooleanWhether the close operation was executed

Notes

Only one window can be closed at a time. The interface only listens on 127.0.0.1; open and log in to the client before calling.

Create or Edit Window

Title

Create or Edit Window

Brief Description

When no window identifier is passed, a window is created; when an identifier is passed, the window is edited. When editing, config must be provided; first retrieve the current window configuration via /browser/detail and return it as-is.

Two creation modes are supported:

ModeApplicable ScenarioDescription
Minimal field creationWhen you only want to pass a few fields like window name, group, etc.Do not pass config. Local API first reads the client's "System Settings - Create Window Template (Common Settings)" and "Create Window Template (Fingerprint Settings)" as defaults, then overrides them with the request body; missing fields such as User Agent, WebGL vendor/renderer, device name, MAC, Canvas/WebGL/Audio/ClientRects noise are auto-generated or randomized according to the manual creation flow
Full configuration creationWhen you need full control over all fieldsPass a complete config object. Local API preserves the incoming configuration, only performing field compatibility and forwarding, and no longer randomly fills missing fields as in minimal field mode

Invocation Mode Determination

ScenarioRuleDescription
Create windowDo not pass id / browserId / browser_id / uuid / browserUuid / browser_uuid / config_uuid in the request bodyWhen creating, do not include placeholder UUIDs (e.g., from Postman). Empty strings are ignored, but it is recommended to delete these fields outright
Edit windowPass a real existing window identifier such as id or uuiduuid is recommended to obtain from data.list[].uuid in /browser/list response

If the request body contains a placeholder UUID like xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx, the Local API will treat it as an "edit window" request and may return {"code":211,"msg":"UUID invalid","data":{}}.

Request URL

http://127.0.0.1:54345/browser/update

Request Method

POST

Header

ParameterRequiredExampleDescription
Content-TypeYesapplication/jsonRequest body format
X-Cos-Local-TokenYesYOUR_LOCAL_TOKENLocal access token, viewable in the client under "Settings - Local API"

Request Body Parameters

ParameterRequiredTypeDescription
name / browser_nameRecommended when creatingstringWindow name, compatible with browserName
idWhen editing, either this or uuidnumber/stringWindow ID. Do not pass when creating
uuidWhen editing, either this or idstringWindow UUID, config_uuid also accepted. Do not pass placeholder values when creating
group_idNonumber/stringGroup ID, default 0, compatible with groupId
tag_idsNoarray/stringTag ID array, comma-separated string also accepted, compatible with tagIds
remarkNostringWindow remark
platform_urlNostringAccount platform or website, compatible with platform
platform_usernameNostringPlatform account, compatible with userName / platformUsername
platform_passwordNostringPlatform password, compatible with platformPassword
check_duplicate_usernameNonumber/booleanWhether to check for duplicate platform account, compatible with checkDuplicateUsername
urlNostringOpen specified URL(s), separate multiple by commas
cookieNostring/arrayCookie, supports JSON string or array
proxy_idNonumber/stringProxy ID from proxy IP management, compatible with proxyId
proxy_methodNostringProxy method: 2 custom, 3 API extraction, 4 proxy IP management, compatible with proxyMethod
proxy_typeNostringProxy type: noproxy / http / https / socks5 / ssh, compatible with proxyType
hostNostringProxy host
portNonumber/stringProxy port
usernameNostringProxy username, also compatible with proxy_user_name / proxyUserName
passwordNostringProxy password, also compatible with proxy_password / proxyPassword
refresh_urlNostringRefresh proxy URL, compatible with refreshProxyUrl
extract_urlNostringWhen proxy_method=3, the extraction URL, compatible with dynamicIpUrl / extractUrl
api_providerNostringExtraction link provider, default can be general, compatible with dynamicIpChannel
ip_lookup_channelNostringIP lookup channel, compatible with ipCheckService
udp_enabledNonumber/booleanSocks5 UDP switch, compatible with enableSocks5Udp
cache_storage_modeNostringWindow cache storage method: local local server, custom custom server, official official server, compatible with cacheStorageMode / storage_mode. If not passed, system settings are used when creating
cache_server_base_urlNostringLocal/custom cache server address, compatible with cacheServerBaseUrl
cache_server_api_keyNostringLocal/custom cache server ApiKey, compatible with cacheServerApiKey
cache_server_local_upload_dirNostringLocal server upload directory, compatible with cacheServerLocalUploadDir
browserFingerPrintNoobjectFingerprint configuration. In minimal field creation, the system fingerprint template from settings is used as base, only passed fields override corresponding items, others are auto-generated or randomized
configRequired when editing, optional when creatingobjectComplete window configuration. Passing it when creating means full configuration creation; not passing means minimal field creation. When editing, a JSON object must be passed, otherwise code: 211 is returned. See below for config field descriptions

Minimal Field Creation Request Example

{
  "name": "Local API minimal field window"
}

Full Configuration Creation Request Example

{
  "name": "Local API full config window",
  "group_id": 0,
  "config": {
    "browser_type": "firefox",
    "name": "Local API full config window",
    "browser_name": "Local API full config window",
    "group_id": 0,
    "proxy": {
      "type": "direct"
    },
    "fingerprint": {
      "noise_seed": "A1B2C3D4E5F60708",
      "canvas": { "mode": "on" },
      "audio_context": { "mode": "on" },
      "webgl_image": { "mode": "on" },
      "webgl_metadata": {
        "mode": "real",
        "vendor": "",
        "renderer": ""
      },
      "fonts": {
        "mode": "random",
        "font_list": [],
        "client_rects": true
      }
    },
    "navigator": {
      "user_agent": "",
      "cpu": { "mode": "custom", "value": 8 },
      "ram": { "mode": "custom", "value": 8 },
      "do_not_track": true
    },
    "webrtc": { "mode": "relay" },
    "geo": {
      "timezone": { "mode": "auto" },
      "geolocation": { "mode": "auto", "permission": "allow" },
      "language": { "mode": "auto", "values": [] }
    },
    "resolution": {
      "mode": "random",
      "width": 1920,
      "height": 1080
    },
    "cookies": { "mode": "merge", "items": [] },
    "launch_args": [],
    "extensions": [],
    "startup_pages": [],
    "raw": {
      "name": "Local API full config window",
      "browser_name": "Local API full config window",
      "group_id": 0,
      "proxy_method": "2",
      "proxy_type": "noproxy"
    }
  }
}

config Full Window Configuration Field Descriptions

When editing a window, it is recommended to first call /browser/detail to obtain data.config, modify the fields you need to change, and then pass it back as-is. The following tables are for understanding or manually constructing the full config object; different client/server versions may return additional extension fields – it is recommended to keep unrecognized fields.

#### config Top-Level Fields

Field PathTypeRequiredDescription
browser_typestringNoBrowser engine type, usually firefox
namestringNoWindow name
browser_namestringNoRedundant window name field, usually identical to name
group_id / groupIdnumber/stringNoGroup ID
tag_ids / tagIdsarrayNoTag ID array
remarkstringNoWindow remark
user_agentstringNoUser-Agent shortcut, usually matches navigator.user_agent
languagestringNoLanguage shortcut, usually takes geo.language.values[0]
timezonestringNoTimezone shortcut, usually takes geo.timezone.value
resolutionobjectNoResolution configuration, see config.resolution
touch_simulation_enabledbooleanNoWhether touch simulation is enabled, default enabled for Android / iOS
proxyobjectNoProxy configuration, see config.proxy
fingerprintobjectNoFingerprint low-level configuration, see config.fingerprint
navigatorobjectNoNavigator / device info configuration, see config.navigator
webrtcobjectNoWebRTC configuration, see config.webrtc
geoobjectNoTimezone, geolocation, language configuration, see config.geo
media_devicesobjectNoMedia device count configuration
browser_apiobjectNoBrowser API simulation configuration
tlsobjectNoTLS/SSL fingerprint configuration
cookiesobjectNoCookie import configuration
launch_argsarrayNoBrowser launch arguments array
extensionsarrayNoList of bound/loaded extensions
startup_pagesarrayNoStartup page URL list
credentialsobjectNoPlatform account credentials
syncConfigobjectNoCache, sync, launch protection etc. common settings
rawobjectNoOriginal form field snapshot; client edit backfill depends on this field, see config.raw
cache_storageobjectNoCache storage configuration, returned in some versions
cacheStorageobjectNoCamelCase compatible field for cache_storage, returned in some versions

#### config.cache_storage Cache Storage Configuration

Field PathTypeRequiredDescription
cache_storage.storage_modestringNoCache storage mode: local local server, custom custom server, official official server. Legacy value remote is treated as custom
cache_storage.base_urlstringRecommended for local/customLocal/custom cache server address
cache_storage.api_keystringNoLocal/custom cache server ApiKey
cache_storage.local_upload_dirstringOptional for localLocal server upload directory

#### config.proxy Proxy Configuration

Field PathTypeRequiredDescription
proxy.typestringNoProxy type: direct / http / https / socks5. noproxy in request is converted to direct, ssh to socks5
proxy.hoststringRequired when using proxyProxy host
proxy.portnumberRequired when using proxyProxy port
proxy.usernamestringNoProxy username
proxy.passwordstringNoProxy password
proxy.refresh_urlstringNoRefresh proxy URL
proxy.udp_enablednumber/booleanNoSocks5 UDP switch
proxy.ip_lookup_channelstringNoIP lookup channel
proxy.proxy_idnumber/stringMay exist when proxy_method=4Proxy ID from proxy IP management
proxy.api_providerstringNoAPI extraction provider identifier
proxy.extract_urlstringMay exist when proxy_method=3API extraction proxy URL

#### config.fingerprint Fingerprint Low-Level Configuration

Field PathTypeRequiredDescription
fingerprint.noise_seedstringNoNoise seed for Canvas / WebGL / Audio etc.
fingerprint.canvas.modestringNoCanvas fingerprint mode: on enable noise, off use real value
fingerprint.audio_context.modestringNoAudioContext fingerprint mode: on enable noise, off use real value
fingerprint.webgl_image.modestringNoWebGL image fingerprint mode: on enable noise, off use real value
fingerprint.webgl_metadata.modestringNoWebGL metadata mode: custom custom, real use real value
fingerprint.webgl_metadata.vendorstringNoWebGL vendor
fingerprint.webgl_metadata.rendererstringNoWebGL renderer
fingerprint.fonts.modestringNoFont mode: default default, random random, some versions support custom
fingerprint.fonts.font_listarrayNoFont list
fingerprint.fonts.client_rectsbooleanNoWhether to enable ClientRects noise
fingerprint.firefox_specific.override_build_idbooleanNoWhether to override Firefox Build ID
fingerprint.firefox_specific.reduce_timer_precisionbooleanNoWhether to reduce timer precision
fingerprint.firefox_specific.timer_precision_usnumberNoTimer precision in microseconds

#### config.navigator Navigator and Device Info Configuration

Field PathTypeRequiredDescription
navigator.user_agentstringNoUser-Agent
navigator.firefox_version.overridebooleanNoWhether to override Firefox version
navigator.firefox_version.versionstringNoFirefox version number
navigator.firefox_version.build_idstringNoFirefox Build ID, default 20100101
navigator.cpu.modestringNoCPU core count mode: real / custom
navigator.cpu.valuenumberFill when cpu.mode=customCPU core count
navigator.ram.modestringNoMemory mode: real / custom
navigator.ram.valuenumberFill when ram.mode=customDevice memory in GB
navigator.device_name.modestringNoDevice name mode: real / custom
navigator.device_name.valuestringFill when device_name.mode=customDevice name
navigator.mac_address.modestringNoMAC address mode: real / custom
navigator.mac_address.valuestringFill when mac_address.mode=customMAC address
navigator.touch_simulation_enabledbooleanNoWhether touch simulation is enabled
navigator.hardware_accelerationstringNoHardware acceleration: default / enabled / disabled, exact values depend on client version
navigator.do_not_trackbooleanNoWhether to enable Do Not Track

#### config.webrtc, config.geo, config.resolution

Field PathTypeRequiredDescription
webrtc.modestringNoWebRTC mode: spoof replace with proxy IP, real use real IP, disabled disable, relay block IP fetching
geo.timezone.modestringNoTimezone mode: auto based on IP, custom custom, real use local machine
geo.timezone.valuestringFill when timezone.mode=customTimezone, e.g., Asia/Shanghai
geo.geolocation.modestringNoGeolocation mode: auto based on IP, custom custom, disabled disable
geo.geolocation.permissionstringNoGeolocation permission: prompt / allow
geo.geolocation.latnumberFill when geolocation.mode=customLatitude
geo.geolocation.lngnumberFill when geolocation.mode=customLongitude
geo.language.modestringNoLanguage mode: auto based on IP, custom custom, real use local machine
geo.language.valuesarrayFill when language.mode=customLanguage array, e.g., ["zh-CN","zh"]
resolution.modestringNoResolution mode: predefined default, custom custom, random random
resolution.widthnumberFillable when resolution.mode=custom/randomResolution width
resolution.heightnumberFillable when resolution.mode=custom/randomResolution height

#### config.cookies, config.credentials, config.syncConfig

Field PathTypeRequiredDescription
cookies.modestringNoCookie import mode, usually merge
cookies.itemsarrayNoCookie list
cookies.items[].namestringNoCookie name
cookies.items[].valuestringNoCookie value
cookies.items[].domainstringNoCookie domain
cookies.items[].pathstringNoCookie path
cookies.items[].expiresnumber/stringNoExpiry time
cookies.items[].httpOnlybooleanNoWhether HttpOnly
cookies.items[].securebooleanNoWhether Secure
cookies.items[].sameSitestringNoSameSite policy
credentials.itemsarrayNoPlatform account/password list
credentials.items[].urlstringNoPlatform URL
credentials.items[].usernamestringNoPlatform account
credentials.items[].passwordstringNoPlatform password
syncConfig.stopWhileNetErrorbooleanNoStop opening on network error
syncConfig.stopWhileIpChangebooleanNoStop opening if IP changes
syncConfig.stopWhileCountryChangebooleanNoStop opening if IP country/region changes
syncConfig.syncTabsbooleanNoSync tabs
syncConfig.syncCookiesbooleanNoSync cookies
syncConfig.syncIndexedDbbooleanNoSync IndexedDB
syncConfig.syncLocalStoragebooleanNoSync LocalStorage
syncConfig.syncBookmarksbooleanNoSync bookmarks
syncConfig.syncAuthorizationbooleanNoSync login authorization info
syncConfig.syncHistorybooleanNoSync history
syncConfig.syncExtensionsbooleanNoSync extensions
syncConfig.syncExtensionSettingsbooleanNoSync extension settings
syncConfig.syncPermissionsbooleanNoSync site permissions
syncConfig.syncSiteDatabooleanNoSync site data
syncConfig.syncPreferencesbooleanNoSync preferences
syncConfig.syncContainersbooleanNoSync containers
syncConfig.clearCacheFilesBeforeLaunchbooleanNoClear cache files before launch
syncConfig.randomFingerprintbooleanNoRandomize fingerprint on launch

#### Other Configuration Objects

Field PathTypeRequiredDescription
media_devices.audio_inputnumberNoNumber of simulated audio input devices
media_devices.video_inputnumberNoNumber of simulated video input devices
media_devices.audio_outputnumberNoNumber of simulated audio output devices
browser_api.battery.enabledbooleanNoEnable battery API simulation
browser_api.battery.is_chargingbooleanNoWhether charging
browser_api.battery.charging_timenumberNoCharging time remaining
browser_api.battery.discharging_timenumberNoDischarging time remaining
browser_api.battery.levelnumberNoBattery level, usually 0 to 1
tls.randomizationstringNoTLS fingerprint randomization: enabled / disabled
tls.disabled_ciphersarrayNoDisabled TLS cipher list
launch_argsarrayNoLaunch arguments array, e.g., ["--mute-audio"]
extensionsarrayNoExtension list
startup_pagesarrayNoStartup page list

#### config.raw Original Form Fields

raw is used to store original client form fields; recommended to keep when editing windows. Many fields map to config top-level, proxy, fingerprint.

Field PathTypeRequiredDescription
raw.idnumber/stringNoWindow ID
raw.uuidstringNoWindow UUID
raw.config_uuidstringNoWindow config UUID, usually same as uuid
raw.namestringNoWindow name
raw.browser_name / raw.browserNamestringNoWindow name compatibility field
raw.group_id / raw.groupIdnumber/stringNoGroup ID
raw.tag_ids / raw.tagIdsarrayNoTag ID array
raw.platform_url / raw.platformstringNoAccount platform or website
raw.platform_username / raw.userName / raw.username / raw.platformUsernamestringNoPlatform account
raw.platform_password / raw.password / raw.platformPasswordstringNoPlatform password
raw.check_duplicate_username / raw.isValidUsername / raw.checkDuplicateUsernamebooleanNoWhether to check duplicate account
raw.remarkstringNoRemark
raw.cookiestring/arrayNoCookie
raw.otherCookiestring/arrayNoOther cookies
raw.urlstringNoOpen specified URL(s), comma separated
raw.proxy_method / raw.proxyMethodstringNoProxy method: 2 custom, 3 API extraction, 4 proxy IP management
raw.proxy_type / raw.proxyTypestringNoProxy type: noproxy / http / https / socks5 / ssh
raw.hoststringNoProxy host
raw.portnumber/stringNoProxy port
raw.proxy_user_name / raw.proxyUserNamestringNoProxy username
raw.proxy_password / raw.proxyPasswordstringNoProxy password
raw.refresh_url / raw.refreshProxyUrlstringNoRefresh proxy URL
raw.extract_url / raw.dynamicIpUrlstringNoAPI extraction proxy URL
raw.api_provider / raw.dynamicIpChannelstringNoAPI extraction proxy provider
raw.ip_lookup_channel / raw.ipCheckServicestringNoIP lookup channel
raw.udp_enabled / raw.enableSocks5Udpnumber/booleanNoSocks5 UDP switch
raw.cache_storage_mode / raw.cacheStorageMode / raw.storage_modestringNoCache storage mode. Local API prioritizes top-level cache_storage_mode, then config.cache_storage.storage_mode, and finally this field
raw.cache_server_base_url / raw.cacheServerBaseUrlstringNoLocal/custom cache server address
raw.cache_server_api_key / raw.cacheServerApiKeystringNoLocal/custom cache server ApiKey
raw.cache_server_local_upload_dir / raw.cacheServerLocalUploadDirstringNoLocal server upload directory
raw.browserFingerPrintobjectNoForm-level fingerprint configuration, see raw.browserFingerPrint
raw.workbenchbooleanNoWorkbench related settings, used per client logic
raw.abortImagebooleanNoWhether to block image loading
raw.abortImageMaxSizenumberNoImage size threshold for blocking
raw.abortMediabooleanNoWhether to block media loading
raw.muteAudiobooleanNoMute audio
raw.disableTranslatePopupbooleanNoDisable translate popup
raw.disableNotificationsbooleanNoDisable notifications
raw.disableClipboardbooleanNoDisable clipboard
raw.disableGpubooleanNoDisable GPU related features
raw.clearCacheFilesBeforeLaunchbooleanNoClear cache files before launch
raw.clearCacheWithoutExtensionsbooleanNoKeep extensions when clearing cache
raw.clearCookiesBeforeLaunchbooleanNoClear cookies before launch
raw.clearHistoriesBeforeLaunchbooleanNoClear history before launch

#### raw.browserFingerPrint Form-Level Fingerprint Fields

Field PathTypeRequiredDescription
raw.browserFingerPrint.coreVersionstringNoBrowser engine version
raw.browserFingerPrint.ostypestringNoDevice type: PC / Android / IOS
raw.browserFingerPrint.osstringNoOperating system, e.g., Windows / MacIntel / Linux i686 / iPhone
raw.browserFingerPrint.osVersionstring/arrayNoOS version
raw.browserFingerPrint.versionstringNoBrowser version
raw.browserFingerPrint.userAgentstringNoUser-Agent
raw.browserFingerPrint.isIpCreateLanguagebooleanNoGenerate browser language based on IP
raw.browserFingerPrint.languagesstring/arrayNoBrowser language
raw.browserFingerPrint.isIpCreateDisplayLanguagebooleanNoGenerate UI language based on IP
raw.browserFingerPrint.displayLanguagesstring/arrayNoUI language
raw.browserFingerPrint.isIpCreateTimeZonebooleanNoGenerate timezone based on IP
raw.browserFingerPrint.timeZonestringNoCustom timezone
raw.browserFingerPrint.webRTCstringNoWebRTC: 0 replace with proxy IP, 1 real IP, 2 disabled, 3 block IP fetching
raw.browserFingerPrint.ignoreHttpsErrorsbooleanNoIgnore HTTPS certificate errors
raw.browserFingerPrint.positionstringNoGeolocation permission: 0 prompt, 1 allow, 2 block
raw.browserFingerPrint.isIpCreatePositionbooleanNoGenerate geolocation based on IP
raw.browserFingerPrint.latnumber/stringNoLatitude
raw.browserFingerPrint.lngnumber/stringNoLongitude
raw.browserFingerPrint.precisionDatanumber/stringNoGeolocation precision in meters
raw.browserFingerPrint.openWidthnumber/stringNoWindow width
raw.browserFingerPrint.openHeightnumber/stringNoWindow height
raw.browserFingerPrint.resolutionTypestringNoResolution type: 0 default, 1 custom, 2 random
raw.browserFingerPrint.resolutionstringNoResolution, e.g., 1920x1080
raw.browserFingerPrint.windowSizeLimitbooleanNoLimit window size to resolution
raw.browserFingerPrint.webPageZoomstring/numberNoPage zoom ratio
raw.browserFingerPrint.devicePixelRatiostring/numberNoDevice pixel ratio
raw.browserFingerPrint.fontTypestringNoFont type: 0 default, 1 custom, 2 random
raw.browserFingerPrint.fontstring/arrayNoFont list
raw.browserFingerPrint.canvasstringNoCanvas: 0 enable noise, 1 use real value
raw.browserFingerPrint.canvasValuenumber/stringNoCanvas noise value
raw.browserFingerPrint.webGLstringNoWebGL image: 0 enable noise, 1 use real value
raw.browserFingerPrint.webGLValuenumber/stringNoWebGL noise value
raw.browserFingerPrint.webGLMetastringNoWebGL metadata: 0 custom, 1 use real value
raw.browserFingerPrint.webGLManufacturerstringNoWebGL vendor
raw.browserFingerPrint.webGLRenderstringNoWebGL renderer
raw.browserFingerPrint.webgpuobjectNoWebGPU config, structure as returned by client
raw.browserFingerPrint.audioContextstringNoAudioContext: 0 enable noise, 1 use real value
raw.browserFingerPrint.audioContextValuenumber/stringNoAudioContext noise value
raw.browserFingerPrint.speechVoicesstringNoSpeech Voices fingerprint mode
raw.browserFingerPrint.doNotTrackstring/booleanNoDo Not Track switch
raw.browserFingerPrint.clientRectNoiseEnabledbooleanNoEnable ClientRects noise
raw.browserFingerPrint.clientRectNoiseValuenumber/stringNoClientRects noise value
raw.browserFingerPrint.deviceInfoEnabledbooleanNoCustomize device info
raw.browserFingerPrint.computerNamestringNoDevice name
raw.browserFingerPrint.macAddrstringNoMAC address
raw.browserFingerPrint.portScanProtectstring/booleanNoPort scan protection
raw.browserFingerPrint.portWhiteListstringNoPort scan whitelist, comma separated
raw.browserFingerPrint.disableSslCipherSuitesFlagbooleanNoEnable SSL Cipher fingerprint settings
raw.browserFingerPrint.disableSslCipherSuitesstring/arrayNoDisabled SSL cipher list
raw.browserFingerPrint.enablePluginsstring/booleanNoCustomize plugin fingerprint
raw.browserFingerPrint.pluginsstring/arrayNoPlugin fingerprint info
raw.browserFingerPrint.hardwareConcurrencynumber/stringNoCPU core count
raw.browserFingerPrint.deviceMemorynumber/stringNoDevice memory GB
raw.browserFingerPrint.argsstring/arrayNoBrowser launch arguments
raw.browserFingerPrint.touchSimulationEnabledbooleanNoEnable touch simulation

Success Response Example

{
  "code": 0,
  "msg": "success",
  "data": {
    "id": 10001,
    "uuid": "xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx",
    "name": "Test window",
    "group_id": 0,
    "cache_storage_mode": "local"
  }
}

Success Response Parameter Descriptions

ParameterTypeDescription
codenumber0 indicates success
msgstringResponse message
data.idnumber/stringWindow ID
data.uuidstringWindow UUID
data.namestringWindow name
data.group_id / data.groupIdnumber/stringGroup ID
data.cache_storage_modestringCache storage method

Create Window Request Example

{
  "name": "Test window",
  "group_id": 0,
  "remark": "Created by Local API",
  "cache_storage_mode": "local",
  "proxy_method": "2",
  "proxy_type": "noproxy"
}

Edit Window Request Example

Before editing, call /browser/list to get the real uuid, then /browser/detail to get data.config, and finally return the complete config as-is.

{
  "uuid": "real window UUID",
  "name": "New window name",
  "remark": "Edited by Local API",
  "cache_storage_mode": "local",
  "config": {
    "...": "put the complete data.config object from /browser/detail here"
  }
}

Postman Usage Tips

After importing LOCAL_API.postman_collection.json:

  1. To create a window, use Browser / Create Browser and do not add uuid or id in the body.
  2. To edit a window, first run Browser / List Browsers to get the real browser_uuid.
  3. Then run Browser / Get Browser Detail and save browser_config.
  4. Finally run Browser / Update Existing Browser - Requires Real UUID And Detail Config.

Notes

When creating a window with a proxy, pass fields like proxy_method, proxy_type, host, port according to proxy type. For no proxy, pass {"proxy_method":"2","proxy_type":"noproxy"}. Legacy fields proxyMethod / proxyType are still compatible.

Batch Create Windows

Title

Batch Create Windows

Brief Description

Batch create browser windows by quantity or a list of window configurations.

Batch creation also supports two modes:

ModeApplicable ScenarioDescription
Minimal field batch creationOnly pass creation quantity or per-window namesDo not pass config / items[].config. Local API first reads the client's create window templates, then for each window separately fills in name, proxy, cache, fingerprint etc., and randomly generates missing fields
Full configuration batch creationEach window needs completely custom configurationUse items and pass full config in each items[] entry. Each window can have different config

Request URL

http://127.0.0.1:54345/browser/create/batch

Request Method

POST

Header

ParameterRequiredExampleDescription
Content-TypeYesapplication/jsonRequest body format
X-Cos-Local-TokenYesYOUR_LOCAL_TOKENLocal access token, viewable in the client under "Settings - Local API"

Request Body Parameters

ParameterRequiredTypeDescription
create_count / countYes, either this or itemsnumberNumber of windows to create, compatible with createCount
itemsYes, either this or create_countarrayConfiguration list for each window. When using items, it's recommended to provide name for each item
name_prefixRequired when using create_count, recommended when using itemsstringWindow name prefix, generates names like prefix1, prefix2. Some server versions also validate this field in items mode, compatible with namePrefix
group_idNonumber/stringGroup ID, compatible with groupId
tag_idsNoarray/stringTag IDs, compatible with tagIds
remarkNostringRemark
window_platformNostringThe client platform the window belongs to, default current client platform, can be windows / mac / linux, compatible with windowPlatform
proxy_methodNostringProxy method, default 2. For no proxy, pass 2, compatible with proxyMethod
proxy_typeNostringProxy type, default noproxy. For no proxy, pass noproxy, compatible with proxyType
hostRequired when using proxystringProxy host. Do not pass when proxy_type=noproxy
portRequired when using proxynumber/stringProxy port. Do not pass when proxy_type=noproxy
cache_storage_modeNostringCommon cache storage mode: local / custom / official, compatible with cacheStorageMode / storage_mode. If not passed, system settings are used
configNoobjectCommon full window configuration. Only recommended when all batch windows share the same full config; for per-window customization, use items[].config
items[].nameRequired when using itemsstringSingle window name
items[].group_idNonumber/stringSingle window group ID, overrides outer group_id if not passed, compatible with items[].groupId
items[].tag_idsNoarray/stringSingle window tag IDs, overrides outer tag_ids, compatible with items[].tagIds
items[].remarkNostringSingle window remark
items[].proxy_methodNostringSingle window proxy method, overrides outer proxy_method, compatible with items[].proxyMethod
items[].proxy_typeNostringSingle window proxy type, overrides outer proxy_type, compatible with items[].proxyType
items[].cache_storage_modeNostringSingle window cache storage mode, overrides outer cache_storage_mode or system settings
items[].browserFingerPrintNoobjectSingle window fingerprint fields. In minimal field mode, only covers provided fields, rest from system template and auto-generated/randomized as per manual creation flow
items[].configNoobjectSingle window full configuration; if passed, that item enters full config mode; otherwise auto-generates and randomizes missing fields

Success Response Example

{
  "code": 0,
  "msg": "success",
  "data": {
    "total": 2,
    "list": [
      {
        "id": 10001,
        "uuid": "xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxx1",
        "name": "Postman batch window-1"
      },
      {
        "id": 10002,
        "uuid": "xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxx2",
        "name": "Postman batch window-2"
      }
    ]
  }
}

Minimal Field Batch Creation by Count Request Example

{
  "create_count": 2,
  "name_prefix": "Postman batch window-"
}

Minimal Field Batch Creation by List Request Example

{
  "name_prefix": "Postman list window-",
  "items": [
    {
      "name": "Postman list window-1",
      "group_id": 0
    },
    {
      "name": "Postman list window-2",
      "group_id": 0,
      "browserFingerPrint": {
        "webRTC": "3",
        "resolutionType": "2"
      }
    }
  ]
}

Full Configuration Batch Creation by List Request Example

{
  "name_prefix": "Postman full config window-",
  "items": [
    {
      "name": "Postman full config window-1",
      "group_id": 0,
      "config": {
        "browser_type": "firefox",
        "name": "Postman full config window-1",
        "browser_name": "Postman full config window-1",
        "group_id": 0,
        "proxy": { "type": "direct" },
        "fingerprint": {
          "noise_seed": "A1B2C3D4E5F60708",
          "canvas": { "mode": "on" },
          "audio_context": { "mode": "on" },
          "webgl_image": { "mode": "on" },
          "webgl_metadata": {
            "mode": "real",
            "vendor": "",
            "renderer": ""
          },
          "fonts": {
            "mode": "random",
            "font_list": [],
            "client_rects": true
          }
        },
        "navigator": {
          "user_agent": "",
          "cpu": { "mode": "custom", "value": 8 },
          "ram": { "mode": "custom", "value": 8 }
        },
        "webrtc": { "mode": "relay" },
        "geo": {
          "timezone": { "mode": "auto" },
          "geolocation": { "mode": "auto", "permission": "allow" },
          "language": { "mode": "auto", "values": [] }
        },
        "resolution": { "mode": "random" },
        "cookies": { "mode": "merge", "items": [] },
        "raw": {
          "name": "Postman full config window-1",
          "browser_name": "Postman full config window-1",
          "group_id": 0,
          "proxy_method": "2",
          "proxy_type": "noproxy"
        }
      }
    }
  ]
}

Common Errors

If creating with items returns {"code":211,"msg":"name prefix required","data":{}}, add name_prefix at the top level of the request body, not just in items[].name.

Success Response Parameter Descriptions

ParameterTypeDescription
codenumber0 indicates success
msgstringResponse message
data.totalnumberNumber of successfully created windows
data.listarrayList of successfully created windows
data.list[].idnumber/stringWindow ID
data.list[].uuidstringWindow UUID
data.list[].namestringWindow name

Notes

Equivalent paths also available: /browser/batch-create, /browser/createBatch. To create in a specific group with tags, first call group and tag list endpoints to get real IDs. When proxy_method / proxy_type are not passed, Local API defaults to proxy_method=2, proxy_type=noproxy. create_count is suitable when all windows share the same top-level parameters; for per-window full customization, use items[].config.

Batch Update Window Configurations

Title

Batch Update Window Configurations

Brief Description

Batch modify configuration fields of multiple windows, can also synchronize group, tags, or remark.

Request URL

http://127.0.0.1:54345/browser/update/partial

Request Method

POST

Header

ParameterRequiredExampleDescription
Content-TypeYesapplication/jsonRequest body format
X-Cos-Local-TokenYesYOUR_LOCAL_TOKENLocal access token, viewable in the client under "Settings - Local API"

Request Body Parameters

ParameterRequiredTypeDescription
idsYes, either this or uuidsarray/stringArray of window IDs, comma-separated string also accepted
uuidsYes, either this or idsarray/stringArray of window UUIDs
configNoobjectConfiguration fields to modify. Can be omitted when only modifying outer fields like group_id, tag_ids, remark
configFieldsRecommended requiredarrayField paths being modified this time
updateFieldsRecommended requiredarraySame as configFields
checkedFieldsRecommended requiredarraySame as configFields
group_idNonumber/stringSimultaneously modify group, compatible with groupId
tag_idsNoarray/stringSimultaneously modify tags, compatible with tagIds
remarkNostringSimultaneously modify remark

Success Response Example

{
  "code": 0,
  "msg": "success",
  "data": {
    "ids": [10001, 10002],
    "updated": 2
  }
}

Success Response Parameter Descriptions

ParameterTypeDescription
codenumber0 indicates success
msgstringResponse message
data.idsarrayWindow IDs that were modified
data.updatednumberNumber of successful modifications

Notes

Example config: {"config":{"syncCookies":true,"browserFingerPrint":{"webRTC":"3"}},"configFields":["syncCookies","browserFingerPrint.webRTC"]}. To batch update only remarks, pass {"ids":[10001],"remark":"new remark"}.

Query Window List

Title

Query Window List

Brief Description

Paginated window list query, supports filtering by group, name, remark, and status.

Request URL

http://127.0.0.1:54345/browser/list

Request Method

POST

Header

ParameterRequiredExampleDescription
Content-TypeYesapplication/jsonRequest body format
X-Cos-Local-TokenYesYOUR_LOCAL_TOKENLocal access token, viewable in the client under "Settings - Local API"

Request Body Parameters

ParameterRequiredTypeDescription
pageNonumberPage number, default 1
page_sizeNonumberPage size, default 20, compatible with pageSize
scopeNostringScope, default all
group_idNonumber/stringFilter by group, compatible with groupId
tag_idsNoarray/stringFilter by tags, compatible with tagIds
browser_nameNostringSearch by window name, compatible with name / browserName / keyword
remark_keywordNostringSearch by remark, compatible with remark / remarkKeyword
opened_statusNonumber/stringFilter by open status, compatible with openedStatus
current_platformNostringCurrent client platform, default current client platform, compatible with currentPlatform
liteNonumber/stringWhether to use lightweight list, default 1. Pass 0 to fallback to full list
include_configNonumber/booleanBackend lightweight switch compatibility, 0 equivalent to lightweight list
statusNonumber/stringStatus, default 1

Success Response Example

{
  "code": 0,
  "msg": "success",
  "data": {
    "list": [
      {
        "id": 10001,
        "backend_id": 10001,
        "uuid": "xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx",
        "name": "Test window",
        "group_id": 0,
        "remark": "Created by Local API",
        "cache_storage_mode": "local"
      }
    ],
    "total": 1,
    "page": 1,
    "page_size": 20
  }
}

Success Response Parameter Descriptions

ParameterTypeDescription
codenumber0 indicates success
msgstringResponse message
data.listarrayWindow list
data.list[].idnumber/stringWindow ID
data.list[].backend_idnumber/stringBackend window ID, preferred for batch operations
data.list[].uuidstringWindow UUID
data.list[].namestringWindow name
data.list[].group_id / data.list[].groupIdnumber/stringGroup ID
data.list[].remarkstringRemark
data.list[].cache_storage_modestringCache storage method: local local server, custom custom server, official official server
data.totalnumberTotal count
data.pagenumberCurrent page
data.page_sizenumberPage size

Notes

Local API by default sends lite=1 to the cloud list, so lightweight list does not return full config. When editing, copying, or viewing full configuration, call /browser/detail again. Return fields may increase with server version. For batch modifying window group, remark, or proxy, prefer using backend_id / browserId from the list response as ids.

Query Window Detail

Title

Query Window Detail

Brief Description

Query window details by window UUID or window ID.

Request URL

http://127.0.0.1:54345/browser/detail

Request Method

POST

Header

ParameterRequiredExampleDescription
Content-TypeYesapplication/jsonRequest body format
X-Cos-Local-TokenYesYOUR_LOCAL_TOKENLocal access token, viewable in the client under "Settings - Local API"

Request Body Parameters

ParameterRequiredTypeDescription
uuidYes, either this or idstringWindow UUID, config_uuid also accepted. Obtain from uuid in /browser/list
idYes, either this or uuidnumber/stringWindow numeric ID. Prefer passing uuid

Success Response Example

{
  "code": 0,
  "msg": "success",
  "data": {
    "id": 10001,
    "uuid": "xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx",
    "name": "Test window",
    "group_id": 0,
    "remark": "Created by Local API",
    "cache_storage_mode": "local",
    "config": {}
  }
}

Success Response Parameter Descriptions

ParameterTypeDescription
codenumber0 indicates success
msgstringResponse message
data.idnumber/stringWindow ID
data.uuidstringWindow UUID
data.namestringWindow name
data.group_id / data.groupIdnumber/stringGroup ID
data.remarkstringRemark
data.cache_storage_modestringCache storage method
data.configobjectWindow full configuration

Notes

It is recommended to use uuid for detail queries; if only numeric ID is provided, Local API will first resolve the list to find the corresponding UUID.

Delete Window

Title

Delete Window

Brief Description

Delete one or multiple windows.

Request URL

http://127.0.0.1:54345/browser/delete

Request Method

POST

Header

ParameterRequiredExampleDescription
Content-TypeYesapplication/jsonRequest body format
X-Cos-Local-TokenYesYOUR_LOCAL_TOKENLocal access token, viewable in the client under "Settings - Local API"

Request Body Parameters

ParameterRequiredTypeDescription
idYes, either this or ids / uuidnumber/stringSingle window ID
idsYes, either this or id / uuidarray/stringMultiple window IDs or UUIDs
uuidYes, either this or id / idsstringWindow UUID

Success Response Example

{
  "code": 0,
  "msg": "success",
  "data": {
    "ids": [10001]
  }
}

Success Response Parameter Descriptions

ParameterTypeDescription
codenumber0 indicates success
msgstringResponse message
data.idsarrayDeleted window IDs or UUIDs

Notes

This endpoint moves windows to recycle bin / performs deletion logic, specific behavior depends on current client and server configuration.

Batch Delete Windows

Title

Batch Delete Windows

Brief Description

Batch delete windows by array of window IDs.

Request URL

http://127.0.0.1:54345/browser/delete/ids

Request Method

POST

Header

ParameterRequiredExampleDescription
Content-TypeYesapplication/jsonRequest body format
X-Cos-Local-TokenYesYOUR_LOCAL_TOKENLocal access token, viewable in the client under "Settings - Local API"

Request Body Parameters

ParameterRequiredTypeDescription
idsYesarray/stringArray of window IDs, comma-separated string also accepted

Success Response Example

{
  "code": 0,
  "msg": "success",
  "data": {
    "ids": [10001, 10002]
  }
}

Success Response Parameter Descriptions

ParameterTypeDescription
codenumber0 indicates success
msgstringResponse message
data.idsarrayDeleted window IDs

Notes

To delete a single window, you can also use /browser/delete.

Batch Update Window Group

Title

Batch Update Window Group

Brief Description

Move multiple windows to a specified group.

Request URL

http://127.0.0.1:54345/browser/group/update

Request Method

POST

Header

ParameterRequiredExampleDescription
Content-TypeYesapplication/jsonRequest body format
X-Cos-Local-TokenYesYOUR_LOCAL_TOKENLocal access token, viewable in the client under "Settings - Local API"

Request Body Parameters

ParameterRequiredTypeDescription
idsYes, either this or uuidsarray/stringArray of backend numeric window IDs, also accepts browser_ids / browserIds or comma-separated string
uuidsYes, either this or idsarray/stringArray of window UUIDs, also accepts browser_uuids / browserUuids
group_idYesnumber/stringTarget group ID, pass 0 for no group, compatible with groupId
current_platformNostringCurrent client platform, default current client platform, compatible with currentPlatform

Success Response Example

{
  "code": 0,
  "msg": "success",
  "data": {
    "ids": [10001, 10002],
    "group_id": 123
  }
}

Success Response Parameter Descriptions

ParameterTypeDescription
codenumber0 indicates success
msgstringResponse message
data.idsarrayWindow IDs that were modified
data.group_id / data.groupIdnumber/stringTarget group ID

Notes

When fetching window identifiers from /browser/list, prefer using backend_id / browserId in the response as ids; if only uuid / config_uuid is available, pass uuids.

Batch Update Window Remark

Title

Batch Update Window Remark

Brief Description

Batch modify the remark of multiple windows.

Request URL

http://127.0.0.1:54345/browser/remark/update

Request Method

POST

Header

ParameterRequiredExampleDescription
Content-TypeYesapplication/jsonRequest body format
X-Cos-Local-TokenYesYOUR_LOCAL_TOKENLocal access token, viewable in the client under "Settings - Local API"

Request Body Parameters

ParameterRequiredTypeDescription
idsYes, either this or uuidsarray/stringArray of backend numeric window IDs, also accepts browser_ids / browserIds or comma-separated string
uuidsYes, either this or idsarray/stringArray of window UUIDs, also accepts browser_uuids / browserUuids
remarkYesstringNew remark, pass empty string "" to clear
current_platformNostringCurrent client platform, default current client platform, compatible with currentPlatform

Success Response Example

{
  "code": 0,
  "msg": "success",
  "data": {
    "ids": [10001, 10002],
    "remark": "Batch remark"
  }
}

Success Response Parameter Descriptions

ParameterTypeDescription
codenumber0 indicates success
msgstringResponse message
data.idsarrayWindow IDs that were modified
data.remarkstringNew remark

Notes

When fetching window identifiers from /browser/list, prefer using backend_id / browserId as ids; if only uuid / config_uuid is available, pass uuids.

Query Proxy List

Title

Query Proxy List

Brief Description

Paginated query of proxies from proxy IP management, supports filtering by name, proxy method, proxy type, owning user, region, and check status.

Request URL

http://127.0.0.1:54345/proxy/list

Request Method

POST

Header

ParameterRequiredExampleDescription
Content-TypeYesapplication/jsonRequest body format
X-Cos-Local-TokenYesYOUR_LOCAL_TOKENLocal access token, viewable in the client under "Settings - Local API"

Request Body Parameters

ParameterRequiredTypeDescription
pageNonumberPage number, default 1
page_sizeNonumberPage size, default 20, compatible with pageSize
idNonumber/stringQuery by proxy ID
keyword / proxy_nameNostringSearch by proxy name, compatible with proxyName / name
proxy_methodNostringFilter by proxy method: 2 / custom custom proxy, 3 / api_link API extraction proxy, compatible with proxyMethod
proxy_typeNostringFilter by proxy type: http / https / socks5 / ssh / direct, compatible with proxyType
proxy_protocolNostringFilter by proxy protocol, compatible with proxyProtocol
ip_protocolNostringFilter by IP protocol: ipv4 / ipv6, compatible with ipProtocol
api_providerNostringAPI extraction provider, compatible with apiProvider / provider
extract_methodNostringFilter by extraction method, compatible with extractMethod
owner_uidNonumber/stringOwner UID, compatible with ownerUid
owner_accountNostringOwner account, compatible with ownerAccount / account
countryNostringFilter by country/region
regionNostringFilter by province/region
check_statusNonumber/stringCheck status, compatible with checkStatus
is_sharedNonumber/booleanWhether shared, compatible with isShared
allow_member_editNonumber/booleanAllow member edit/delete, compatible with allowMemberEdit / allowDeleteModify
hostNostringFilter by proxy host
portNonumber/stringFilter by proxy port
usernameNostringFilter by proxy username, compatible with proxy_user_name / proxyUserName

Success Response Example

{
  "code": 0,
  "msg": "success",
  "data": {
    "list": [
      {
        "id": 1,
        "proxy_name": "Test proxy",
        "proxy_method": "custom",
        "proxy_type": "http",
        "host": "127.0.0.1",
        "port": 7890,
        "username": "",
        "country": "CN",
        "region": "Shanghai",
        "check_status": 1
      }
    ],
    "total": 1,
    "page": 1,
    "page_size": 20
  }
}

Success Response Parameter Descriptions

ParameterTypeDescription
codenumber0 indicates success
msgstringResponse message
data.listarrayProxy list
data.list[].idnumber/stringProxy ID, can be used as proxy_id in /browser/proxy/update
data.list[].proxy_name / data.list[].proxyNamestringProxy name
data.list[].proxy_method / data.list[].proxyMethodstringProxy method
data.list[].proxy_type / data.list[].proxyTypestringProxy type
data.list[].hoststringProxy host
data.list[].portnumber/stringProxy port
data.list[].username / data.list[].proxy_user_namestringProxy username
data.list[].check_status / data.list[].checkStatusnumber/stringCheck status
data.total / data.totalNumnumberTotal count
data.pagenumberCurrent page
data.page_sizenumberPage size

Notes

This endpoint forwards locally to backend /api/browser/proxies/list. Local paths /browser/proxy/list and /browser/proxies/list are also compatible. Return fields may increase with server version.

Batch Update Window Proxy

Title

Batch Update Window Proxy

Brief Description

Batch modify proxy configuration for multiple windows.

Request URL

http://127.0.0.1:54345/browser/proxy/update

Request Method

POST

Header

ParameterRequiredExampleDescription
Content-TypeYesapplication/jsonRequest body format
X-Cos-Local-TokenYesYOUR_LOCAL_TOKENLocal access token, viewable in the client under "Settings - Local API"

Request Body Parameters

ParameterRequiredTypeDescription
idsYes, either this or uuidsarray/stringArray of backend numeric window IDs, also accepts browser_ids / browserIds
uuidsYes, either this or idsarray/stringArray of window UUIDs, also accepts browser_uuids / browserUuids
proxy_methodYesstringProxy method: 2 custom, 3 API extraction, 4 proxy IP management, compatible with proxyMethod
proxy_typeRequired when proxy_method=2stringnoproxy / direct / http / https / socks5 / ssh, compatible with proxyType
hostRequired when proxy_method=2 and using proxystringProxy host
portRequired when proxy_method=2 and using proxynumber/stringProxy port
usernameNostringProxy username, compatible with proxy_user_name / proxyUserName
passwordNostringProxy password, compatible with proxy_password / proxyPassword
refresh_urlNostringRefresh proxy URL, compatible with refreshProxyUrl
extract_urlRequired when proxy_method=3stringExtraction URL, compatible with dynamicIpUrl / extractUrl
api_providerNostringExtraction link provider, compatible with dynamicIpChannel
proxy_idRequired when proxy_method=4number/stringProxy ID from proxy IP management, compatible with proxyId
ip_lookup_channelNostringIP lookup channel, compatible with ipCheckService
udp_enabledNonumber/booleanSocks5 UDP switch, compatible with enableSocks5Udp
current_platformNostringCurrent client platform, default current client platform, compatible with currentPlatform

Success Response Example

{
  "code": 0,
  "msg": "success",
  "data": {
    "ids": [10001, 10002],
    "proxy_method": "2",
    "proxy_type": "noproxy"
  }
}

Success Response Parameter Descriptions

ParameterTypeDescription
codenumber0 indicates success
msgstringResponse message
data.idsarrayWindow IDs that were modified
data.proxy_method / data.proxyMethodstringProxy method
data.proxy_type / data.proxyTypestringProxy type

Notes

When fetching window identifiers from /browser/list, prefer using backend_id / browserId as ids; if only uuid / config_uuid is available, pass uuids. For no proxy, pass: {"proxy_method":"2","proxy_type":"noproxy"}.

Last modified: 2026-07-01