{"templateId":"markdown","sharedDataIds":{"sidebar":"sidebar-@l10n/zh/sidebars.yaml"},"props":{"metadata":{"markdoc":{"tagList":[]},"type":"markdown"},"seo":{"title":"API概述","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概述","__idx":0},"children":["API概述"]},{"$$mdtype":"Tag","name":"p","attributes":{},"children":["欢迎使用 MoreLogin API 文档。本节将帮助您将 MoreLogin 的核心功能直接集成到您的软件中。"]},{"$$mdtype":"Tag","name":"hr","attributes":{},"children":[]},{"$$mdtype":"Tag","name":"Heading","attributes":{"level":2,"id":"概述","__idx":1},"children":["概述"]},{"$$mdtype":"Tag","name":"p","attributes":{},"children":[{"$$mdtype":"Tag","name":"strong","attributes":{},"children":["它适合谁？"]}," ","想要构建以编程方式控制 MoreLogin 资源的自定义集成、脚本或后端服务的开发人员、软件工程师和自动化工程师。"]},{"$$mdtype":"Tag","name":"p","attributes":{},"children":[{"$$mdtype":"Tag","name":"strong","attributes":{},"children":["它能做什么？"]}," ","MoreLogin提供两种API："]},{"$$mdtype":"Tag","name":"ol","attributes":{},"children":[{"$$mdtype":"Tag","name":"li","attributes":{},"children":[{"$$mdtype":"Tag","name":"p","attributes":{},"children":[{"$$mdtype":"Tag","name":"strong","attributes":{},"children":["本地 API (",{"$$mdtype":"Tag","name":"code","attributes":{},"children":["http://127.0.0.1:40000"]},")"]}]},{"$$mdtype":"Tag","name":"ul","attributes":{},"children":[{"$$mdtype":"Tag","name":"li","attributes":{},"children":[{"$$mdtype":"Tag","name":"strong","attributes":{},"children":["功能"]},"：直接在本地计算机上自动执行指纹浏览器（创建、启动、停止、代理管理）并管理本地云手机实例。"]},{"$$mdtype":"Tag","name":"li","attributes":{},"children":[{"$$mdtype":"Tag","name":"strong","attributes":{},"children":["环境"]},"：与 MoreLogin 桌面应用程序一起在本地运行（API 调用不需要互联网）。"]},{"$$mdtype":"Tag","name":"li","attributes":{},"children":[{"$$mdtype":"Tag","name":"strong","attributes":{},"children":["集成"]},"：支持 Selenium、Puppeteer、Playwright。"]}]}]},{"$$mdtype":"Tag","name":"li","attributes":{},"children":[{"$$mdtype":"Tag","name":"p","attributes":{},"children":[{"$$mdtype":"Tag","name":"strong","attributes":{},"children":["开放 API (",{"$$mdtype":"Tag","name":"code","attributes":{},"children":["https://api.MoreLogin.com"]},")"]}]},{"$$mdtype":"Tag","name":"ul","attributes":{},"children":[{"$$mdtype":"Tag","name":"li","attributes":{},"children":[{"$$mdtype":"Tag","name":"strong","attributes":{},"children":["功能"]},"：远程管理云手机实例（创建、控制、安装应用程序、传输文件）。"]},{"$$mdtype":"Tag","name":"li","attributes":{},"children":[{"$$mdtype":"Tag","name":"strong","attributes":{},"children":["环境"]},"：可从任何地方访问远程云 API。"]},{"$$mdtype":"Tag","name":"li","attributes":{},"children":[{"$$mdtype":"Tag","name":"strong","attributes":{},"children":["集成"]},"：支持批量操作和OAuth2身份验证。"]}]}]}]},{"$$mdtype":"Tag","name":"p","attributes":{},"children":[{"$$mdtype":"Tag","name":"strong","attributes":{},"children":["如何开始？"]}]},{"$$mdtype":"Tag","name":"ol","attributes":{},"children":[{"$$mdtype":"Tag","name":"li","attributes":{},"children":["阅读",{"$$mdtype":"Tag","name":"MarkdownLink","attributes":{"href":"/zh/api-reference/getting-started/authentication"},"children":["身份验证指南"]},"以获取您的凭据。"]},{"$$mdtype":"Tag","name":"li","attributes":{},"children":["按照",{"$$mdtype":"Tag","name":"MarkdownLink","attributes":{"href":"/zh/api-reference/getting-started/quickstart"},"children":["快速入门"]}," 在 5 分钟内进行首次 API 调用。"]},{"$$mdtype":"Tag","name":"li","attributes":{},"children":["深入参考：",{"$$mdtype":"Tag","name":"ul","attributes":{},"children":[{"$$mdtype":"Tag","name":"li","attributes":{},"children":["→ ",{"$$mdtype":"Tag","name":"MarkdownLink","attributes":{"href":"/zh/api-reference/browser"},"children":["转到浏览器 API 参考（本地 API）"]}]},{"$$mdtype":"Tag","name":"li","attributes":{},"children":["→ ",{"$$mdtype":"Tag","name":"MarkdownLink","attributes":{"href":"/zh/api-reference/cloud-phone"},"children":["转到云手机 API 参考（开放 API）"]}]}]}]}]},{"$$mdtype":"Tag","name":"hr","attributes":{},"children":[]},{"$$mdtype":"Tag","name":"Heading","attributes":{"level":2,"id":"快速链接","__idx":2},"children":["快速链接"]},{"$$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":"主题"},"children":["主题"]},{"$$mdtype":"Tag","name":"th","attributes":{"data-label":"描述"},"children":["描述"]}]}]},{"$$mdtype":"Tag","name":"tbody","attributes":{},"children":[{"$$mdtype":"Tag","name":"tr","attributes":{},"children":[{"$$mdtype":"Tag","name":"td","attributes":{},"children":[{"$$mdtype":"Tag","name":"MarkdownLink","attributes":{"href":"/zh/api-reference/getting-started/authentication"},"children":["身份验证"]}]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":["如何同时使用本地 API 和开放 API 进行身份验证"]}]},{"$$mdtype":"Tag","name":"tr","attributes":{},"children":[{"$$mdtype":"Tag","name":"td","attributes":{},"children":[{"$$mdtype":"Tag","name":"MarkdownLink","attributes":{"href":"/zh/api-reference/getting-started/quickstart"},"children":["快速入门"]}]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":["5 分钟内运行您的第一个 API 调用"]}]},{"$$mdtype":"Tag","name":"tr","attributes":{},"children":[{"$$mdtype":"Tag","name":"td","attributes":{},"children":[{"$$mdtype":"Tag","name":"MarkdownLink","attributes":{"href":"/zh/api-reference/getting-started/error-codes"},"children":["错误代码"]}]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":["常见错误代码及排除方法"]}]}]}]}]},{"$$mdtype":"Tag","name":"hr","attributes":{},"children":[]},{"$$mdtype":"Tag","name":"Heading","attributes":{"level":2,"id":"要求","__idx":3},"children":["要求"]},{"$$mdtype":"Tag","name":"ul","attributes":{},"children":[{"$$mdtype":"Tag","name":"li","attributes":{},"children":[{"$$mdtype":"Tag","name":"strong","attributes":{},"children":["本地 API"]},"：MoreLogin 桌面应用程序 v2.15.0+ 安装并运行"]},{"$$mdtype":"Tag","name":"li","attributes":{},"children":[{"$$mdtype":"Tag","name":"strong","attributes":{},"children":["开放 API"]},"：来自 MoreLogin 仪表板的 API ID 和 API 密钥"]},{"$$mdtype":"Tag","name":"li","attributes":{},"children":[{"$$mdtype":"Tag","name":"strong","attributes":{},"children":["Docker"]},"：Docker Engine 20.10+（仅适用于 Docker 部署）"]}]}]},"headings":[{"value":"API概述","id":"api概述","depth":1},{"value":"概述","id":"概述","depth":2},{"value":"快速链接","id":"快速链接","depth":2},{"value":"要求","id":"要求","depth":2}],"frontmatter":{"seo":{"title":"API概述"}},"lastModified":"2026-06-10T12:22:57.000Z","pagePropGetterError":{"message":"","name":""}},"slug":"/zh/api-reference/getting-started","userData":{"isAuthenticated":false,"teams":["anonymous"]},"isPublic":true}