I think the futures_coin_open_interest_hist is broken, when supplying startTime and endTime I get an error that the timestamp is invalid.
from binance import Client, ThreadedWebsocketManager, ThreadedDepthCacheManager
client = Client(api_key, api_secret)
ts = client._get_earliest_valid_timestamp('BTCUSDT', '1d')
data = client.futures_coin_open_interest_hist(pair='BTCUSDT',
contractType='ALL',
period='1d', startTime=ts, endTime=1660485474)