> 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/gex-gamma-exposure/gamma-exposure-snapshots.md). Agents can also search and read this documentation through its [MCP server](https://docs.kaiko.com/~gitbook/mcp).

# Gamma exposure snapshots

{% hint style="info" %}

### This data is available as an add-on for the following Kaiko packages:

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

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

## What is this endpoint for?

> Gamma exposure helps anticipate where market makers are likely to steady the market, and where they may amplify its moves. Market makers (the dealers) offset the risk of their options by trading the underlying. When they are long gamma, they have to buy the dips and sell the rallies to stay hedged, which tends to calm the market; when they are short gamma, they have to sell into falls and buy into rises, which tends to fuel volatility. Hour by hour, this endpoint estimates how many contracts market makers hold in every traded option of one underlying on one exchange, along with the gamma that position carries.\
> \
> The starting point is the direction of each trade. Kaiko's proprietary direction algorithm reads the order book just before every trade to identify who initiated it, with a market maker usually on the other side, and the dealers' inventory builds up from every trade since the option was listed. From there, Kaiko calculates and maintains a database of market makers' gamma exposure, option by option and hour by hour. For a single number for the whole book, see Gamma exposure normalized in USD.\
> \
> {% hint style="warning" %}\
> The time range can cover up to 24 hours with \`1h\` and 31 days with \`1d\`, and a response up to 100,000 rows. A wider range, or a range holding more rows, returns a 400 error: the range is never shortened automatically.\
> {% endhint %}

```json
{"openapi":"3.1.1","info":{"title":"Kaiko API","version":"2026-10-01"},"tags":[{"name":"Trades flow","description":"Options trades flow: the trades of listed crypto options, decorated with the order book around each trade, and the analytics derived from them; and the option prints of US-listed equities and ETFs, decorated with the quotes, greeks and implied volatility around each one, their most traded options and the contracts traded per session and option."}],"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":{"OptionExchangeQuery":{"name":"exchange","in":"query","required":true,"description":"Exchange listing the options, part of the underlying's identity with `base_asset` and `quote_asset`.","schema":{"$ref":"#/components/schemas/OptionExchange"}},"BaseAssetQuery":{"name":"base_asset","in":"query","required":true,"description":"Base asset code.","schema":{"type":"string","pattern":"^[a-z0-9][a-z0-9._-]*$"}},"InverseDefaultQuoteAssetQuery":{"name":"quote_asset","in":"query","required":false,"description":"Quote and settlement currency of the options, `usd` by default: `usd` selects the inverse options, `usdc` or `usdt` the linear ones.","schema":{"type":"string","pattern":"^[a-z0-9][a-z0-9._-]*$","default":"usd"}},"GammaExposuresSnapshotsIntervalQuery":{"name":"interval","in":"query","required":false,"description":"Which snapshot hours of a window are served, `1h` by default: `1h` every hour, `1d` the 00:00 UTC one. Also sets the default and maximum window (24 hours or 31 days). Ignored without `start_time` and `end_time`: the latest snapshot hour is served.","schema":{"$ref":"#/components/schemas/GammaExposuresSnapshotsInterval"}},"StartTimeQuery":{"name":"start_time","in":"query","required":false,"description":"Inclusive start of the window, ISO 8601 UTC. The endpoint documents its precision and its default when omitted; a nanosecond endpoint accepts any precision from seconds to nanoseconds.\n","schema":{"type":"string","format":"date-time"}},"EndTimeQuery":{"name":"end_time","in":"query","required":false,"description":"Exclusive end of the window, ISO 8601 UTC, at the precision the endpoint documents. Defaults to now. Must be after `start_time`.\n","schema":{"type":"string","format":"date-time"}},"SortQuery":{"name":"sort","in":"query","required":false,"description":"Order on the time axis.","schema":{"$ref":"#/components/schemas/Sort"}},"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":{"OptionExchange":{"type":"string","enum":["drbt","okex","bbit"],"description":"Kaiko code of an options exchange: `drbt` (Deribit), `okex` (OKX), `bbit` (Bybit)."},"GammaExposuresSnapshotsInterval":{"type":"string","enum":["1h","1d"],"default":"1h","description":"Snapshot sampling of the gamma exposure snapshots: every hour, or the 00:00 UTC hour of each day."},"Sort":{"type":"string","enum":["asc","desc"],"default":"desc","description":"Order on the time axis."},"ListTradesFlowGammaExposuresSnapshotsResponse":{"type":"object","description":"The snapshot rows, in `sort` order on `timestamp` and ascending `instrument` within an hour.","required":["data","meta"],"properties":{"data":{"type":"array","items":{"$ref":"#/components/schemas/GammaExposureSnapshot"}},"meta":{"$ref":"#/components/schemas/Meta"}}},"GammaExposureSnapshot":{"type":"object","description":"One traded option's dealer inventory and gamma at one snapshot hour. Unique on (`exchange`, `instrument`, `timestamp`). Every key is present on every row.","required":["exchange","base_asset","quote_asset","timestamp","instrument","expiry","strike","option_type","dealer_net_inventory","dealer_total_inventory","gamma_level","index_price"],"properties":{"exchange":{"$ref":"#/components/schemas/OptionExchange"},"base_asset":{"type":"string","description":"Underlying asset code, as in the query."},"quote_asset":{"type":"string","description":"Quote and settlement currency of the options, as in the query (`usd` for inverse options)."},"timestamp":{"type":"string","format":"date-time","description":"The snapshot hour, at :00. ISO 8601 UTC, millisecond precision."},"instrument":{"type":"string","description":"Kaiko instrument code of the option."},"expiry":{"type":"string","format":"date-time","description":"Expiry of the option. ISO 8601 UTC, millisecond precision."},"strike":{"type":["number","null"],"format":"double","description":"Strike price, in the quote currency of the underlying's index (USD for inverse options). `null` when not reported: the instrument code carried none."},"option_type":{"$ref":"#/components/schemas/OptionType"},"dealer_net_inventory":{"type":["number","null"],"format":"double","description":"Net contracts dealers hold in the option, from the signed flow of every trade since the instrument's first one, capped so its magnitude never exceeds `dealer_total_inventory`. Positive when dealers are net long. `null` when it cannot be computed."},"dealer_total_inventory":{"type":["number","null"],"format":"double","description":"The option's open interest in contracts, signed by the side that dominates the cumulative dealer flow. `null` when the open interest is not reported."},"gamma_level":{"type":["number","null"],"format":"double","description":"`dealer_total_inventory` times the option's latest published gamma: the dealers' gamma exposure in the option, signed as `dealer_total_inventory`. `null` when the gamma or the open interest is not reported."},"index_price":{"type":["number","null"],"format":"double","description":"Index price recorded with the option's latest ticker, in USD. `null` when not reported."}}},"OptionType":{"type":"string","enum":["call","put","unknown"],"description":"Kind of the option. Never `null`: `unknown` when the source holds a value that is neither call nor put (none does today); the row is still served."},"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"}}}},"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":{"/analytics/trades-flow/gamma-exposures-snapshots":{"get":{"operationId":"ListTradesFlowGammaExposuresSnapshots","tags":["Trades flow"],"summary":"What is this endpoint for?","description":"Gamma exposure helps anticipate where market makers are likely to steady the market, and where they may amplify its moves. Market makers (the dealers) offset the risk of their options by trading the underlying. When they are long gamma, they have to buy the dips and sell the rallies to stay hedged, which tends to calm the market; when they are short gamma, they have to sell into falls and buy into rises, which tends to fuel volatility. Hour by hour, this endpoint estimates how many contracts market makers hold in every traded option of one underlying on one exchange, along with the gamma that position carries.\n\nThe starting point is the direction of each trade. Kaiko's proprietary direction algorithm reads the order book just before every trade to identify who initiated it, with a market maker usually on the other side, and the dealers' inventory builds up from every trade since the option was listed. From there, Kaiko calculates and maintains a database of market makers' gamma exposure, option by option and hour by hour. For a single number for the whole book, see Gamma exposure normalized in USD.\n\n{% hint style=\"warning\" %}\nThe time range can cover up to 24 hours with `1h` and 31 days with `1d`, and a response up to 100,000 rows. A wider range, or a range holding more rows, returns a 400 error: the range is never shortened automatically.\n{% endhint %}","parameters":[{"$ref":"#/components/parameters/OptionExchangeQuery"},{"$ref":"#/components/parameters/BaseAssetQuery"},{"$ref":"#/components/parameters/InverseDefaultQuoteAssetQuery"},{"$ref":"#/components/parameters/GammaExposuresSnapshotsIntervalQuery"},{"$ref":"#/components/parameters/StartTimeQuery"},{"$ref":"#/components/parameters/EndTimeQuery"},{"$ref":"#/components/parameters/SortQuery"},{"$ref":"#/components/parameters/ApiVersionQuery"}],"responses":{"200":{"description":"The latest snapshot hour, or every snapshot of the window at `interval` in `sort` order, or an empty `data` when there is none (or the underlying is unknown); `meta.next_url` is always `null`.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ListTradesFlowGammaExposuresSnapshotsResponse"}}}},"400":{"$ref":"#/components/responses/BadRequest"},"401":{"$ref":"#/components/responses/Unauthorized"},"403":{"$ref":"#/components/responses/Forbidden"},"404":{"description":"The underlying (`base_asset`, `quote_asset`) was never held on `exchange`.","content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}}},"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/gex-gamma-exposure/gamma-exposure-snapshots.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.
