Luxor Documentation Hub Logo
Hashrate Index/API Documentation/Stocks

Get Stocks

Access comprehensive mining stock data including prices, volumes, and market metrics.

GET
/stocks

Authorization

X-Hi-Api-Key<token>

In: header

Query Parameters

slugRequiredstring

Stock Slug refer to Get Stocks Overview to get the list of slugs

curl -X GET "https://api.hashrateindex.com/v1/hashrateindex/stocks?slug=mara" \
  -H "X-Hi-Api-Key: <token>"

OK

{
  "$schema": "https://api.hashrateindex.com/v1/hashrateindex/schemas/StocksBySlugData.json",
  "data": {
    "ceo": "string",
    "change24H": 0,
    "change24HPercent": 0,
    "companyName": "string",
    "description": "string",
    "exchange": "string",
    "forex": "string",
    "headquarters": "string",
    "lastPrice": 0,
    "sector": "string",
    "ticker": "string",
    "type": "string"
  }
}