The API is cached, and requesting the same resource excessively fast (such as every second) you run the risk of hitting a fresh cache on one request, and a stale cache on a subsequent request, which is why it may appear they are going online/offline.
It is recommended to not poll for the same data faster than once per minute.