{"templateId":"markdown","sharedDataIds":{"sidebar":"sidebar-sidebars.yaml"},"props":{"metadata":{"markdoc":{"tagList":[]},"type":"markdown"},"seo":{"title":"API Examples Overview","llmstxt":{"hide":false,"sections":[{"title":"Table of contents","includeFiles":["**/*"],"excludeFiles":[]}],"excludeFiles":[]}},"dynamicMarkdocComponents":[],"compilationErrors":[],"ast":{"$$mdtype":"Tag","name":"article","attributes":{},"children":[{"$$mdtype":"Tag","name":"Heading","attributes":{"level":1,"id":"api-examples-overview","__idx":0},"children":["API Examples Overview"]},{"$$mdtype":"Tag","name":"p","attributes":{},"children":["A curated collection of real-world code examples organized by scenario. Each section includes working ",{"$$mdtype":"Tag","name":"code","attributes":{},"children":["curl"]},", Python, and Node.js snippets you can copy and run immediately."]},{"$$mdtype":"Tag","name":"hr","attributes":{},"children":[]},{"$$mdtype":"Tag","name":"Heading","attributes":{"level":2,"id":"by-scenario","__idx":1},"children":["By Scenario"]},{"$$mdtype":"Tag","name":"Heading","attributes":{"level":3,"id":"-browser-automation","__idx":2},"children":["🌐 Browser Automation"]},{"$$mdtype":"Tag","name":"p","attributes":{},"children":["Manage browser profiles and connect via CDP (Chrome DevTools Protocol) for headless or headed automation."]},{"$$mdtype":"Tag","name":"div","attributes":{"className":"md-table-wrapper"},"children":[{"$$mdtype":"Tag","name":"table","attributes":{"className":"md"},"children":[{"$$mdtype":"Tag","name":"thead","attributes":{},"children":[{"$$mdtype":"Tag","name":"tr","attributes":{},"children":[{"$$mdtype":"Tag","name":"th","attributes":{"data-label":"What you want to do"},"children":["What you want to do"]},{"$$mdtype":"Tag","name":"th","attributes":{"data-label":"Example"},"children":["Example"]}]}]},{"$$mdtype":"Tag","name":"tbody","attributes":{},"children":[{"$$mdtype":"Tag","name":"tr","attributes":{},"children":[{"$$mdtype":"Tag","name":"td","attributes":{},"children":["Create → Start → Automate → Stop a profile"]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":[{"$$mdtype":"Tag","name":"MarkdownLink","attributes":{"href":"/api-reference/examples/browser-examples#full-workflow-create--start--automate--stop"},"children":["Browser Profile Examples"]}]}]},{"$$mdtype":"Tag","name":"tr","attributes":{},"children":[{"$$mdtype":"Tag","name":"td","attributes":{},"children":["Batch update proxies across profiles"]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":[{"$$mdtype":"Tag","name":"MarkdownLink","attributes":{"href":"/api-reference/examples/browser-examples#batch-operations"},"children":["Browser Profile Examples"]}]}]},{"$$mdtype":"Tag","name":"tr","attributes":{},"children":[{"$$mdtype":"Tag","name":"td","attributes":{},"children":["Full Selenium script (Python)"]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":[{"$$mdtype":"Tag","name":"MarkdownLink","attributes":{"href":"/api-reference/examples/selenium"},"children":["Selenium Guide"]}]}]},{"$$mdtype":"Tag","name":"tr","attributes":{},"children":[{"$$mdtype":"Tag","name":"td","attributes":{},"children":["Full Playwright script (Python)"]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":[{"$$mdtype":"Tag","name":"MarkdownLink","attributes":{"href":"/api-reference/examples/playwright"},"children":["Playwright Guide"]}]}]},{"$$mdtype":"Tag","name":"tr","attributes":{},"children":[{"$$mdtype":"Tag","name":"td","attributes":{},"children":["Full Puppeteer script (Node.js)"]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":[{"$$mdtype":"Tag","name":"MarkdownLink","attributes":{"href":"/api-reference/examples/puppeteer"},"children":["Puppeteer Guide"]}]}]}]}]}]},{"$$mdtype":"Tag","name":"hr","attributes":{},"children":[]},{"$$mdtype":"Tag","name":"Heading","attributes":{"level":3,"id":"-cloud-phone-lifecycle","__idx":3},"children":["📱 Cloud Phone Lifecycle"]},{"$$mdtype":"Tag","name":"p","attributes":{},"children":["Create cloud phone instances, install apps, manage files, and connect via ADB — all through the Open API."]},{"$$mdtype":"Tag","name":"div","attributes":{"className":"md-table-wrapper"},"children":[{"$$mdtype":"Tag","name":"table","attributes":{"className":"md"},"children":[{"$$mdtype":"Tag","name":"thead","attributes":{},"children":[{"$$mdtype":"Tag","name":"tr","attributes":{},"children":[{"$$mdtype":"Tag","name":"th","attributes":{"data-label":"What you want to do"},"children":["What you want to do"]},{"$$mdtype":"Tag","name":"th","attributes":{"data-label":"Example"},"children":["Example"]}]}]},{"$$mdtype":"Tag","name":"tbody","attributes":{},"children":[{"$$mdtype":"Tag","name":"tr","attributes":{},"children":[{"$$mdtype":"Tag","name":"td","attributes":{},"children":["Auth → Create → Install App → ADB"]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":[{"$$mdtype":"Tag","name":"MarkdownLink","attributes":{"href":"/api-reference/examples/cloudphone-examples#full-workflow-auth--create--install-app--adb"},"children":["Cloud Phone Examples"]}]}]},{"$$mdtype":"Tag","name":"tr","attributes":{},"children":[{"$$mdtype":"Tag","name":"td","attributes":{},"children":["Upload a file to a cloud phone"]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":[{"$$mdtype":"Tag","name":"MarkdownLink","attributes":{"href":"/api-reference/examples/cloudphone-examples#file-upload-example-python"},"children":["Cloud Phone Examples"]}]}]},{"$$mdtype":"Tag","name":"tr","attributes":{},"children":[{"$$mdtype":"Tag","name":"td","attributes":{},"children":["Complete Python SDK (production-ready)"]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":[{"$$mdtype":"Tag","name":"MarkdownLink","attributes":{"href":"https://github.com/MoreLoginBrowser/MoreLogin-API-Demos/blob/main/MoreLogin-Python/cloud_phone/cloud_phone_open_api_demo.py"},"children":["GitHub — cloud_phone_open_api_demo.py"]}]}]}]}]}]},{"$$mdtype":"Tag","name":"hr","attributes":{},"children":[]},{"$$mdtype":"Tag","name":"Heading","attributes":{"level":3,"id":"-rpa-schedule-automation","__idx":4},"children":["🤖 RPA Schedule Automation"]},{"$$mdtype":"Tag","name":"p","attributes":{},"children":["Programmatically create and manage RPA scheduled tasks using marketplace or personal templates."]},{"$$mdtype":"Tag","name":"div","attributes":{"className":"md-table-wrapper"},"children":[{"$$mdtype":"Tag","name":"table","attributes":{"className":"md"},"children":[{"$$mdtype":"Tag","name":"thead","attributes":{},"children":[{"$$mdtype":"Tag","name":"tr","attributes":{},"children":[{"$$mdtype":"Tag","name":"th","attributes":{"data-label":"What you want to do"},"children":["What you want to do"]},{"$$mdtype":"Tag","name":"th","attributes":{"data-label":"API Reference"},"children":["API Reference"]}]}]},{"$$mdtype":"Tag","name":"tbody","attributes":{},"children":[{"$$mdtype":"Tag","name":"tr","attributes":{},"children":[{"$$mdtype":"Tag","name":"td","attributes":{},"children":["List marketplace templates"]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":[{"$$mdtype":"Tag","name":"code","attributes":{},"children":["POST /api/cloudphone/rpa/template/market/page"]}," — ",{"$$mdtype":"Tag","name":"MarkdownLink","attributes":{"href":"/api-reference/cloud-phone/local-api"},"children":["Local API"]}]}]},{"$$mdtype":"Tag","name":"tr","attributes":{},"children":[{"$$mdtype":"Tag","name":"td","attributes":{},"children":["List personal templates"]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":[{"$$mdtype":"Tag","name":"code","attributes":{},"children":["POST /api/cloudphone/rpa/template/personal/page"]}," — ",{"$$mdtype":"Tag","name":"MarkdownLink","attributes":{"href":"/api-reference/cloud-phone/local-api"},"children":["Local API"]}]}]},{"$$mdtype":"Tag","name":"tr","attributes":{},"children":[{"$$mdtype":"Tag","name":"td","attributes":{},"children":["Create a one-time schedule"]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":[{"$$mdtype":"Tag","name":"code","attributes":{},"children":["POST /api/cloudphone/rpa/onceTask/save"]}," — ",{"$$mdtype":"Tag","name":"MarkdownLink","attributes":{"href":"/api-reference/cloud-phone/local-api"},"children":["Local API"]}]}]},{"$$mdtype":"Tag","name":"tr","attributes":{},"children":[{"$$mdtype":"Tag","name":"td","attributes":{},"children":["List / cancel schedules"]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":[{"$$mdtype":"Tag","name":"code","attributes":{},"children":["POST /api/cloudphone/rpa/task/page"]}," — ",{"$$mdtype":"Tag","name":"MarkdownLink","attributes":{"href":"/api-reference/cloud-phone/local-api"},"children":["Local API"]}]}]},{"$$mdtype":"Tag","name":"tr","attributes":{},"children":[{"$$mdtype":"Tag","name":"td","attributes":{},"children":["Query execution records"]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":[{"$$mdtype":"Tag","name":"code","attributes":{},"children":["POST /api/cloudphone/rpa/subTask/page"]}," — ",{"$$mdtype":"Tag","name":"MarkdownLink","attributes":{"href":"/api-reference/cloud-phone/local-api"},"children":["Local API"]}]}]}]}]}]},{"$$mdtype":"Tag","name":"blockquote","attributes":{},"children":[{"$$mdtype":"Tag","name":"p","attributes":{},"children":[{"$$mdtype":"Tag","name":"strong","attributes":{},"children":["Tip"]},": See the ",{"$$mdtype":"Tag","name":"code","attributes":{},"children":["templateParameter"]}," reference in the ",{"$$mdtype":"Tag","name":"MarkdownLink","attributes":{"href":"/api-reference/cloud-phone/local-api"},"children":["Create One-Time Schedule"]}," endpoint for a step-by-step guide on building template parameters."]}]},{"$$mdtype":"Tag","name":"hr","attributes":{},"children":[]},{"$$mdtype":"Tag","name":"Heading","attributes":{"level":3,"id":"-shared-resources","__idx":5},"children":["🔗 Shared Resources"]},{"$$mdtype":"Tag","name":"p","attributes":{},"children":["Proxies, groups, and tags are shared across Browser Profiles and Cloud Phones. Manage them from one place."]},{"$$mdtype":"Tag","name":"div","attributes":{"className":"md-table-wrapper"},"children":[{"$$mdtype":"Tag","name":"table","attributes":{"className":"md"},"children":[{"$$mdtype":"Tag","name":"thead","attributes":{},"children":[{"$$mdtype":"Tag","name":"tr","attributes":{},"children":[{"$$mdtype":"Tag","name":"th","attributes":{"data-label":"What you want to do"},"children":["What you want to do"]},{"$$mdtype":"Tag","name":"th","attributes":{"data-label":"Example"},"children":["Example"]}]}]},{"$$mdtype":"Tag","name":"tbody","attributes":{},"children":[{"$$mdtype":"Tag","name":"tr","attributes":{},"children":[{"$$mdtype":"Tag","name":"td","attributes":{},"children":["Add / list / delete proxies"]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":[{"$$mdtype":"Tag","name":"MarkdownLink","attributes":{"href":"/api-reference/examples/shared-examples#proxy-management"},"children":["Shared Resource Examples"]}]}]},{"$$mdtype":"Tag","name":"tr","attributes":{},"children":[{"$$mdtype":"Tag","name":"td","attributes":{},"children":["Create and manage groups"]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":[{"$$mdtype":"Tag","name":"MarkdownLink","attributes":{"href":"/api-reference/examples/shared-examples#group-management"},"children":["Shared Resource Examples"]}]}]},{"$$mdtype":"Tag","name":"tr","attributes":{},"children":[{"$$mdtype":"Tag","name":"td","attributes":{},"children":["Create and manage tags"]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":[{"$$mdtype":"Tag","name":"MarkdownLink","attributes":{"href":"/api-reference/examples/shared-examples#tag-management"},"children":["Shared Resource Examples"]}]}]},{"$$mdtype":"Tag","name":"tr","attributes":{},"children":[{"$$mdtype":"Tag","name":"td","attributes":{},"children":["Full workflow: create resources → assign to profile"]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":[{"$$mdtype":"Tag","name":"MarkdownLink","attributes":{"href":"/api-reference/examples/shared-examples#complete-workflow-create-resources--assign-to-profile"},"children":["Shared Resource Examples"]}]}]}]}]}]},{"$$mdtype":"Tag","name":"hr","attributes":{},"children":[]},{"$$mdtype":"Tag","name":"Heading","attributes":{"level":2,"id":"by-language","__idx":6},"children":["By Language"]},{"$$mdtype":"Tag","name":"div","attributes":{"className":"md-table-wrapper"},"children":[{"$$mdtype":"Tag","name":"table","attributes":{"className":"md"},"children":[{"$$mdtype":"Tag","name":"thead","attributes":{},"children":[{"$$mdtype":"Tag","name":"tr","attributes":{},"children":[{"$$mdtype":"Tag","name":"th","attributes":{"data-label":"Language"},"children":["Language"]},{"$$mdtype":"Tag","name":"th","attributes":{"data-label":"Examples"},"children":["Examples"]}]}]},{"$$mdtype":"Tag","name":"tbody","attributes":{},"children":[{"$$mdtype":"Tag","name":"tr","attributes":{},"children":[{"$$mdtype":"Tag","name":"td","attributes":{},"children":[{"$$mdtype":"Tag","name":"strong","attributes":{},"children":["curl"]}]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":[{"$$mdtype":"Tag","name":"MarkdownLink","attributes":{"href":"/api-reference/examples/browser-examples"},"children":["Browser"]},", ",{"$$mdtype":"Tag","name":"MarkdownLink","attributes":{"href":"/api-reference/examples/cloudphone-examples"},"children":["Cloud Phone"]},", ",{"$$mdtype":"Tag","name":"MarkdownLink","attributes":{"href":"/api-reference/examples/shared-examples"},"children":["Shared Resources"]}]}]},{"$$mdtype":"Tag","name":"tr","attributes":{},"children":[{"$$mdtype":"Tag","name":"td","attributes":{},"children":[{"$$mdtype":"Tag","name":"strong","attributes":{},"children":["Python"]}]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":[{"$$mdtype":"Tag","name":"MarkdownLink","attributes":{"href":"/api-reference/examples/browser-examples"},"children":["Browser"]},", ",{"$$mdtype":"Tag","name":"MarkdownLink","attributes":{"href":"/api-reference/examples/selenium"},"children":["Selenium"]},", ",{"$$mdtype":"Tag","name":"MarkdownLink","attributes":{"href":"/api-reference/examples/playwright"},"children":["Playwright"]},", ",{"$$mdtype":"Tag","name":"MarkdownLink","attributes":{"href":"/api-reference/examples/cloudphone-examples"},"children":["Cloud Phone"]},", ",{"$$mdtype":"Tag","name":"MarkdownLink","attributes":{"href":"/api-reference/examples/shared-examples"},"children":["Shared Resources"]}]}]},{"$$mdtype":"Tag","name":"tr","attributes":{},"children":[{"$$mdtype":"Tag","name":"td","attributes":{},"children":[{"$$mdtype":"Tag","name":"strong","attributes":{},"children":["Node.js"]}]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":[{"$$mdtype":"Tag","name":"MarkdownLink","attributes":{"href":"/api-reference/examples/browser-examples"},"children":["Browser"]},", ",{"$$mdtype":"Tag","name":"MarkdownLink","attributes":{"href":"/api-reference/examples/puppeteer"},"children":["Puppeteer"]},", ",{"$$mdtype":"Tag","name":"MarkdownLink","attributes":{"href":"/api-reference/examples/cloudphone-examples"},"children":["Cloud Phone"]},", ",{"$$mdtype":"Tag","name":"MarkdownLink","attributes":{"href":"/api-reference/examples/shared-examples"},"children":["Shared Resources"]}]}]}]}]}]},{"$$mdtype":"Tag","name":"hr","attributes":{},"children":[]},{"$$mdtype":"Tag","name":"Heading","attributes":{"level":2,"id":"quick-links","__idx":7},"children":["Quick Links"]},{"$$mdtype":"Tag","name":"ul","attributes":{},"children":[{"$$mdtype":"Tag","name":"li","attributes":{},"children":[{"$$mdtype":"Tag","name":"MarkdownLink","attributes":{"href":"/api-reference/getting-started/authentication"},"children":["Authentication & Token Setup"]}]},{"$$mdtype":"Tag","name":"li","attributes":{},"children":[{"$$mdtype":"Tag","name":"MarkdownLink","attributes":{"href":"/api-reference/getting-started/response-format"},"children":["Common Response Format"]}]},{"$$mdtype":"Tag","name":"li","attributes":{},"children":[{"$$mdtype":"Tag","name":"MarkdownLink","attributes":{"href":"/api-reference/getting-started/error-codes"},"children":["Error Codes Reference"]}]},{"$$mdtype":"Tag","name":"li","attributes":{},"children":[{"$$mdtype":"Tag","name":"MarkdownLink","attributes":{"href":"/api-reference/getting-started/local-vs-open-api"},"children":["Local API vs Open API"]}]}]}]},"headings":[{"value":"API Examples Overview","id":"api-examples-overview","depth":1},{"value":"By Scenario","id":"by-scenario","depth":2},{"value":"🌐 Browser Automation","id":"-browser-automation","depth":3},{"value":"📱 Cloud Phone Lifecycle","id":"-cloud-phone-lifecycle","depth":3},{"value":"🤖 RPA Schedule Automation","id":"-rpa-schedule-automation","depth":3},{"value":"🔗 Shared Resources","id":"-shared-resources","depth":3},{"value":"By Language","id":"by-language","depth":2},{"value":"Quick Links","id":"quick-links","depth":2}],"frontmatter":{"seo":{"title":"API Examples Overview"}},"lastModified":"2026-06-17T03:35:58.000Z","pagePropGetterError":{"message":"","name":""}},"slug":"/api-reference/examples","userData":{"isAuthenticated":false,"teams":["anonymous"]},"isPublic":true}