Yes! Using Density for a real-time use case is easy with Websockets.
Websockets allow you to open a secure connection to our server and stream count data and events (entrances and exits) in real-time to your application.
This approach is the preferred method versus polling the API every few seconds.
Head to https://docs.density.io/v2/#websockets-introduction to get started.