---
title: "Get Option Contract"
method: GET
path: "/api/option/contract"
tags: ["Market Data"]
---

# Get Option Contract

`GET /api/option/contract`

## Request

- Base URL: `https://api.zerogex.io` (the document declares no server; this is the origin it was published from)
- URL: `https://api.zerogex.io/api/option/contract`
- Auth: HTTP bearer

Returns all rows for the specified option contract. On a trading day at
or after 09:30 ET, returns the current day's session; before the 09:30 ET
open, or on a non-trading day (weekend / NYSE holiday), returns the most
recent cash session prior to now.

Rows are returned newest-first so ``response[0]`` is the most recent
1-minute bar.

## Query parameters

- `underlying` string, required: Underlying symbol, e.g. SPY
- `strike` number, required: Strike price
- `expiration` string, required: Expiration date (YYYY-MM-DD)
- `option_type` 'C' | 'P', required: Option type: C or P

## Response `200`

Successful Response

- OptionContractRow[]
  - `timestamp` string, date-time, required
  - `underlying` string, required
  - `strike` string, required
  - `expiration` string, date, required
  - `option_type` string, required
  - `last` string, nullable
  - `bid` string, nullable
  - `ask` string, nullable
  - `mid` string, nullable
  - `volume` integer, nullable
  - `volume_delta` integer, nullable
  - `open_interest` integer, nullable
  - `ask_volume` integer, nullable
  - `mid_volume` integer, nullable
  - `bid_volume` integer, nullable
  - `implied_volatility` string, nullable
  - `delta` string, nullable
  - `gamma` string, nullable
  - `theta` string, nullable
  - `vega` string, nullable
  - `updated_at` string, date-time, nullable

## Other responses

- `422`: Validation Error

---

[API](https://skmtc.dev/zerogex/apis/zerogex-api.md) · [All operations](https://skmtc.dev/zerogex/apis/zerogex-api/llms.txt) · [OpenAPI document](https://skmtc.dev/zerogex/apis/zerogex-api/revisions/753b26bf0592?raw)
