> For the complete documentation index, see [llms.txt](https://docs.kaiko.com/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.kaiko.com/rest-api/cefi-derivatives-markets/market-data/block-volumes.md). Agents can also search and read this documentation through its [MCP server](https://docs.kaiko.com/~gitbook/mcp).

# Block volumes

{% hint style="info" %}

### This data is included in the following Kaiko packages:

* **Level 1 & Level 2 Data** \[Level 1 Tick-Level Tier]
* **Level 1 & Level 2 Data** \[Level 2 Aggregations Tier]
* **Level 1 & Level 2 Data** \[Level 2 Tick-Level Tier]

*Subscriptions with "CeFi Derivatives" as the market type.*
{% endhint %}

## What is this endpoint for?

> Returns the block-traded volume of each option instrument of one underlying currency over a date range, with each instrument's expiry, strike and option type. Only options (\`class=option\`) are served, and only Deribit (\`drbt\`) is currently supported.\
> \*\*Currency.\*\* \`btc\` selects the coin-settled (inverse and quanto) options on BTC; \`btc\_usdc\` the linear options on BTC settled in USDC. A \`currency\` with no option instrument returns \`data: \[]\`.\
> \*\*Volumes.\*\* \`contract\_volume\` is in underlying units. \`premium\_volume\` is the premium in USD (amount × trade price, converted to USD at the trade's hour). Both are totalled over every block-trade leg in the window and rounded to 8 decimals.\
> \*\*Window.\*\* Both bounds are inclusive: \`\[start\_time, end\_time]\`. When chaining windows, do not reuse one window's \`end\_time\` as the next one's \`start\_time\`, or a leg traded at exactly that instant is counted twice. There is no maximum window.\
> \*\*Rows.\*\* One row per option instrument block-traded in the window, in options-chain order (expiry, strike, calls before puts, symbol).\
> \*\*Order and pagination.\*\* \`page\_size\` counts instruments. Every page totals over the same window. Follow \`meta.next\_url\` for the next page.<br>

```json
{"openapi":"3.1.1","info":{"title":"Kaiko API","version":"2026-10-01"},"tags":[{"name":"Trades","description":"Datasets built from executed trades: candles per instrument and the block-traded volume of option instruments."}],"servers":[{"url":"https://api.kaiko.io","description":"Production"}],"security":[{"ApiKeyAuth":[]}],"components":{"securitySchemes":{"ApiKeyAuth":{"type":"apiKey","in":"header","name":"X-Api-Key","description":"Your Kaiko API key. Sent on every request. Never in a query parameter.\n"}},"parameters":{"ExchangeQuery":{"name":"exchange","in":"query","required":true,"description":"Exchange code, the first part of an instrument's identity. With `class` and `instrument` it names exactly one instrument; an unknown combination is a 404 `unknown_instrument` naming it, never an empty page.","schema":{"type":"string","pattern":"^[a-z0-9]{2,8}$"}},"ClassQuery":{"name":"class","in":"query","required":true,"description":"Instrument class, the second part of an instrument's identity.","schema":{"$ref":"#/components/schemas/InstrumentClass"}},"CurrencyQuery":{"name":"currency","in":"query","required":true,"description":"The options' underlying currency: `BASE` for the coin-settled (inverse and quanto) options on that asset, `BASE_USDC` or `BASE_USDT` for the linear options on it settled in that stablecoin. Lower case.","schema":{"type":"string","pattern":"^[a-z]+(_(usdc|usdt))?$"}},"StartTimeTradesQuery":{"name":"start_time","in":"query","required":false,"description":"Inclusive start of the window, ISO 8601 UTC, millisecond precision (finer is a 400). Defaults to `end_time` minus 30 days.","schema":{"type":"string","format":"date-time"}},"EndTimeBlockVolumesQuery":{"name":"end_time","in":"query","required":false,"description":"**Inclusive** end of the window (a recorded exception, see the operation description), ISO 8601 UTC, millisecond precision (finer is a 400). Defaults to now. Must not be before `start_time`.","schema":{"type":"string","format":"date-time"}},"BlockVolumeSortQuery":{"name":"sort","in":"query","required":false,"description":"Order of the options chain (expiry, strike, calls before puts, symbol). Defaults to `asc`.","schema":{"$ref":"#/components/schemas/BlockVolumeSort"}},"PageSizeLargeQuery":{"name":"page_size","in":"query","required":false,"description":"Rows per page. A value above the maximum returns 400, never a silent cap.","schema":{"type":"integer","minimum":1,"maximum":100000,"default":100}},"AfterSymbolQuery":{"name":"after_symbol","in":"query","required":false,"description":"Resume point set by `meta.next_url`: the `symbol` of the last row already returned. The page starts at the instrument after it in chain order, located by `after_symbol` together with `after_expiry`, `after_strike` and `after_put_call`, which carry that instrument's terms as they were when it was returned. Requires `start_time` and `end_time`.","schema":{"type":"string"}},"AfterExpiryQuery":{"name":"after_expiry","in":"query","required":false,"description":"The `expiry` of `after_symbol`, RFC 3339 UTC; set by `meta.next_url`, absent when that row's `expiry` was `null`. Only with `after_symbol`.","schema":{"type":"string","format":"date-time"}},"AfterStrikeQuery":{"name":"after_strike","in":"query","required":false,"description":"The `strike` of `after_symbol`; set by `meta.next_url`, absent when that row's `strike` was `null`. Only with `after_symbol`.","schema":{"$ref":"#/components/schemas/DecimalString"}},"AfterPutCallQuery":{"name":"after_put_call","in":"query","required":false,"description":"The `put_call` of `after_symbol`; set by `meta.next_url`, absent when that row's `put_call` was empty. Only with `after_symbol`.","schema":{"$ref":"#/components/schemas/PutCall"}},"ApiVersionQuery":{"name":"api_version","in":"query","required":false,"description":"Contract version to serve, as a date. Each endpoint serves its newest version released on or before it, so one date pins the whole API. When omitted, the endpoint's oldest version still served is used, so breaking changes only reach clients that raise their date. Append `-preview` (`2027-02-01-preview`) to also be served preview versions, which carry no stability promise. A date in the future, or one resolving to a retired version, returns 400 `unsupported_api_version`. The version served is echoed in `meta.api_version`, and `meta.url` and `meta.next_url` always carry this parameter. No `default` here on purpose: it differs per endpoint, and the request validator would otherwise fill in one date for all of them.","schema":{"type":"string","pattern":"^\\d{4}-\\d{2}-\\d{2}(-preview)?$"}}},"schemas":{"InstrumentClass":{"type":"string","enum":["spot","future","perpetual-future","option","future_combo","option_combo"],"description":"Instrument class, part of an instrument's identity. `future_combo` and `option_combo` are venue-listed combinations of futures or options traded as one instrument."},"BlockVolumeSort":{"type":"string","enum":["asc","desc"],"default":"asc","description":"Order of the options chain."},"DecimalString":{"type":"string","format":"decimal","pattern":"^-?(0|[1-9][0-9]*)(\\.[0-9]+)?$","description":"Exact decimal carried as a string so it never passes through a float. Default for raw market-data values (prices, amounts, volumes).\n"},"PutCall":{"type":"string","enum":["C","P"],"description":"`C` for a call, `P` for a put."},"ListTradeBlockVolumesResponse":{"type":"object","description":"One page of option instruments, in options-chain order.","required":["data","meta"],"properties":{"data":{"type":"array","items":{"$ref":"#/components/schemas/BlockVolume"}},"meta":{"$ref":"#/components/schemas/Meta"}}},"BlockVolume":{"type":"object","description":"The block-traded volume of one option instrument over the window; unique on `symbol` within a response (one `exchange` and `currency` per request).\n\n**Kept exactly as nicole's `/v3/data/analytics/block-trades` record (a recorded exception, rule 14),** so clients migrating from it read the same keys and values: the row does not carry `exchange`, `class` or `currency`, which are one value per request and stay in `meta.url`; the instrument is `symbol`; `put_call` is `C`/`P` and an empty string when the referential lacks it, not `null`; `expiry` is RFC 3339 with only the fractional digits it needs, not fixed milliseconds.","required":["symbol","expiry","strike","put_call","contract_volume","premium_volume"],"properties":{"symbol":{"type":"string","description":"Venue instrument code of the option."},"expiry":{"type":["string","null"],"format":"date-time","description":"Expiry of the option, RFC 3339 UTC with only the fractional-second digits it needs (`2026-10-31T08:00:00Z`), from the instrument referential. `null` when the referential does not report it."},"strike":{"type":["string","null"],"format":"decimal","pattern":"^-?(0|[1-9][0-9]*)(\\.[0-9]+)?$","description":"Strike price, in the quote asset, from the instrument referential. `null` when the referential does not report it."},"put_call":{"type":"string","pattern":"^(C|P)?$","description":"`C` for a call, `P` for a put, from the instrument referential. An empty string when the referential does not report it."},"contract_volume":{"type":["string","null"],"format":"decimal","pattern":"^-?(0|[1-9][0-9]*)(\\.[0-9]+)?$","description":"Block-traded volume over the window, in underlying units: the sum over the legs of the venue amount, rounded to 8 decimals."},"premium_volume":{"type":["string","null"],"format":"decimal","pattern":"^-?(0|[1-9][0-9]*)(\\.[0-9]+)?$","description":"Block-traded premium over the window, in USD, rounded to 8 decimals (formula in the operation description). `null` when the referential does not report how the option settles, or when a leg lacks the index price, contract multiplier or USD rate it needs: never understated."}}},"Meta":{"type":"object","description":"Metadata of a collection response.","required":["api_version","url","count","next_url"],"properties":{"api_version":{"type":"string","pattern":"^\\d{4}-\\d{2}-\\d{2}(-preview)?$","description":"Version this endpoint served: its version released on or before the requested `api_version`, or its oldest version still served when the request omitted it. Suffixed `-preview` when a preview version served it."},"url":{"type":"string","format":"uri","description":"Absolute URL of the request that produced this response, as received: path and query string unchanged, defaults not filled in, except `api_version`, which is always present (the version served when the request omitted it). Lets a stored response say what it answers, in the shape it was answered."},"count":{"type":"integer","minimum":0,"description":"Number of items in `data` on this page."},"next_url":{"type":["string","null"],"format":"uri","description":"Absolute URL of the next page, `null` on the last page. It holds only public parameters: the original query with every default made explicit (`api_version` included) and the time bound moved past the last row, plus the dataset's tie-breaker (`after_<key>`) where timestamps can tie. An operation that pages on another keyset (a block position, a snapshot) says so in its description, and its `next_url` carries that keyset's parameters instead."}}},"Problem":{"type":"object","description":"RFC 9457 problem details. Served as application/problem+json.","required":["type","title","status","code"],"properties":{"type":{"type":"string","format":"uri-reference","const":"about:blank","description":"Always `about:blank`; the reason is carried by `code`."},"title":{"type":"string","description":"HTTP reason phrase."},"status":{"type":"integer","minimum":400,"maximum":599,"description":"HTTP status code, repeated for clients that lose the status line."},"detail":{"type":"string","description":"Human-readable explanation specific to this occurrence. Do not parse it."},"instance":{"type":"string","format":"uri-reference","description":"Request path and request id, to quote to support."},"code":{"type":"string","pattern":"^[a-z][a-z0-9_]*$","description":"Stable machine-readable reason. Clients branch on this. New values are additive; renaming one is breaking. Values in use: invalid_parameter, unsupported_api_version, missing_api_key, invalid_api_key, not_entitled, history_out_of_entitlement, unknown_instrument, pair_not_covered, unknown_asset, unknown_index, unsupported_blockchain, chain_capability_unsupported, token_not_found, unknown_contract, unknown_protocol, unknown_pool, query_too_large, snapshot_expired, resource_not_found, method_not_allowed, not_acceptable, rate_limited, internal_error, service_unavailable."},"errors":{"type":"array","description":"On 400, one entry per invalid parameter.","items":{"$ref":"#/components/schemas/ParameterError"}}}},"ParameterError":{"type":"object","description":"One invalid parameter in a 400 response.","required":["parameter","detail"],"properties":{"parameter":{"type":"string","description":"Name of the offending parameter."},"detail":{"type":"string","description":"What is wrong with it."}}}},"responses":{"BadRequest":{"description":"Invalid parameter, window or API version.","content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}}},"Unauthorized":{"description":"Missing or unknown X-Api-Key.","content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}}},"Forbidden":{"description":"The key is valid but not entitled to this product, instrument or history depth.","content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}}},"NotFound":{"description":"An identity value (instrument, asset, index, chain) or a /reference id does not exist.","content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}}},"NotAcceptable":{"description":"The Accept header excludes application/json.","content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}}},"TooManyRequests":{"description":"Rate limited. Retry after the delay in Retry-After.","headers":{"Retry-After":{"$ref":"#/components/headers/Retry-After"}},"content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}}},"InternalError":{"description":"Unexpected server failure.","content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}}},"ServiceUnavailable":{"description":"A dependency is down or the data is not available yet.","headers":{"Retry-After":{"$ref":"#/components/headers/Retry-After"}},"content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}}}},"headers":{"Retry-After":{"description":"Seconds to wait before retrying.","schema":{"type":"integer","minimum":0}}}},"paths":{"/market-data/trades/block-volumes":{"get":{"operationId":"ListTradeBlockVolumes","tags":["Trades"],"summary":"What is this endpoint for?","description":"Returns the block-traded volume of each option instrument of one underlying currency over a date range, with each instrument's expiry, strike and option type. Only options (`class=option`) are served, and only Deribit (`drbt`) is currently supported.\n**Currency.** `btc` selects the coin-settled (inverse and quanto) options on BTC; `btc_usdc` the linear options on BTC settled in USDC. A `currency` with no option instrument returns `data: []`.\n**Volumes.** `contract_volume` is in underlying units. `premium_volume` is the premium in USD (amount × trade price, converted to USD at the trade's hour). Both are totalled over every block-trade leg in the window and rounded to 8 decimals.\n**Window.** Both bounds are inclusive: `[start_time, end_time]`. When chaining windows, do not reuse one window's `end_time` as the next one's `start_time`, or a leg traded at exactly that instant is counted twice. There is no maximum window.\n**Rows.** One row per option instrument block-traded in the window, in options-chain order (expiry, strike, calls before puts, symbol).\n**Order and pagination.** `page_size` counts instruments. Every page totals over the same window. Follow `meta.next_url` for the next page.\n","parameters":[{"$ref":"#/components/parameters/ExchangeQuery"},{"$ref":"#/components/parameters/ClassQuery"},{"$ref":"#/components/parameters/CurrencyQuery"},{"$ref":"#/components/parameters/StartTimeTradesQuery"},{"$ref":"#/components/parameters/EndTimeBlockVolumesQuery"},{"$ref":"#/components/parameters/BlockVolumeSortQuery"},{"$ref":"#/components/parameters/PageSizeLargeQuery"},{"$ref":"#/components/parameters/AfterSymbolQuery"},{"$ref":"#/components/parameters/AfterExpiryQuery"},{"$ref":"#/components/parameters/AfterStrikeQuery"},{"$ref":"#/components/parameters/AfterPutCallQuery"},{"$ref":"#/components/parameters/ApiVersionQuery"}],"responses":{"200":{"description":"One page of option instruments, in options-chain order.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ListTradeBlockVolumesResponse"}}}},"400":{"$ref":"#/components/responses/BadRequest"},"401":{"$ref":"#/components/responses/Unauthorized"},"403":{"$ref":"#/components/responses/Forbidden"},"404":{"$ref":"#/components/responses/NotFound"},"406":{"$ref":"#/components/responses/NotAcceptable"},"429":{"$ref":"#/components/responses/TooManyRequests"},"500":{"$ref":"#/components/responses/InternalError"},"503":{"$ref":"#/components/responses/ServiceUnavailable"}}}}}}
```


---

# Agent Instructions
This documentation is published with GitBook. GitBook is the documentation platform designed so that both humans and AI agents can read, navigate, and reason over technical content effectively. Learn more at gitbook.com.

## Querying This Documentation
If you need additional information that is not directly available in this page, you can query the documentation by asking a question.

Perform an HTTP GET request on the following URL with the `ask` and `goal` query parameters:

```
GET https://docs.kaiko.com/rest-api/cefi-derivatives-markets/market-data/block-volumes.md?ask=<question>&goal=<user_goal>
```

`ask` is the immediate question: it should be specific, self-contained, and written in natural language.
`goal` is what the user is ultimately trying to achieve, the reason they need the answer. Sharing it helps GitBook give you a better, more relevant answer. A goal is most helpful when it describes the outcome the user wants rather than restating the question. For example, with `ask=how do I create an API token`, a goal like `automate deployments from our CI pipeline` lets GitBook tailor the answer to that use case.

The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
