Retrieving Margin Borrow Interest for a particular symbol

Is there a particular endpoint for retrieving the Margin Borrow Interest for a particular symbol prior to its trade, i.e. before any market order takes place? It is needed for an initializing some calculations…

https://binance-docs.github.io/apidocs/spot/en/#query-cross-margin-fee-data-user_data
https://binance-docs.github.io/apidocs/spot/en/#query-isolated-margin-fee-data-user_data

These are endpoints for querying interest rates for cross and isolated margin respectively.

Thank you! Seems these are new…
Forgive my ignorance, but any idea of the method used in Python?
Thanks in advance.

Which python library are you using? i would suggest using the official one (GitHub - binance/binance-connector-python: a simple connector to Binance Public API) as the endpoints will be constantly updated.