Documentation

Get option's expiration dates

Get an option's expiration dates.

Endpoint

Method
GET
URL
/v1/markets/options/expirations

Headers

Accept
application/xml, application/json, application/javascript
Default: application/xml
Required: false
Authorization
Bearer {access token}
Required: true

Form Parameters

symbol
The requested symbol
Required: true

Response

Field Description
date An ISO representation of the expiration date in YYYY-MM-DD.

Example

Command

$ curl -H "Authorization: Bearer {access token}" https://api.tradier.com/v1/markets/options/expirations

Request

GET /v1/markets/options/expirations?symbol=msft HTTP/1.1
Host: api.tradier.com
Accept: application/xml
Authorization: Bearer 098f6bcd4621d373cade4e832627b4f6
Content-Type: application/x-www-form-urlencoded
User-Agent: curl/7.24.0 (x86_64-apple-darwin12.0) libcurl/7.24.0 OpenSSL/0.9.8r zlib/1.2.5

Response

HTTP/1.1 200 OK
Content-Type: application/xml;charset=utf-8
X-Ratelimit-Allowed: 120
X-Ratelimit-Used: 1
X-Ratelimit-Available: 119
X-Ratelimit-Expiry: 1369164360001

<?xml version="1.0" encoding="UTF-8"?>
<expirations>
  <date>2014-05-30</date>
  <date>2014-06-06</date>
  <date>2014-06-13</date>
  <date>2014-06-21</date>
  <date>2014-06-27</date>
  <date>2014-06-30</date>
  <date>2014-07-03</date>
  <date>2014-07-19</date>
  <date>2014-08-16</date>
  <date>2014-09-20</date>
  <date>2014-09-30</date>
  <date>2014-10-18</date>
  <date>2014-12-20</date>
  <date>2014-12-31</date>
  <date>2015-01-17</date>
  <date>2015-03-20</date>
  <date>2015-03-31</date>
  <date>2015-06-19</date>
  <date>2015-12-19</date>
  <date>2016-01-15</date>
  <date>2016-12-16</date>
</expirations>

Tradier Inc. and its corresponding technology services (including API services) are distinct and separate from the services provided by Tradier Brokerage Inc. For more information regarding the services of Tradier, Inc., please contact techsupport@tradier.com. For more information regarding the services of Tradier Brokerage, Inc. please contact service@tradierbrokerage.com. Tradier Brokerage Inc. Member FINRA/SIPC

© 2017 Tradier Inc.
  • 11016 Rushmore Drive, Suite 350
  • Charlotte, NC 28277

All materials contained on this site and specifically the API documentation pages are protected by United States copyright law and may not be copied, reproduced, distributed, transmitted, displayed, published or broadcast without the prior written permission of Tradier Inc. The Structure, Format, Layout, Examples and Design of the pages are owned by Tradier Inc, and any efforts to willfully or accidently duplicate a whole or part of the pages on this site is a violation of United States copyright law.