> For the full documentation index, see: https://massive.com/docs/llms.txt

# REST
## Options

### Exposure by Underlying

**Endpoint:** `GET /options/v1/analytics/underlying`

**Description:**

Retrieve daily options analytics rolled up across each underlying's full chain: open
interest with calls and puts split out, the put/call ratio, net gamma exposure, delta
exposure, and the call and put walls. Each record totals every root on the underlying
for one trading day, counting only standard contracts that deliver 100 shares. Filter
by `underlying_ticker`, and by `date` for a single day or a date range.

The `date` field is the trading session each figure is for. Open interest is published
each morning for the prior session; the Greeks-based exposure values are measured 15
minutes before the close on that session.

Use Cases: Gamma and delta exposure analysis, dealer positioning, call/put wall
levels, market-wide options positioning, options flow modeling.

## Query Parameters

| Parameter | Type | Required | Description |
| --- | --- | --- | --- |
| `underlying_ticker` | string | No | The ticker of the underlying asset (e.g., AAPL). The values cover every root on the underlying asset. |
| `underlying_ticker.any_of` | string | No | Filter equal to any of the values. Multiple values can be specified by using a comma separated list. |
| `date` | string | No | The trading date the values apply to (formatted as YYYY-MM-DD). Open interest is as published the morning of date, for the prior trading day's close. Greeks are from 15 minutes before the close on date. Value must be formatted 'yyyy-mm-dd'. |
| `date.gt` | string | No | Filter greater than the value. Value must be formatted 'yyyy-mm-dd'. |
| `date.gte` | string | No | Filter greater than or equal to the value. Value must be formatted 'yyyy-mm-dd'. |
| `date.lt` | string | No | Filter less than the value. Value must be formatted 'yyyy-mm-dd'. |
| `date.lte` | string | No | Filter less than or equal to the value. Value must be formatted 'yyyy-mm-dd'. |
| `limit` | integer | No | Limit the maximum number of results returned. Defaults to '100' if not specified. The maximum allowed limit is '50000'. |
| `sort` | string | No | A comma separated list of sort columns. For each column, append '.asc' or '.desc' to specify the sort direction. The sort column defaults to 'date' if not specified. The sort order defaults to 'desc' if not specified. |
| `fields` | string | No | A comma-separated list of fields to return for each result (e.g. `call_wall,date,delta_exposure`). If omitted, all fields are returned. When set, each result contains only the fields you list; every other field is dropped, even fields a full response always includes. Nested fields can be specified using dot notation (for example, `parent.child`). |

## Response Formats

This endpoint returns JSON by default, and Apache Arrow when the request sends `Accept: application/vnd.apache.arrow.file`. The Arrow body has no `next_url`; to page through results, read the next page's URL from the `Link` response header (`rel="next"`).

## Response Attributes

