502 Bad Gateway on API call

I believe the current twitch api can handle this, but it looks like you need justin.tv as well. is this correct?