# Local API 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 Version: 1.0.0 ## Servers Morelogin Local endponint ``` http://127.0.0.1:40000 ``` ## Security ## Download OpenAPI description [Local API](https://guide.morelogin.com/_bundle/API%20Reference/Local%20API/local-api.yaml) ## Browser Profile ### Start browser profile - [POST /api/env/start](https://guide.morelogin.com/api-reference/local-api/local-api/browser-profile/startbrowserprofileusingpost.md): 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. ### Stop browser profile - [POST /api/env/close](https://guide.morelogin.com/api-reference/local-api/local-api/browser-profile/paths/~1api~1env~1close/post.md): Closes the specified environment. Requires specifying the environment ID. Requires MoreLogin application v2.15.0 or higher. ### Quick create browser profile - [POST /api/env/create/quick](https://guide.morelogin.com/api-reference/local-api/local-api/browser-profile/paths/~1api~1env~1create~1quick/post.md) ### Advanced create browser profile - [POST /api/env/create/advanced](https://guide.morelogin.com/api-reference/local-api/local-api/browser-profile/paths/~1api~1env~1create~1advanced/post.md) ### Modify browser profile - [POST /api/env/update](https://guide.morelogin.com/api-reference/local-api/local-api/browser-profile/paths/~1api~1env~1update/post.md) ### Delete browser profile - [POST /api/env/removeToRecycleBin/batch](https://guide.morelogin.com/api-reference/local-api/local-api/browser-profile/batchdeletebrowserprofilesusingpost.md) ### Get a list of browser profiles - [POST /api/env/page](https://guide.morelogin.com/api-reference/local-api/local-api/browser-profile/listbrowserprofilesusingpost.md) ### Get browser profile details - [POST /api/env/detail](https://guide.morelogin.com/api-reference/local-api/local-api/browser-profile/getbrowserprofiledetailsusingpost.md) ### Get a list of browser kernel versions - [GET /api/env/advanced/ua/versions](https://guide.morelogin.com/api-reference/local-api/local-api/browser-profile/paths/~1api~1env~1advanced~1ua~1versions/get.md) ### Get browser profile UA - [POST /api/env/advanced/ua/get](https://guide.morelogin.com/api-reference/local-api/local-api/browser-profile/getbrowserprofileuausingpost.md) ### Get resolution - [POST /api/env/base/resolution/list](https://guide.morelogin.com/api-reference/local-api/local-api/browser-profile/listresolutionsusingpost.md) ### Get configurable platforms - [GET /api/system/platform/list](https://guide.morelogin.com/api-reference/local-api/local-api/browser-profile/paths/~1api~1system~1platform~1list/get.md) ### Get browser security lock status - [POST /api/env/lock/query](https://guide.morelogin.com/api-reference/local-api/local-api/browser-profile/querybrowserlockstatususingpost.md) ### Get a list of timezone and language - [POST /api/env/base/list](https://guide.morelogin.com/api-reference/local-api/local-api/browser-profile/listtimezoneandlanguageusingpost.md) ### Clear local profile cache - [POST /api/env/removeLocalCache](https://guide.morelogin.com/api-reference/local-api/local-api/browser-profile/clearlocalprofilecacheusingpost.md) ### Refresh fingerprint - [POST /api/env/fingerprint/refresh](https://guide.morelogin.com/api-reference/local-api/local-api/browser-profile/refreshfingerprintusingpost.md) ### Get the browser profile running status - [POST /api/env/status](https://guide.morelogin.com/api-reference/local-api/local-api/browser-profile/paths/~1api~1env~1status/post.md) ### Get Phone Model List - [POST /api/env/base/mobile/devices](https://guide.morelogin.com/api-reference/local-api/local-api/browser-profile/paths/~1api~1env~1base~1mobile~1devices/post.md) ## Cloud Phone ### Getting a list of cloud phone profiles - [POST /api/cloudphone/page](https://guide.morelogin.com/api-reference/local-api/local-api/cloud-phone/pageusingpost.md) ### Creating a Cloud Phone Profile - [POST /api/cloudphone/create](https://guide.morelogin.com/api-reference/local-api/local-api/cloud-phone/createusingpost.md) ### Startup cloud phone - [POST /api/cloudphone/powerOn](https://guide.morelogin.com/api-reference/local-api/local-api/cloud-phone/poweronusingpost.md) ### Shut down the cloud phone - [POST /api/cloudphone/powerOff](https://guide.morelogin.com/api-reference/local-api/local-api/cloud-phone/poweroffusingpost.md) ### Modify the cloud phone profile - [POST /api/cloudphone/edit/batch](https://guide.morelogin.com/api-reference/local-api/local-api/cloud-phone/editbatchusingpost.md) ### Delete cloud phone profile - [POST /api/cloudphone/delete/batch](https://guide.morelogin.com/api-reference/local-api/local-api/cloud-phone/deleteusingpost.md) ### One-click new cloud phone - [POST /api/cloudphone/newMachine](https://guide.morelogin.com/api-reference/local-api/local-api/cloud-phone/onenewusingpost.md) ### Cloud phone - single device details - [POST /api/cloudphone/info](https://guide.morelogin.com/api-reference/local-api/local-api/cloud-phone/infousingpost.md) ### Query brand & model list - [POST /api/cloudphone/brand/models](https://guide.morelogin.com/api-reference/local-api/local-api/cloud-phone/paths/~1api~1cloudphone~1brand~1models/post.md): Query available brand & model list for given Android version ### Update cloud phone ADB status - [POST /api/cloudphone/updateAdb](https://guide.morelogin.com/api-reference/local-api/local-api/cloud-phone/updateadbusingpost.md) ### Execute shell command - [POST /api/cloudphone/exeCommand](https://guide.morelogin.com/api-reference/local-api/local-api/cloud-phone/executeshellcommand.md) ## Cloud Phone/File Management ### Uploading files - [POST /api/cloudphone/uploadFile](https://guide.morelogin.com/api-reference/local-api/local-api/cloud-phonefile-management/fileuploadusing.md) ### Uploading file result - [POST /api/cloudphone/uploadUrl](https://guide.morelogin.com/api-reference/local-api/local-api/cloud-phonefile-management/fileuploadusingpost.md) ### Set Keybox - [POST /api/cloudphone/setKeyBox](https://guide.morelogin.com/api-reference/local-api/local-api/cloud-phonefile-management/paths/~1api~1cloudphone~1setkeybox/post.md) ## Cloud Phone/App Management ### Install app on cloud phone - [POST /api/cloudphone/app/install](https://guide.morelogin.com/api-reference/local-api/local-api/cloud-phoneapp-management/paths/~1api~1cloudphone~1app~1install/post.md) ### Get APP application list - [POST /api/cloudphone/app/page](https://guide.morelogin.com/api-reference/local-api/local-api/cloud-phoneapp-management/paths/~1api~1cloudphone~1app~1page/post.md): Fetch APP application list ### Query installed apps list - [POST /api/cloudphone/app/installedList](https://guide.morelogin.com/api-reference/local-api/local-api/cloud-phoneapp-management/paths/~1api~1cloudphone~1app~1installedlist/post.md): Query list of installed apps on a cloud phone ### Launch APP - [POST /api/cloudphone/app/start](https://guide.morelogin.com/api-reference/local-api/local-api/cloud-phoneapp-management/paths/~1api~1cloudphone~1app~1start/post.md): Launch an installed app on the cloud phone ### Restart APP - [POST /api/cloudphone/app/restart](https://guide.morelogin.com/api-reference/local-api/local-api/cloud-phoneapp-management/paths/~1api~1cloudphone~1app~1restart/post.md) ### Stop APP - [POST /api/cloudphone/app/stop](https://guide.morelogin.com/api-reference/local-api/local-api/cloud-phoneapp-management/paths/~1api~1cloudphone~1app~1stop/post.md) ### Uninstall APP - [POST /api/cloudphone/app/uninstall](https://guide.morelogin.com/api-reference/local-api/local-api/cloud-phoneapp-management/paths/~1api~1cloudphone~1app~1uninstall/post.md) ## Cloud Phone/Schedules management ### Get market template pages - [POST /api/cloudphone/rpa/template/market/page](https://guide.morelogin.com/api-reference/local-api/local-api/cloud-phoneschedules-management/paths/~1api~1cloudphone~1rpa~1template~1market~1page/post.md): Query Schedules market template, template name supports fuzzy query ### Get Personal template pages - [POST /api/cloudphone/rpa/template/personal/page](https://guide.morelogin.com/api-reference/local-api/local-api/cloud-phoneschedules-management/paths/~1api~1cloudphone~1rpa~1template~1personal~1page/post.md): Query Schedules market template, template name supports fuzzy query ### Get a schedules list - [POST /api/cloudphone/rpa/task/page](https://guide.morelogin.com/api-reference/local-api/local-api/cloud-phoneschedules-management/paths/~1api~1cloudphone~1rpa~1task~1page/post.md) ### Creating a schedule - [POST /api/cloudphone/rpa/task/save](https://guide.morelogin.com/api-reference/local-api/local-api/cloud-phoneschedules-management/paths/~1api~1cloudphone~1rpa~1task~1save/post.md) ### Cancel schedule - [POST /api/cloudphone/rpa/task/cancel](https://guide.morelogin.com/api-reference/local-api/local-api/cloud-phoneschedules-management/paths/~1api~1cloudphone~1rpa~1task~1cancel/post.md) ### Page query task executions record - [POST /api/cloudphone/rpa/subTask/page](https://guide.morelogin.com/api-reference/local-api/local-api/cloud-phoneschedules-management/paths/~1api~1cloudphone~1rpa~1subtask~1page/post.md): Query Schedules market template, template name supports fuzzy query ### Get a task execution - [POST /api/cloudphone/rpa/subTask/detail/{id}](https://guide.morelogin.com/api-reference/local-api/local-api/cloud-phoneschedules-management/paths/~1api~1cloudphone~1rpa~1subtask~1detail~1%7Bid%7D/post.md): Query Schedules market template, template name supports fuzzy query ### Cancel execution - [POST /api/cloudphone/rpa/subTask/cancel/{id}](https://guide.morelogin.com/api-reference/local-api/local-api/cloud-phoneschedules-management/paths/~1api~1cloudphone~1rpa~1subtask~1cancel~1%7Bid%7D/post.md) ## Proxy Management ### Getting a list of proxies - [POST /api/proxyInfo/page](https://guide.morelogin.com/api-reference/local-api/local-api/proxy-management/queryproxyinfopageusingpost.md) ### Adding proxy - [POST /api/proxyInfo/add](https://guide.morelogin.com/api-reference/local-api/local-api/proxy-management/addusingpost.md) ### Modifying proxy information - [POST /api/proxyInfo/update](https://guide.morelogin.com/api-reference/local-api/local-api/proxy-management/updateproxyusingpost.md) ### Delete proxy - [POST /api/proxyInfo/delete](https://guide.morelogin.com/api-reference/local-api/local-api/proxy-management/deleteproxyusingpost.md) ## Group Management ### Get a list of groups - [POST /api/envgroup/page](https://guide.morelogin.com/api-reference/local-api/local-api/group-management/paths/~1api~1envgroup~1page/post.md) ### Modify grouping information - [POST /api/envgroup/edit](https://guide.morelogin.com/api-reference/local-api/local-api/group-management/paths/~1api~1envgroup~1edit/post.md) ### Add group - [POST /api/envgroup/create](https://guide.morelogin.com/api-reference/local-api/local-api/group-management/paths/~1api~1envgroup~1create/post.md) ### Delete group - [POST /api/envgroup/delete](https://guide.morelogin.com/api-reference/local-api/local-api/group-management/paths/~1api~1envgroup~1delete/post.md) ## Tag Management ### Getting a list of tags - [GET /api/envtag/all](https://guide.morelogin.com/api-reference/local-api/local-api/tag-management/paths/~1api~1envtag~1all/get.md) ### Create tags - [POST /api/envtag/create](https://guide.morelogin.com/api-reference/local-api/local-api/tag-management/paths/~1api~1envtag~1create/post.md) ### Modify information of tags - [POST /api/envtag/edit](https://guide.morelogin.com/api-reference/local-api/local-api/tag-management/paths/~1api~1envtag~1edit/post.md) ### Delete tags - [POST /api/envtag/delete](https://guide.morelogin.com/api-reference/local-api/local-api/tag-management/paths/~1api~1envtag~1delete/post.md)