GET /v1/options/quotes/{optionSymbol}/
Changed onGet a current or historical end of day quote for an options contract.
Request
- Base URLhttps://api.marketdata.app (the document declares no server; this is the origin it was published from)
- Auth
- API key in query parameter token
- or HTTP bearer
- or none
- TypeScriptA function with typed inputs. Its response is checked against the schema.
Path parameters
The option symbol (as defined by the OCC) for the option you wish to lookup. Use the current OCC option symbol format, even for historic options that quoted before the format change in 2010.
Query parameters
The format parameter is used to specify the format for your data. We support JSON and CSV formats. The default format is JSON.
Use to lookup a historical end of day quote from a specific trading day. If no date is specified the quote will be the most current price available during market hours. When the market is closed the quote will be from the last trading day. Accepted date inputs: ISO 8601, unix, spreadsheet.
Use to lookup a series of end of day quotes. From is the oldest (leftmost) date to return (inclusive). If from/to is not specified the quote will be the most current price available during market hours. When the market is closed the quote will be from the last trading day. Accepted date inputs: ISO 8601, unix, spreadsheet.
Use to lookup a series of end of day quotes. To is the newest (rightmost) date to return (exclusive). If from/to is not specified the quote will be the most current price available during market hours. When the market is closed the quote will be from the last trading day. Accepted date inputs: ISO 8601, unix, spreadsheet.
Countback will fetch a number of quotes before (to the left of) to. If you use from, countback is not required.
The dateformat parameter allows you specify the format you wish to receive date and time information in.
The limit parameter allows you to limit the number of results for a particular API call or override an endpoint's default limits to get more data.
The offset parameter is used together with limit to allow you to implement pagination in your application. Offset will allow you to return values starting at a certain value.
The headers parameter is used to turn off headers when using CSV output.
The columns parameter is used to limit the results and only request the columns you need. The most common use of this feature is to embed a single numeric result from one of the end points in a spreadsheet cell.
Use human-readable attribute names in the JSON or CSV output instead of the standard camelCase attribute names.
Response
Every field is present on a request without columns. columns returns only the listed fields, in the listed order, and human=true renames them. With format=csv the same fields come as CSV, where a null value is an empty cell; CSV is served with 200 even when the data comes from the cache.
Changes
- breaking
added to the
/////response propertyoneOflist for the response status - breaking
added to the
/////response propertyoneOflist for the response status - breaking
added to the
/////response propertyoneOflist for the response status - breaking
added to the
/////response propertyoneOflist for the response status - breaking
added to the
/////response propertyoneOflist for the response status - breaking
added to the
/////response propertyoneOflist for the response status - info
removed from the
/////response propertyallOflist for the response status - info
removed from the
/////response propertyallOflist for the response status - info
removed from the
/////response propertyallOflist for the response status - info
removed from the
/////response propertyallOflist for the response status - info
removed from the
/////response propertyallOflist for the response status - info
removed from the
/////response propertyallOflist for the response status
- breaking
- info
added to the
/////response propertyallOflist for the response status - info
added to the
/////response propertyallOflist for the response status - info
added to the
/////response propertyallOflist for the response status - info
added to the
/////response propertyallOflist for the response status - info
added to the
/////response propertyallOflist for the response status - info
added to the
/////response propertyallOflist for the response status - info
removed from the
/////response propertyoneOflist for the response status - info
removed from the
/////response propertyoneOflist for the response status - info
removed from the
/////response propertyoneOflist for the response status - info
removed from the
/////response propertyoneOflist for the response status - info
removed from the
/////response propertyoneOflist for the response status - info
removed from the
/////response propertyoneOflist for the response status
- info