Luxor Documentation Hub Logo
Hashrate Index/API Documentation/Stocks

Get Stocks Index

Access mining stock index data for market performance tracking and analysis.

GET
/stocks/index

Authorization

X-Hi-Api-Key<token>

In: header

Query Parameters

spanstring

Time span

Default: "1M"Value in: "1D" | "7D" | "1M" | "1Y" | "ALL"
curl -X GET "https://api.hashrateindex.com/v1/hashrateindex/stocks/index?span=1M" \
  -H "X-Hi-Api-Key: <token>"

OK

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