Identify a song using the Shazam app on headphones or earphones
Use Shazam to identify music when you’re wearing headphones or earphones that are paired with your iPhone, iPad, or Android device (or connected to it with a cable). Shazam can identify not only the music you’re listening to on your headphones or earphones, but also the music playing around you.

To ensure the best experience, make sure the Shazam app has access to your device’s microphone.
Note: Shazam can’t identify songs through headphones or earphones when you’re not connected to the internet.