How do I obtain historical option implied volatility data via API?

It is possible to retrieve historical option implied volatility data using the EClient.reqHistoricalData() function. To request this data, a whatToShow parameter value of OPTION_IMPLIED_VOLATILITY must be specified. For more information:

Please Note

  • Option implied volatility data must be requested for the underlying instrument (e.g. SPX index), rather than the individual option contracts.
Powered by IBot
How do I obtain historical data via API?
How can I download historical data from outside regular trading hours using the TWS API ?
How can I download option chain historical data with API?
Are stock loan borrow rates available via the API?