Monitoring Open Interest from Deribit, using ccxt
You can gather OI from website such as https://www.coinoptionstrack.com/options/BTC/open-interest
You can also fetch this progammatically using Deribit’s API “get_book_summary_by_instrument”.
Why would you want to do that? For starter, you can use this data and discover, if options OI from Deribit is a decent predictor of BTC/USDT price trend on next-day-basis.
“summeries” looks like this:

Notice the API will return data with expiry starting “Today”. If you need back-test and calculate correlation between Deribit OI vs BTC/USDT, you’d need accumulate this data for some duration of time.