# Local API vs Open API

MoreLogin provides two API access methods. Choose the one that fits your use case.

## Comparison

|  | **Local API** | **Open API** |
|  --- | --- | --- |
| **Base URL** | `http://127.0.0.1:40000` | `https://api.morelogin.com` |
| **Access** | Local machine only | Remote, from anywhere |
| **Authentication** | Optional token (configurable in Settings) | OAuth2 (`client_id` + `client_secret` → `access_token`) |
| **Supported Modules** | Browser Profiles, Cloud Phones, Proxies, Groups, Tags | Browser Profiles, Cloud Browser Runtime, Cloud Phones, Proxies, Groups, Tags |
| **Best For** | Local browser automation and cloud phone management | Remote browser and cloud phone orchestration |
| **Requires** | MoreLogin desktop app running (v2.15.0+) | API ID and API Key from dashboard |
| **Rate Limit** | Client/configuration dependent | GCRA, configured by route and team; see [Rate Limits](/api-reference/getting-started/rate-limits) |


## When to Use Local API

- You are automating **browser profiles** (create, start, stop, manage)
- You need **Selenium or Puppeteer** WebDriver integration
- You want to manage **cloud phones** from the same machine as MoreLogin (file upload, app management, scheduling, etc.)
- You need to manage **proxies, groups, and tags** locally
- Your automation script runs on the **same machine** as MoreLogin


## When to Use Open API

- You need to create or manage **browser profiles remotely**
- You need to start and connect to a **cloud browser runtime** from a server
- You need **remote access** to manage cloud phones from a server
- You are building a **server-to-server** integration
- You want to manage cloud phones from a **CI/CD pipeline**
- Your application runs on a **different machine** than MoreLogin


## Can I Use Both?

Yes! Many developers use both APIs:

1. **Local API** for browser profile automation + local cloud phone and shared resource management
2. **Open API** for remote browser profiles, cloud browser runtimes, cloud phones, and shared resources (e.g., from a CI/CD pipeline or external server)


> **Note**: For Cloud Phones and Shared Resources, the Local API and Open API provide similar functionality but paths differ. Local API paths use the `/api/` prefix (e.g., `/api/cloudphone/page`), while Open API paths omit it (e.g., `/cloudphone/page`). Some endpoints (e.g., file upload) also have different naming. Always refer to the specific API reference for exact details.