latest funding rate

how to get the latest Funding rate from finance, I have tried with the below API, but I still got the usual 8-hour funding rate data, but I need to get the exact data at the time of request which we usually see in binance app or website futures funding rate

const timestamp = Date.now();

const signature = crypto
.createHmac(“sha256”, process.env.TEST_NET_API_SECRET)
.update(timestamp=${timestamp})
.digest(“hex”);

const url = ${baseUrl}/fapi/v1/fundingRate? timestamp=${timestamp}&signature=${signature};

Unfortunately I don’t think it’s supported by API .