Used to start the profile; you must specify the profile ID. After successful startup, you can obtain the profile debug interface for executing Selenium and Puppeteer automation. For Selenium, use the WebDriver matching the corresponding kernel version. The WebDriver path can be retrieved from the response after profile startup. Requires MoreLogin client version 2.15.0 or higher.
Local API (1.0.0)
The MoreLogin API offers a comprehensive and developer-friendly RESTful interface that empowers you to programmatically manage browser profiles, cloud phones, and related resources—enabling seamless automation, scalability, and control.The MoreLogin local API runs on your machine and is accessible at:127.0.0.1:40000
Environment ID. At least one of envId or uniqueId must be provided. If both are given, envId takes precedence.
Environment serial number (small integer ID). At least one of envId or uniqueId must be provided. If both are given, envId takes precedence.
Encryption key. Required only if end-to-end encryption is enabled for the environment.
Whether to start in headless mode. Defaults to false if omitted. Note: Requires client version v2.36.0 or higher.
- Morelogin Local endponinthttp://127.0.0.1:40000/api/env/start
- curl
- JavaScript
- Node.js
- Python
- Java
- C#
- PHP
- Go
- Ruby
- R
- Payload
curl -i -X POST \
http://127.0.0.1:40000/api/env/start \
-H 'Content-Type: application/json' \
-d '{
"envId": "1993244721490239488",
"encryptKey": "xxx",
"isHeadless": false,
"uniqueId": 1,
"cdpEvasion": false
}'{ "code": 0, "msg": "string", "data": { "envId": "string", "debugPort": "string", "type": "string", "version": 0, "webdriver": "string" } }
Environment ID or serial number — at least one must be provided; if both, envId takes precedence.
- Morelogin Local endponinthttp://127.0.0.1:40000/api/env/close
- curl
- JavaScript
- Node.js
- Python
- Java
- C#
- PHP
- Go
- Ruby
- R
- Payload
curl -i -X POST \
http://127.0.0.1:40000/api/env/close \
-H 'Content-Type: application/json' \
-d '{
"envId": "1869649942658850816",
"uniqueId": 0
}'{ "code": 0, "msg": null, "data": { "envId": "string", "debugPort": "string" } }
- Morelogin Local endponinthttp://127.0.0.1:40000/api/env/create/quick
- curl
- JavaScript
- Node.js
- Python
- Java
- C#
- PHP
- Go
- Ruby
- R
- Payload
curl -i -X POST \
http://127.0.0.1:40000/api/env/create/quick \
-H 'Content-Type: application/json' \
-d '{
"browserTypeId": "1,",
"operatorSystemId": "1,",
"quantity": 1
}'{ "code": 0, "msg": null, "data": [ "string" ], "requestId": "string" }