Skip to content
Alchemy Logo

activeAssetCtx stream

This API is in private preview. Target September 2026; timing is subject to change.

The values below illustrate the intended request shape.

{
  "method": "subscribe",
  "subscription": {
    "type": "activeAssetCtx",
    "coins": [
      "BTC"
    ]
  }
}

{
  "channel": "subscriptionResponse",
  "data": {
    "subscriptionId": "sub_01",
    "type": "activeAssetCtx"
  }
}

{
  "channel": "activeAssetCtx",
  "subscriptionId": "sub_01",
  "blockHeight": 123456,
  "blockTime": 1780000000000,
  "cursor": "<opaque cursor>",
  "data": {
    "coin": "BTC",
    "markPrice": "100000.0",
    "oraclePrice": "99995.0",
    "fundingRate": "0.00001",
    "openInterest": "25000000"
  }
}

FieldTypeDescription
coinstringMarket symbol for the selected asset.
markPricestringCurrent mark price for the asset.
oraclePricestringCurrent oracle price for the asset.
fundingRatestringCurrent funding rate for the perpetual market.
openIntereststringCurrent aggregate open interest for the market.

{
  "method": "unsubscribe",
  "subscription": {
    "type": "activeAssetCtx",
    "coins": [
      "BTC"
    ]
  }
}

To resume a stream, supply cursor in the subscription object. The cursor is opaque: clients store and return it unmodified, and its format may change.

Was this page helpful?