Market Data

Get Option Contract

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.

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

Query parameters

underlyingstring required

Underlying symbol, e.g. SPY

strikenumber required

Strike price

expirationstring required

Expiration date (YYYY-MM-DD)

option_type'C' | 'P' required

Option type: C or P

Response

Successful Response

timestampstring date-time required
underlyingstring required
strikestring required
expirationstring date required
option_typestring required
laststring nullable
bidstring nullable
askstring nullable
midstring nullable
volumeinteger nullable
volume_deltainteger nullable
open_interestinteger nullable
ask_volumeinteger nullable
mid_volumeinteger nullable
bid_volumeinteger nullable
implied_volatilitystring nullable
deltastring nullable
gammastring nullable
thetastring nullable
vegastring nullable
updated_atstring date-time nullable

Changes

No recorded changes to this operation across all 1 revision of this API.