The Kucoin REST API offer public and private endpoints. The Private endpoints requires that messages signed to increase the security of transactions.
First you must login to your Kucoin account and create a new API, you will get the following values:
These fields must be configured in the Kucoin property of the Kucoin API client component.
Once configured, you can start to do private requests to the Kucoin Pro REST API
*Private Requests, require that your local machine has the local time synchronized, if not, the requests will be rejected by Kucoin server. Check the following article about this, Kucoin Private Requests Time.
oKucoin := TsgcWSAPI_Kucoin.Create(nil);
oKucoin.Kucoin.ApiKey := '<your api key>';
oKucoin.Kucoin.ApiSecret := '<your api secret>';
oKucoin.Kucoin.Passphrase := '<your passphrase>';
ShowMessage(oKucoin.REST_API.GetListAccounts);