With the API v1.5 in Undetectable, you will be able to get a list of profiles, create, launch, update, and close them. Additionally, with the obtained information, you can connect various automation tools such as Puppeteer, Playwright, and others to profiles on the Chromium core.
By default, the local server runs on port 25325. If this port is occupied, it will start on another port. You can check the port in the program settings and change it if necessary.
To access the local server, use the IP 127.0.0.1, localhost, or the local IP within your network, and the port from the settings plus the path you want to execute, for example, http://localhost:25325/status.
All API responses look like:
where <status code> and <status> reflect the status:
<return object> - various data sent by the API, for example, a list of profiles.
Errors have the following format:
Requests
Status
Path: /status
Method: GET
Description: Returns the status of the local server, whether it is running or not.
List of Profiles
Path: /list
Method: GET
Description: Returns a list of profiles available in the program on the Chromium browser.
Create Profile
Path: /profile/create
Method: POST
Description: Creates a profile with the selected parameters. All parameters are optional and may not be present. The list of browsers for the command: Chrome, Edge, FireFox, IE, Opera, Safari, Yandex. The list of OS for the command: Windows, Windows 7, Windows 8, Windows 8.1, Windows 10, Android, iPhone, iPad, Linux, Mac. If there are no configurations with the selected OS or Browser, a random OS or Browser type will be used.
Format: JSON
Starting a profile
Path: /profile/start/<profileID>
Method: GET
Description: Starts the profile with the selected <profileID>. You can add parameters to the link:
chrome_flags and pass any launch flags you want, just encode them in URL encoding, for example:
start-pages and specify the start pages, just encode them in URL encoding, for example: ?start-pages=https%3A%2F%2Fgoogle.com%2Chttps%3A%2F%2Fya.ru
Closing a profile
Path: /profile/stop/<profileID>
Method: GET
Description: Stops the profile with the selected <profileID>
Profile Update
Path: /profile/update/<profileID>
Method: POST
Description: Updates the information in the profile with the specified <profileID>. All parameters are optional and may not be present.
Format: JSON
Profile Deletion
Path: /profile/delete/<profileID>
Method: GET
Description: Deletes the profile with the selected <profileID>
Clear Profile Data
Path: /profile/cleardata/<profileID>
Method: GET
Description: Clears all data (cookies, history, notes, cache, etc.) of the profile with the selected <profileID>
Clear profile cookies
Path: /profile/clearcookies/<profileID>
Method: GET
Description: Clear only cookies from profile with selected <profileID>
Clear profile cache
Path: /profile/clearcache/<profileID>
Method: GET
Description: Clear only cache from profile with selected <profileID>
Profile Cookies
Path: /profile/cookies/<profileID>
Method: GET
Description: Requests the cookies of the profile with the selected <profileID>
Send to Cloud
Path: /profile/tocloud
Method: POST
Description: Sends the selected profiles to the cloud
Format: JSON
Make Local
Path: /profile/tolocal
Method: POST
Description: Makes the selected profiles local
Format: JSON
Update Browser Version
Path: /profile/updatebrowser/<profileID>
Method: GET
Description: Updates the browser version in the profile with the selected <profileID>
Format: JSON
Configuration List
Path: /configslist
Method: GET
Description: Returns a list of active configurations
Format: JSON
Group List
Path: /groupslist
Method: GET
Description: Returns a list of groups
Format: JSON
Profile Information
Path: /profile/getinfo/<profileID>
Method: GET
Description: Requests information about the profile with the selected <profileID>
Format: JSON
Check IP
Path: /profile/checkconnection/<profileID>
Method: GET
Description: Checks the connection in the profile with the selected , if the check fails, an error is returned
Format: JSON
Get timezones list
Path: /timezoneslist
Method: GET
Description: Returning timezones list
Format: JSON
Get proxies list
Path: /proxies/list
Method: GET
Description: Returning proxies list
Format: JSON
Add proxy
Path: /proxies/add
Method: POST
Description: Add a proxy to the proxy manager, the parameters login, password, ipchangelink are optional, the rest are required
Format: JSON
Delete proxy
Path: /proxies/delete/<ProxyID>
Method: GET
Description: Removes a proxy with the selected ID. Proxy will be deleted for all profiles with that proxy, the same as during normal deletion from the manager
Format: JSON
Update proxy
Path: /proxies/update/<ProxyID>
Method: POST
Description: Updates the proxy with the selected ID, all parameters are optional
Format: JSON
Examples
Puppeteer (Node.js)
Node.js Puppeteer Launch a profile with a specific name and open the undetectable.io page in that profile:
Selenium (Python)
Python + Selenium Launch profiles located in a specific folder and open multiple websites: