API: Definition and application

Modified on Mon, 22 Sep at 5:24 PM

What is API?

The Application Programming Interface, or API, is a way for users to connect with the websites of service providers. An API also aids in the processing and transfer of data between the website and its users. The website's service provider determines the scope of data that users can access on the website. The data that the API processes is the data that users have provided.

With this feature, an API can be used for further programs and application development, which can greatly facilitate trading for investors.

 

How to set up an API on Bitkub


You can create an API key on Bitkub by following the steps below.

  1.  Log in to your Bitkub account on Bitkub.com, then click on the API menu under your profile, or you can access the API page from https://api.bitkub.com/.


  2. Click “CREATE API KEY” and fill out the API Key name along with the Google Authentication code to generate your API key.


  • You will receive an API Key along with an API Secret key which you can copy for further usage.
    • The API Secret key will only be displayed once. Please copy and save it for future use. If you refresh or close the browser tab, it will not be shown again.


  1. To edit your API Key permission, click the "Edit" (Pencil icon) button next to the API you wish to adjust.
    • To view details of a created API Key, tap the "VIEW" button.
    • To delete an API Key, tap the "Delete" button (Trash can icon) and enter your Google Authenticator code to confirm.


  • You can select your desired API access permissions and add your preferred IP addresses on the API settings page.


  • You have to enter the Google Authenticator code every time you want to delete or make any changes to your API settings.

  1.  You can learn more about how to install the API and examples from https://github.com/bitkub/bitkub-official-api-docs.
    • In case an error occurs, you can check the error list for the meanings of errors here.


Remarks:

  • When making a withdrawal, you must specify the network for all coins.
  • Please study the details of the API and how it functions before using the service.
  • The Company reserves the right to provide an API service to facilitate customers. In this case, you acknowledge and agree that if there are any issues arising from using the API, including the leak (including sharing with another person) of your API key and API secret key (which are equally important as passwords), you will be responsible for the consequences or loss that can/cannot be calculated in value, which include but are not limited to your account, assets, or information on your account. The loss and consequences from the usage of APIs are outside of the Company’s liability.
  • An API key can be generated on the Bitkub website only.
  • You can add a maximum of 50 IP addresses for API usage.

 

Attention:

When making a coin withdrawal transaction via API, there will be a required string to specify the chain for the coin(s) to prevent the asset(s) from being lost or an error occurring during the process. Here is a list of networks that can be specified.

  • For withdrawal requests on ERC-20, please assign the ‘net’ value as ETH
  • For withdrawal requests on BEP-20, please assign the ‘net’ value as BSC
  • For withdrawal requests on KAP-20, please assign the ‘net’ value as BKC

 

For more details on other networks, please see this link.

Was this article helpful?

That’s Great!

Thank you for your feedback

Sorry! We couldn't be helpful

Thank you for your feedback

Let us know how can we improve this article!

Select at least one of the reasons
CAPTCHA verification is required.

Feedback sent

We appreciate your effort and will try to fix the article