Settings
To enable the Local API, go to settings in the dashboard (the button with the gear icon at the bottom left).

Access to Local API and Swagger Documentation
The Local API documentation link in the settings will open the documentation you are now reading.
The Swagger link in the settings will open interactive documentation that allows you to test the Local API in real time. The Swagger documentation also contains all possible requests to the Local API and comprehensive information on the parameters to those requests.
Local API Token
A unique authentication key for secure access to the API.
- To update, click «Update»
- After updating, restart the Local API
- Copying — one click on the token value
Local API Port
A port for receiving API requests.
- Range: 0-65536
- If changed: requires restarting Local API
- Recommendation: use a non-standard port for increased security
Chrome Driver Path
System path to the chromedriver executable, a key file for automation.
Thus, to successfully connect to the Local API you need to:
- In the 0DETECT dashboard settings, Local API section, get:
- Local API token — for request authorization
- Port — to establish a connection
- Selenium will additionally require:
- Specify the path to Chrome Driver in your script
It is recommended to store this data in a secure location and use environment variables to store the token.