How to get an API key for BitMart

This page introduces how to obtain the API key for BitMart transaction history.

Due to the exchange’s specifications, the periods for which transaction histories can be retrieved are as follows:

  • Spot trading: up to the past 3 months
  • Futures trading: up to the past 3 months
  • Withdrawal history: past 100 entries of history

 

1. How to get an API key for BitMart

1. Log in to BitMart, click on the account at the top right, and then click "API Management".

mceclip0.png

 

2. Please check below:

  • Memo ⇒ Enter any content (required)
  • Authority ⇒ Make sure "Read Only" is checked
  • Binding IP address ⇒ Enter the following

52.69.115.51,52.193.138.38,18.179.74.94

  • Click "Add"

* The content entered in the memo will be required in the "passphrase" field when adding the API in cryptact. Also please note that entering symbols such as "!" or "※" in the memo may cause errors during API synchronization.

3. Click "Send", enter the Email code received in your email, and then click "Submit".

mceclip2.png

 

4. Confirm the Access Key and Secret Key, then click "Confirm".

* Be sure to write down the keys displayed at the time of creation. If you miss this timing, you will not be able to confirm them later and will need to create them again.

 

 

2. Add BitMart API

At the BitMart API connection screen, enter the "API Key" in the API Key field, the "API Secret" in the secret key field, and the passphrase you entered in step 2, then click "Submit".

Please leave the sub-account name blank.

Only enter a sub-account name if you have one. In that case, transactions for the sub-account will also be reflected separately.

If you link the API with different sub-account names for the same API key, it may be recognized as different API keys, which can cause duplicate entries.

Disclaimer

Please note that our company will not be responsible for any damage incurred by customers due to unauthorized use or other accidents through API connection. Please be sure to use the API key specified by our company when connecting.