Most (if not all) API endpoints are cached to handle the heavy load, so I don’t think hitting it every 5 seconds makes a lot of sense. I don’t think there is an official way around that. I think there may be a PubSub topic that does that, but I’m not using it myself so I’m not sure if it works, and if it does it’s not documented/supported.
Both the answers above are correct. We cache heavily for performance reasons and there is no supported way around it. Our caches are anywhere from 1 - 3 minutes, so you are unlikely to get a new response hitting the endpoint every 5 seconds.