GET
/
analytics
/
trades-flow
/
block-volumes
Block Volumes
curl --request GET \
  --url https://api.amberdata.com/markets/derivatives/analytics/trades-flow/block-volumes \
  --header 'x-api-key: <api-key>'
{
  "status": 200,
  "title": "OK",
  "description": "Successful request",
  "payload": {
    "data": [
      {
        "exchange": "deribit",
        "currency": "BTC",
        "expirationTimestamp": 1717142400000,
        "strike": 63000,
        "putCall": "C",
        "contractVolume": 19.7,
        "premiumVolume": 107198.425665
      },
      {
        "exchange": "deribit",
        "currency": "BTC",
        "expirationTimestamp": 1717142400000,
        "strike": 70500,
        "putCall": "P",
        "contractVolume": 12.5,
        "premiumVolume": 28250.494175
      },
      {
        "exchange": "deribit",
        "currency": "BTC",
        "expirationTimestamp": 1717315200000,
        "strike": 66500,
        "putCall": "C",
        "contractVolume": 12.6,
        "premiumVolume": 17001.496270647003
      }
    ],
    "metadata": {
      "api-version": "2023-09-30"
    }
  }
}

Authorizations

x-api-key
string
header
required

Query Parameters

exchange
string
default:deribit
required

[Required] The exchange for which to retrieve the listed option level 1 quotes. [Examples] deribit | okex | bybit

currency
string
default:BTC
required

[Required] The underlying currency for which there are listed option instruments. [Examples] BTC | SOL_USDC Note: inverse options have underlying currencies formatted as (BTC, ETH) while linear option currency formats include the stable coin in the same (SOL_USDC)

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

Successful request

The response is of type object.