Is it possible to get the current playing audio metadata?

In one's app, it is possible to set the Current Track and Current Artist to be displayed on the Multitasking UI. I'm wondering if there is a way to instead access this information. It must be possible, as in most cars it can display the track title and artist name even from services like Spotify and Soundcloud. As well, Siri can tell you what song is currently playing even from third-party apps. Thank you!