Latency is exist to get ticker prices in binance futures market

Hello, I want to use rest api to get the price from Binance every second. But I check when I get the price, it’s always delayed from server time or my local computer time.

The problem also occurs when i get a ticker price using the python-binance library.

What should I do??

Explore the Websocket version to get the price, for example by using the <symbol>@ticker endpoint at Binance API Documentation, where last price is what you’re looking for.
Due to different connection structure layers, WebSocket is advised for lower latency.