# LBank

To create a connection to the LBank: Spot market, select the appropriate item in the menu.

<figure><img src="https://1047460659-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FdykpXQOHZEIjOXOCDnHw%2Fuploads%2FPWuTW0MABKBnWafkPNYb%2Fimage.png?alt=media&#x26;token=4adc3078-6c52-408c-aea4-ac3e430dd544" alt="" width="410"><figcaption></figcaption></figure>

<table><thead><tr><th width="233">Field </th><th>Description</th></tr></thead><tbody><tr><td>API key</td><td>API key created by you in your personal cabinet of the exchange</td></tr><tr><td>API secret</td><td>API secret key created by you in your personal account of the exchange</td></tr><tr><td>Token</td><td>A unique connection token.</td></tr><tr><td>Trading password</td><td>Trading password set in the personal account on the exchange's website (optional).</td></tr><tr><td>Proxy</td><td>Selecting a proxy server and defining the data going through the proxy (orders and market date). Detailed information on proxy settings can be found on the related page.</td></tr><tr><td>Save password</td><td>Saving API secret key after restarting the terminal. We recommend to use this function only on trusted devices.</td></tr><tr><td>View only</td><td>Allows to use connection in READ ONLY mode without adding personal APIs.</td></tr><tr><td>Autoconnect</td><td>Automatic connection to this API when the terminal is started.</td></tr><tr><td>Settings</td><td>Opens the settings of order books for the selected connection. The settings set in this window will be automatically applied to all first-time opened instruments for this connection. Detailed description of these settings can be found in the "Connection settings" section.</td></tr></tbody></table>

### Creating API in the personal cabinet of LBank exchange

For correct work of the terminal when creating API keys it is necessary to choose the configuration shown on the screenshot.\\

<figure><img src="https://content.gitbook.com/content/dykpXQOHZEIjOXOCDnHw/blobs/zGtxPxOeODlHPXW5TN7A/image.png" alt="" width="384"><figcaption></figcaption></figure>

### Getting a Token.

To get a unique token you need to right-click on the page of any spot coin and open the console (view code).  Next, in the Application tab, select the Local Storage line and select lbank.com. In the table that opens, find Token, copy the uuid at the bottom and paste it into the appropriate field of connection settings in the terminal.

<figure><img src="https://content.gitbook.com/content/dykpXQOHZEIjOXOCDnHw/blobs/pHasZhYVkEYsA1cMjP5w/!!!!!.jpg" alt=""><figcaption></figcaption></figure>

{% hint style="info" %}
\*IMPORTANT! this token must be updated every few days.&#x20;

Also note that the exchange has strict limits on the number of requests per unit of time.
{% endhint %}
