Check Streamer is Online

Seems like you’re not sending a client-id in your request which is required since August (see Client-ID Requirement FAQs)

Also, there’s no “onair” attribute in the channels response
If you wanna check whether a stream is online or not use the /streams endpoint and check the “stream” attribute
The stream is offline when it’s null. Otherwise it has data