Skip to main content
GET
/
openapi
/
v1
/
crypto
Crypto market overview
curl --request GET \
  --url https://api.hayinsights.com/openapi/v1/crypto \
  --header 'X-API-Key: <api-key>'
{
  "success": true,
  "statusCode": 200,
  "data": {
    "totalMarketCap": 2156391783530.09,
    "volume24h": 74938670897.24,
    "marketCapChange24h": -2.6314,
    "volumeChange24h": -11.6008,
    "dominance": {
      "btc": 58.148,
      "eth": 9.476,
      "bnb": 3.585,
      "sol": 1.843,
      "xrp": 3.242,
      "other": 23.706
    },
    "fearGreed": {
      "value": 19,
      "classification": "Extreme fear",
      "date": "2026-06-18"
    },
    "trending": [
      {
        "symbol": "FF",
        "name": "Falcon Finance",
        "rank": 98,
        "priceChange24h": 99.3142,
        "tag": "gainer"
      },
      {
        "symbol": "DASH",
        "name": "Dash",
        "rank": 74,
        "priceChange24h": 28.9689,
        "tag": "gainer"
      }
    ]
  },
  "meta": {
    "timestamp": "2026-06-19T08:50:00.956Z"
  }
}

Authorizations

X-API-Key
string
header
required

Your HayInsights API key (prefixed apk_). Create and manage keys in the HayInsights dashboard (Account → API keys).

Send it in the X-API-Key header on every request to /openapi/v1/*. Which data domains you may access and your request quota are both governed by the subscription plan attached to the key — see the Plans & features and Rate limits guides.

Response

Crypto market overview snapshot.

Standard success envelope shared by every endpoint. Each operation's response wrapper extends this (via allOf) and adds a typed data property.

success
boolean
required

Always true for a successful response.

Example:

true

statusCode
integer
required

Mirrors the HTTP status code.

Example:

200

data
object
required

Crypto market overview — total market capitalisation, 24h volume, BTC/ETH/major dominance split, the Fear & Greed index and a list of trending coins.

meta
object

Response metadata. Always present; timestamp is the server time the response was generated.