Getting rates by Dapi using Kline and pairs

I need to get historical data for Dapi. Kline request requires symbol as a parameter. But how I get symbols for that period? Let’s say I need to get BTC to USD rate. But, BTCUSDis a pair, not symbol. In Dapi symbols look like BTCUSD_220930… How I can get which symbol I have to use for particular date?

https://binance-docs.github.io/apidocs/delivery/en/#continuous-contract-kline-candlestick-data
Please check this endpoint, which is allowed to get kline by pair.

1 Like

Yes, already found it. And also another one indexPriceKlines which I decided to use for my needs.