Retrieve JSON candles with the Heikin Ashi Crypto Web API

The Heikin-Ashi technique can be used to spot market trends and predict future prices. They stay red during a downtrend and green during an uptrend, whereas normal candlesticks alternate color even if the price is moving in one direction.
This API returns the Open, Close, High and Low values of Heikin Ashi Candles in JSON.

The following markets are supported:
  • Bitcoin BTC
  • Ethereum ETH
  • Binance Coin BNB
  • Solana SOL
  • Cardano ADA
  • XRP XRP

Request URL

Select GET and enter: https://api.coinslosh.com/candles/v1 in the Request URL.

Authentication

You must authenticate every API request by including an "Ocp-Apim-Subscription-Key" header.
This header should include your API Key that has already been assigned the necessary permissions.
Click here for more information.

Request parameters

Add the following request parameters:
  • Market for which the candle should be returned
  • Type of candle
  • The interval of the returned candles
  • Filter used to limit the returned results

Postman Example

In the following example is Postman used to retrieve JSON candles but you can also use other tools or languages.

GET https://api.coinslosh.com/candles/v1?market=BTC-EUR&type=HeikinAshi&interval=30m&limit=2

Postman - Heikin Ashi Candles API