| Field | Type | Description |
| --- | --- | --- |
| `next_url` | string | If present, this value can be used to fetch the next page. |
| `request_id` | string | A request id assigned by the server. |
| `results` | array[object] | The results for this request. |
| `results[].call_wall` | number | The strike price at or above underlying_price with the largest call gamma exposure, summed over all expiration dates. If strike prices tie, the one nearest underlying_price. Null if no call contract at or above underlying_price has gamma exposure. |
| `results[].date` | string | The trading date the values apply to (formatted as YYYY-MM-DD). Open interest is as published the morning of date, for the prior trading day's close. Greeks are from 15 minutes before the close on date. |
| `results[].delta_exposure` | number | Delta exposure in dollars: the sum of open interest x 100 x delta x underlying_price. Put deltas are negative. Null if no contract has Greeks. |
| `results[].excluded_open_interest` | integer | Open interest of binary options and of the contracts that do not have a standard deliverable of 100 shares, for example contracts adjusted after a corporate action. These contracts are not in any other field. |
| `results[].gamma_exposure` | number | Net gamma exposure in dollars per 1% move of the underlying price: the sum of open interest x 100 x gamma x underlying_price² x 0.01, with calls positive and puts negative. Null if no contract has Greeks. |
| `results[].gamma_exposure_calls` | number | Gamma exposure of the call contracts (positive). Null if no call contract has Greeks. |
| `results[].gamma_exposure_puts` | number | Gamma exposure of the put contracts (negative). Null if no put contract has Greeks. |
| `results[].gamma_flip` | number | The price where the running sum of net gamma exposure changes sign. The sum runs over the strike prices from the lowest up, and the price is interpolated linearly between the two adjacent strike prices. If the sum changes sign more than once, the crossing nearest underlying_price. Strike prices without gamma exposure are skipped. Null if the sum does not change sign. |
| `results[].open_interest` | integer | Total open interest of the standard (not binary) contracts with a standard deliverable of 100 shares. |
| `results[].open_interest_calls` | integer | Total open interest of the standard (not binary) call contracts with a standard deliverable of 100 shares. |
| `results[].open_interest_puts` | integer | Total open interest of the standard (not binary) put contracts with a standard deliverable of 100 shares. |
| `results[].open_interest_with_greeks` | integer | Open interest of the contracts that count in the exposure values: contracts with open interest above 0 and a gamma and a delta. |
| `results[].put_call_ratio` | number | open_interest_puts divided by open_interest_calls. Null if there is no call open interest. |
| `results[].put_wall` | number | The strike price at or below underlying_price with the most negative put gamma exposure, summed over all expiration dates. If strike prices tie, the one nearest underlying_price. Null if no put contract at or below underlying_price has gamma exposure. |
| `results[].underlying_price` | number | The underlying price used for the Greeks: the last SIP trade, or the last published index value, at or before 15 minutes before the close. Null if no contract has Greeks. |
| `results[].underlying_ticker` | string | The ticker of the underlying asset (e.g., AAPL). The values cover every root on the underlying asset. |
| `status` | enum: OK | The status of this request's response. |

## Sample Response

```json
{
  "request_id": "5e2b7c9d1a4f4e8b9c3d6a0f2b8e1d7c",
  "results": [
    {
      "call_wall": 350,
      "date": "2026-10-29",
      "delta_exposure": 42543166702.46,
      "excluded_open_interest": 0,
      "gamma_exposure": 1447588925.97,
      "gamma_exposure_calls": 2437000732.98,
      "gamma_exposure_puts": -989411807.01,
      "gamma_flip": 348.11,
      "open_interest": 4888327,
      "open_interest_calls": 2667328,
      "open_interest_puts": 2220999,
      "open_interest_with_greeks": 4604696,
      "put_call_ratio": 0.8327,
      "put_wall": 345,
      "underlying_price": 349.5103,
      "underlying_ticker": "AAPL"
    },
    {
      "call_wall": 600,
      "date": "2026-10-29",
      "delta_exposure": 41932960361.16,
      "excluded_open_interest": 0,
      "gamma_exposure": 463709891.37,
      "gamma_exposure_calls": 786519563.56,
      "gamma_exposure_puts": -322809672.19,
      "gamma_flip": 548.65,
      "open_interest": 2598431,
      "open_interest_calls": 1592013,
      "open_interest_puts": 1006418,
      "open_interest_with_greeks": 2502487,
      "put_call_ratio": 0.6322,
      "put_wall": 500,
      "underlying_price": 563.56,
      "underlying_ticker": "AMD"
    }
  ],
  "status": "OK"
}
```


## Plan Access

**Plan Access:** Included in select Options plans

#### Individual Plans

| Plan | Access |
| --- | --- |
| Options Basic | Not included |
| Options Starter | Not included |
| Options Developer | Not included |
| Options Advanced | Included |

#### Business Plans

| Plan | Access |
| --- | --- |
| Options Business | Not included |
| Options Exposure Business | Included |

## Plan Recency

**Plan Recency:** End-of-day (updated daily)

#### Individual Plans

| Plan | Recency |
| --- | --- |
| Options Basic | Not included |
| Options Starter | Not included |
| Options Developer | Not included |
| Options Advanced | End-of-day |

#### Business Plans

| Plan | Recency |
| --- | --- |
| Options Business | Not included |
| Options Exposure Business | End-of-day |

## Plan History

**Plan History:** Records date back to September 1, 2022

#### Individual Plans

| Plan | History |
| --- | --- |
| Options Basic | Not included |
| Options Starter | Not included |
| Options Developer | Not included |
| Options Advanced | All history |

#### Business Plans

| Plan | History |
| --- | --- |
| Options Business | Not included |
| Options Exposure Business | All history |
