• Website
  • Server status
  • API documentation
  • Blog
Telegram Icon Community
EN
English
Português
Русский
中文 (中国)
Tiếng Việt
Log in Try for €3.99
  • Website
  • Server status
  • API documentation
  • Blog
  • Telegram Icon Community
  • English (US)
    English
    Português
    Русский
    中文 (中国)
    Tiếng Việt
Log in View Plans

Automating tasks with API

Connect Multilogin 6 with APIs to automate routine operations. Save time and scale your activities without manual intervention.

search icon

Contact Us

If you still have questions or prefer to get help directly from an agent, please submit a request.
We’ll get back to you as soon as possible.

Please fill out the contact form below and we will reply as soon as possible.

  • Introduction to Multilogin 6
  • How to use Multilogin 6
    IP masking & proxy solutions
  • Team management & setup
  • Automating tasks with API
  • Migrating to Multilogin X
  • Troubleshooting common issues
  • Home
  • breadcrumb separator bar
  • Multilogin 6
  • breadcrumb separator bar
  • Automating tasks with API
  • breadcrumb separator bar
  • How to use CLI and Local API in Multilogin 6

How to use CLI and Local API in Multilogin 6

Written by Marcelo B ( Updated on April 8th, 2025 )

Updated on April 8th, 2025

Although our app supports headless mode, browser profiles require a graphical user interface to function properly. Here's how you can set it up. In just 3 simple steps, you’ll be ready to start using the Multilogin 6 Local API with the Command Line Interface (CLI)!

Step 1: define the app listening port

Define ports MLA

Here's how to predefine your default listening port in the app.properties file:

  1. Open Multilogin
  2. Go to “My account”
  3. Click “Open logs directory” – this will open the folder /.multiloginapp.com/logs
  4. Navigate one folder up to /.multiloginapp.com
  5. Use any text editor to open app.properties
  6. Add a new line to specify the port number: multiloginapp.port=35000
  7. Save the changes

Make sure the port number is between 10000 and 49151.

 

You can also find the app.properties file in the .multiloginapp.com folder:

  • Windows: C:\Users\%username%\.multiloginapp.com
  • Linux: /home/%username%/.multiloginapp.com
  • macOS: /Users/%username%/.multiloginapp.com

The folder may be hidden, depending on your OS settings. To display this folder on Mac devices, you can use the following keyboard shortcuts:

  • Cmd + Shift + H – to display the current user's folder
  • Cmd + Shift + . (period) – to display hidden folders and files
 

Step 2: launch the CLI

Before typing anything into the prompt window, make sure your Cmd/Terminal is open in the directory specified below. 

Multilogin version 6.0 or higher:

  • Windows: C:\Program Files (x86)\Multilogin\headless
  • macOS: /Applications/multilogin.app/Contents/MacOS/multilogin.app/Contents/MacOS
  • Linux: /opt/Multilogin/headless

Multilogin version 5.19 or lower:

  • Windows: C:\Program Files (x86)\Multilogin
  • macOS: /Applications/multilogin.app/Contents/MacOS

UNIX system users: 

You need to add execution permissions to the .sh file. Do it via the chmod +x command (for example, chmod +x headless.sh).

 

Start Multilogin in headless mode

  • Windows: headless.exe
  • Linux/macOS: ./headless.sh

Start Multilogin in headless mode on port 35000

  • Windows: headless.exe -port 35000
  • Linux/macOS: ./headless.sh -port 35000

Log in to your Multilogin account

  • Windows: cli.exe -login -u [email protected] -p password123
  • Linux/macOS: ./cli.sh -login -u [email protected] -p password123

Step 3: use Local API endpoints

Check our full list of Multilogin 6 API endpoints in our Swagger documentation!

rate limits code example local api cli

Was this article helpful?

Give feedback about this article

In this article

  • Step 1: define the app listening port
  • Step 2: launch the CLI
  • Start Multilogin in headless mode
  • Start Multilogin in headless mode on port 35000
  • Log in to your Multilogin account
  • Step 3: use Local API endpoints

Multilogin community

Stay informed, share your thoughts, and engage with others!

Telegram Icon Join us on Telegram

Read more on the topic

Blog Post Img

10 Best Datacenter Proxies for Web Scraping (2025 Edition)

Apr 2, 2025 5 min read
Google SERP Img

What is a Google SERP Proxy and Why Should You Care?

Apr 1, 2025 6 min read
UK Proxy Img

What Are Dedicated UK Proxies? Everything You Need to Know

Apr 1, 2025 6 min read
Related Article Title Icon

Related Articles

  • How to use Human typing emulation in Multilogin
  • How to fix startup issues in Multilogin

ANTIDETECT PLATFORM

  • Antidetect browser
  • Mobile antidetect browser
  • Headless browser
  • Multilogin residential proxies
  • Multi-account management
  • Web automation

RESOURCES

  • Knowledge base
  • API documentation
  • Glossary
  • Blog
  • Multilogin 6 download
  • Server status
  • Release notes

PLATFORM PROXIES

  • Google proxy
  • Facebook proxy
  • Reddit proxy
  • Twitter proxy
  • Amazon proxy
  • LinkedIn proxy

GEO PROXIES

  • Japan proxy
  • UK proxy
  • USA proxy
  • China proxy
  • Canada proxy
  • India proxy

MULTI-ACCOUNT MANAGEMENT

  • Create multiple Facebook accounts
  • Create multiple LinkedIn accounts
  • Create multiple Amazon accounts
  • Create multiple eBay accounts
  • Create multiple Gmail accounts
  • Create multiple Discord accounts

COMPARISON

  • Multilogin vs. Gologin
  • Multilogin vs. Adspower
  • Multilogin vs. Dolphin Anty
  • Multilogin vs. Incognition
  • Multilogin vs. Octo Browser

GET IN TOUCH

  • Contact 24/7 support
    [email protected]
  • Contact sales
  • Affiliate program
  • Careers

© 2025 Multilogin. All rights reserved.

  • Privacy policy
  • Terms of service
  • Cookie policy
Multilogin abstract watermark
  • ANTIDETECT PLATFORM

    • Antidetect browser
    • Mobile antidetect browser
    • Headless browser
    • Multilogin residential proxies
    • Multi-account management
    • Web automation
  • RESOURCES

    • Knowledge base
    • API documentation
    • Glossary
    • Blog
    • Multilogin 6 download
    • Server status
    • Release notes
  • MULTI-ACCOUNT MANAGEMENT

    • Create multiple Facebook accounts
    • Create multiple LinkedIn accounts
    • Create multiple Amazon accounts
    • Create multiple eBay accounts
    • Create multiple Gmail accounts
    • Create multiple Discord accounts
  • COMPARISON

    • Multilogin vs. Gologin
    • Multilogin vs. Adspower
    • Multilogin vs. Dolphin Anty
    • Multilogin vs. Incognition
    • Multilogin vs. Octo Browser
  • PLATFORM PROXIES

    • Google proxy
    • Facebook proxy
    • Reddit proxy
    • Twitter proxy
    • Amazon proxy
    • LinkedIn proxy
  • GEO PROXIES

    • Japan proxy
    • UK proxy
    • USA proxy
    • China proxy
    • Canada proxy
    • India proxy
  • GET IN TOUCH

    • 24/7 support: [email protected]
    • Contact sales
    • Affiliate program
    • Careers
Multilogin abstract watermark
  • Privacy policy
  • Terms of service
  • Cookie policy

© 2025 Multilogin. All rights reserved.

Expand