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
Select GET and enter: https://api.coinslosh.com/candles/v1
in the Request URL.
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.
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
In the following example is Postman
used to retrieve JSON candles but you can also use other tools or languages.