How to get the current "Borrow Rate" of a stock?

Hi there!

Alpaca documentation ( has information about ETB/HTB classification, as well as the fee range (0.3 to 3%) for ETB stocks.

It is good, but not enough to me. Before doing a “short selling” of a stock, I would like to know its “borrow rate” at that moment. Programatically would be better!

Where/how to get this piece of information?

thanks in advance!