To generate an API key in your LBank account and integrate it with the Tradegrub app, follow these instructions:
- Log in to your LBank account at https://www.lbank.com.
- Click on your Personal Icon in the top right, then select My API to enter the API management interface.
Please AVOID selecting the "Withdrawal" or "Transfer" options when adding an API key, as these are not needed for our app to operate.
- Click Create API Key and fill in the relevant details, including permissions such as read-only, trade and futures access. For security purposes, it is highly recommended to whitelist specific IP addresses to safeguard your API key.
Avoid using unrestricted settings, as they significantly reduce account security.
- After completing the required fields, press Add.
- You can view, modify, and delete the created API keys in the API Management interface.
- Once your API Key and Secret are generated, make sure to store the API Secret securely as it will only be shown once.
Note: Store your API keys safely and do not share them. If lost, you will need to create a new key.
¶ Sandbox Account
LBank does not provide a specific sandbox environment for testing. Use caution when configuring and testing your API keys on your live account.