API

Base URL: http://coinsight.herokuapp.com/

Endpoints

/api/kucoin/margin/currencies Gets the Currencies available for Margin Trading on the Kucoin Exchange.

Returns: [<coin>,...]

/api/kucoin/margin/current Gets the Current Marginal rates. Queries from the latest data on the Google BigQuery Database.

Parameters:

Name
Required
Default
Description

threshold

No

2000

Dollar value for the loans to consider when calculating the interest rates

  • threshold (optional - default: 2000)

    • Dollar value for the loans to consider when calculating the interest rates

Returns:

[[<coin>,<dailyIntRate>],...]

/api/kucoin/margin/historical Gets the Historical marginal interest rates on Kucoin Exchange over the last 7 days

Parameters:

Name
Required
Default
Description

coin

No

BTC

cryptocurrency to query

threshold

No

1

Amount of coins to consider when calculating interest rate

Returns: [{"dailyIntRate":<dailyIntRate>,"timestamp":<timestamp>},...]

Last updated