In search of less latency, while going through the GDAX's API, back when Coinbase Pro was GDAX, I stumbled upon their Websocket API. With the API, you could keep a copy of the order book in memory ready for query instead of pinging the server for information.