Finding Options Chains
We will locate conids for equity options as an example.
Step 1, Obtaining Underlier Conid and Contract Months
First, we’ll want to capture the conid of the underlying equity.
GET https://api.ibkr.com/v1/api/iserver/secdef/search?symbol=AAPL&secType=STK 200 OK
We’ve received more than one matching result, and we will need to filter for the desired AAPL (trading in USD in the United States) stock record.
From this response we should capture two values:
- The AAPL’s
conid("conid": "265598") - In the
"secType": "OPT"section, the semicolon-separated list of options contract months ("months": "OCT24;NOV24;...;JAN27")
Step 2, Obtaining Valid Strike Values
Next, we need to query for valid strike values.
Separate lists are always returned for Calls and Puts, in case strike values differ according to right.
Step 3, Obtaining Option Contract Conids
Finally, we’ll make a series of queries for records for tradable option contract instruments.
To obtain all possible conids, we must make one request for each combination of Contract Month and Strike value. Note that it is possible that a given Strike value has no tradable options in a given Contract Month, in which case the response will be empty.
Note that below we’ve received four options contract records, because there are two expirations with the month of October.

