Generate API Key and Secret


In order to use the REST API, users must generate an API key and secret.

Via OSL Website

  1. Log in to your account from the OSL website and navigate to the top-right profile icon:

  1. Click SETTINGS on the drop-down menu:

  1. Then click API:

  1. Click CREATE. If two-factor authentication is enabled, enter the one-time password (OTP):

  1. The REST API key and secret will be displayed. You can toggle "Move Funds" and "Place and "Manage Orders" permissions as required. If these are set toggled OFF the keys are considered to be Read Only API Keys.


The API secret will only be shown once and will not be retrievable once you click SAVE.

If you forget/lose your API secret, you will have to click RESET SECRET. The old API secret will be disabled automatically once the secret is reset.

Multiple REST API keys can be created as per the user requirements.