Luxor Documentation Hub Logo
Hashrate Index/API Documentation/Stocks

Get Stocks Moving Average

Calculate and analyze moving averages for mining stocks to identify trends and patterns.

GET
/stocks/moving-average

Authorization

X-Hi-Api-Key<token>

In: header

curl -X GET "https://api.hashrateindex.com/v1/hashrateindex/stocks/moving-average" \
  -H "X-Hi-Api-Key: <token>"

OK

{
  "$schema": "https://api.hashrateindex.com/v1/hashrateindex/schemas/StocksMovingAverageData.json",
  "data": [
    {
      "close30D": 0,
      "timestamp": "2019-08-24T14:15:22Z"
    }
  ]
}