How to find out if a channel is live using the API?

Call Get Streams

If the channel is live you get an array with data
If the channel is not live you get an empty data array