FYI: I believe a close estimation to the proper interest rates for SPX is the similar term LIBOR rate, so if you are working on a 30DTE option, then the 1M may be close approximation. Seems it is avail via RTD as =RTD("tos.rtd", , "LAST", "USD1MTD156N:FRED")
. USD3MTD156N:FRED If 90day, etc...