What Is Shazam (And How Does It Work)?
Shazam is Apple-owned audio-fingerprinting technology that identifies a song playing nearby in 5–8 seconds by matching a few seconds of ambient audio against a catalog of millions of tracks.
Shazam launched in 2002 as an SMS-based service ("hold your phone up to the music, then text 2580"). Apple acquired it in 2018 and turned it into a system feature on iOS — there's a Control Center toggle, and the standalone Shazam app is built into modern iPhones.
Third-party apps can integrate Shazam through Apple's **ShazamKit** framework. Trending Music uses ShazamKit for its in-app "Shazam a Song" feature — identify a song, and instead of being kicked out to Apple Music, it plays inside the app and queues similar artist tracks behind it.
The underlying tech is acoustic fingerprinting: extract a sparse spectrogram, hash time-frequency peak pairs, lookup hashes in a database, and find the time-aligned match. Works in noisy environments, even with conversation in the background.
Hear it in action
Trending Music is a free download on iPhone — AI DJ, music videos, offline playback.
Download free →