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

The user_id is the broadcaster_id

Different labels are used to help describe relationships between resources and entities