Create a browser profile
Create a single browser profile for the current user and team without starting it. The request contains only public configuration settings. The Local API supplies the actual desktop platform and resolves API proxies locally. The backend generates internal fingerprint values such as UA Client Hints, noise, battery information, and media devices.
Request parameters
Authorization Bearer Token
Include your API Key as a Bearer token in the Authorization request header.
Authorization: Bearer <api-key>Body parameters
requiredapplication/jsonBrowserCreateRequestminLength: 1maxLength: 32objectBrowser window size; defaults to 800 x 600 if omittedDefault{"width":800,"height":600}Additional fields are not allowed.
{"width":800,"height":600}Additional fields are not allowed.
objectrequiredCompatibility settings for the browser engine, fingerprint operating system, and User-AgentAdditional fields are not allowed.
Additional fields are not allowed.
minLength: 1maxLength: 32object[] | nullList of Puppeteer Cookie objects; each item must include at least name and valuemaxItems: 500
maxItems: 500maxLength: 5000maxLength: 5000objectProfile proxy settings; no proxy is used if omittedDefault{"mode":"none"}
{"mode":"none"}[]maxItems: 100object[]Accounts to create and bind when creating the profile. Using this field also requires account creation permission.Default[]maxItems: 20
[]maxItems: 20[]maxItems: 100objectCommon browser settings; if the object or any child field is omitted, the corresponding field defaults are usedDefault{"image_size_limit_kb":null,"restore_last_session":true,"block_video_autoplay":false,"disable_video_preload":false,"mute_audio":false,"disable_translate_prompt":false,"disable_password_save_prompt":false,"block_notifications":false,"block_clipboard_read":false,"stop_open_on_network_error":false,"stop_open_on_ip_change":false,"stop_open_on_country_change":false,"search_engine_preset":null}Additional fields are not allowed.
{"image_size_limit_kb":null,"restore_last_session":true,"block_video_autoplay":false,"disable_video_preload":false,"mute_audio":false,"disable_translate_prompt":false,"disable_password_save_prompt":false,"block_notifications":false,"block_clipboard_read":false,"stop_open_on_network_error":false,"stop_open_on_ip_change":false,"stop_open_on_country_change":false,"search_engine_preset":null}Additional fields are not allowed.
objectBrowser fingerprint settings; each field uses its default mode if omittedDefault{"webrtc":{"mode":"based_on_ip"},"timezone":{"mode":"based_on_ip"},"geolocation":{"mode":"based_on_ip"},"language":{"mode":"based_on_ip"},"screen":{"mode":"random"},"fonts":{"mode":"random"},"noise":{"canvas":true,"webgl":true,"audio_context":true,"client_rects":true},"memory":{"mode":"random"},"cpu":{"mode":"random"},"do_not_track":{"mode":"default"},"port_scan_protection":{"mode":"enabled"},"hardware_acceleration":{"mode":"default"},"battery":{"mode":"random"},"media_devices":{"mode":"random"}}Additional fields are not allowed.
{"webrtc":{"mode":"based_on_ip"},"timezone":{"mode":"based_on_ip"},"geolocation":{"mode":"based_on_ip"},"language":{"mode":"based_on_ip"},"screen":{"mode":"random"},"fonts":{"mode":"random"},"noise":{"canvas":true,"webgl":true,"audio_context":true,"client_rects":true},"memory":{"mode":"random"},"cpu":{"mode":"random"},"do_not_track":{"mode":"default"},"port_scan_protection":{"mode":"enabled"},"hardware_acceleration":{"mode":"default"},"battery":{"mode":"random"},"media_devices":{"mode":"random"}}Additional fields are not allowed.
falseGenerated from the schema; not a live response.
{
"name": "string",
"browser": {
"kernel_version": "string"
}
}Request code examples
JavaScript / TypeScript: Node.js 18+ with fetch; PHP: cURL extension; Go: 1.16+; Java: JDK 11+. Replace the token and example parameter values before running.
curl -X POST -H 'Authorization: Bearer <TOKEN>' -H 'Content-Type: application/json' -d '{
"name": "string",
"browser": {
"kernel_version": "string"
}
}' 'http://local.zhongyibrowser.com:39025/api/v1/browsers'Responses
Success: code = 0. Failure: code > 0. Select a status to view its fields and example. Expand objects to inspect nested fields. Optional fields may be omitted.
ID of the created browser profile
Body
application/jsonBrowserCreateSuccessResponseobjectrequiredEndpoint business dataAdditional fields are not allowed.
Additional fields are not allowed.
Generated from the schema; not a live response.
{
"code": 0,
"message": "success",
"data": {
"env_id": "env_01JABCDEF1234567890",
"name": "string",
"status": "inactive"
}
}