GET
/
analytics
/
futures-perpetuals
/
open-interest-total
Open Interest
curl --request GET \
  --url https://api.amberdata.com/markets/derivatives/analytics/futures-perpetuals/open-interest-total \
  --header 'x-api-key: <api-key>'
{
  "status": 200,
  "title": "OK",
  "description": "Successful request",
  "payload": {
    "data": [
      {
        "exchange": "huobi",
        "timestamp": "1715385600000.000000",
        "coin": 2422.5065079067244,
        "usd": 147.31088485102083
      },
      {
        "exchange": "kraken",
        "timestamp": "1715385600000.000000",
        "coin": 3127.0053168195695,
        "usd": 190.48881954960004
      },
      {
        "exchange": "bitmex",
        "timestamp": "1715385600000.000000",
        "coin": 6929.464631763672,
        "usd": 372.08792198369997
      },
      {
        "exchange": "deribit",
        "timestamp": "1715385600000.000000",
        "coin": 25049.827686538036,
        "usd": 1547.513314212
      },
      {
        "exchange": "okex",
        "timestamp": "1715385600000.000000",
        "coin": 43135.73797192597,
        "usd": 2635.6437946363894
      },
      {
        "exchange": "bybit",
        "timestamp": "1715385600000.000000",
        "coin": 76781.5822092026,
        "usd": 4669.033820516301
      },
      {
        "exchange": "binance",
        "timestamp": "1715385600000.000000",
        "coin": 111446.26808003098,
        "usd": 6787.6393313128
      },
      {
        "exchange": "cme",
        "timestamp": "1715385600000.000000",
        "coin": 133229.59999999995,
        "usd": 8186.2328186800005
      },
      {
        "exchange": "huobi",
        "timestamp": "1715299200000.000000",
        "coin": 2243.9724956417745,
        "usd": 141.33601091870173
      },
      {
        "exchange": "kraken",
        "timestamp": "1715299200000.000000",
        "coin": 3210.220565067225,
        "usd": 203.0752266112
      },
      {
        "exchange": "bitmex",
        "timestamp": "1715299200000.000000",
        "coin": 6749.902349060866,
        "usd": 374.4837635761
      }
    ]
  }
}

Authorizations

x-api-key
string
header
required

Query Parameters

asset
string
default:BTC
required

[Required] The underlying currency for which there are futures contracts/instruments. [Examples] BTC | ETH

startDate
string<date-time>
default:2024-05-21
required

[Required] Payload only includes data after this date (inclusive). [Formats] seconds | milliseconds | iso8601 [Examples] 1578531600 | 1578531600000 | 2020-09-01T01:00:00

endDate
string
default:2024-06-01
required

[Required] Payload only includes data before this date (exclusive). [Formats] seconds | milliseconds | iso8601 [Examples] 1578531600 | 1578531600000 | 2020-09-01T01:00:00

timeFormat
string

[Optional] Time format of the timestamps in the return payload. [Defaults] milliseconds | ms* | iso | iso8601 | hr | human_readable

Response

200
application/json

200

The response is of type object.