youtube-dl
This is technically possible and very easy to do with youtube-dl. Note: this isn't an "api". This isn't supported by Google, and it technically may be against there TOS. I assume if you have access in North Korea, that it's totally legal.
# Download the stream and extract the audio.
youtube-dl -x
# If you just need the url you can use
youtube-dl -x --get-url