How to Clone Shazam
Tap one button, name any song - Apple-owned music recognition monetized through streaming referrals
What is Shazam?
Shazam answers one question - 'what song is this?' - and has answered it over 100 billion times. The product is a single giant button: tap, listen for a few seconds, get the track, artist, lyrics and links out to Spotify and Apple Music. Apple bought it in 2018 for a reported ~$400 million, made it free and ad-free, and now uses it as a discovery funnel into Apple Music and a data feed for predicting hits. As a standalone business its revenue is small and undisclosed; as a feature inside Apple's ecosystem it's strategic.
Here's the honest part most 'clone Shazam' content skips: you will not out-fingerprint Shazam, and you don't need to. Audio fingerprinting is solved, public technology - the original algorithm is described in published papers, open-source implementations exist (Dejavu, Olaf, audfprint), and commercial APIs like ACRCloud and AudD sell recognition against catalogs of 100M+ tracks for cents per query. The hard part Shazam solved in 2002 is now a $0.005 API call.
So the realistic clone is recognition-as-a-feature for a niche the giants ignore: sample identification for producers (what break is this?), classical music ID that names the recording and conductor rather than just 'Beethoven', worship-song ID that hands the band chord charts and CCLI info, vinyl diggers logging crates, or venue/radio monitoring for rights holders. Wrap the API in a workflow a specific audience pays for, and the recognition button becomes your acquisition hook rather than the whole product.
Who it's for: Anyone who's ever grabbed their phone in a bar - but for a clone, the audiences that matter are niches with a workflow after the match: music producers hunting samples, classical listeners who need the exact recording, worship teams, DJs and vinyl diggers, and rights holders monitoring where their music plays.
How Shazam makes money
- $ Streaming referrals: affiliate-style links out to Apple Music and Spotify - historically Shazam's main revenue line, now mostly an Apple Music funnel.
- $ Apple ecosystem value: built into iOS (Control Center, Siri), Shazam drives subscriptions and supplies trend data that informs Apple Music editorial - value that never shows up as Shazam revenue.
- $ Charts and data: Shazam counts predict radio hits weeks early; labels and the industry watch them, and pre-acquisition Shazam licensed this insight.
- $ Advertising: the pre-Apple app sold ads and brand 'Shazam-this' campaigns; Apple removed ads, closing that line.
- $ For cloners: the transferable models are B2C subscription for a niche workflow, affiliate links to streaming/gear, and B2B monitoring (venues, radio, rights-holders) - not ads.
Apple does not disclose Shazam revenue; this is a rough estimate of its indirect/standalone value based on pre-acquisition reports (~$40β50M/year) and its current role as a free Apple Music funnel - treat it as illustrative only. CloneMRR is not affiliated with Shazam; figures are for educational purposes.
Features to build
MVP ship this first
-
β One-tap recognitionThe big pulsing button: capture ~5β10s of mic audio in the browser/app, send to a recognition API (ACRCloud or AudD), return the match in seconds.
-
β Result cardTrack title, artist, album art, release year, plus deep links out to Spotify, Apple Music and YouTube - the moment of delight, make it beautiful.
-
β HistoryEvery match saved with timestamp (and optional location label); the personal music diary is the retention feature - Shazams are memories.
-
β No-match handlingGraceful failure with retry, tips ('move closer to the speaker'), and a saved 'unknown' recording stub to retry later.
-
β ChartsMost-recognized tracks across your user base this week - tiny data, fun page, great for sharing and SEO.
-
β Accounts & syncAnonymous-first usage with local history; sign in to sync history across devices.
Full version add later
-
+ Niche metadata layerThe differentiator: sample sources and BPM/key for producers, movement/conductor/recording for classical, chords and CCLI numbers for worship - whatever your niche needs after the match.
-
+ Background / auto modeContinuous listening that logs everything played (PWA limitations apply; native app shines here) - the 'what played at the party' feature.
-
+ Playlists exportOne tap turns history into a Spotify/Apple Music playlist via their OAuth APIs - the single most-requested Shazam-adjacent feature.
-
+ Humming / melody searchRecognize hummed melodies via providers that support it (ACRCloud does) - covers the 'stuck in my head' use case fingerprinting can't.
-
+ Social & sharingShareable match cards with album art for stories/chats, friend feeds of recent finds, 'discovered before it charted' badges.
-
+ B2B monitoring dashboardFor the business pivot: scheduled recognition of venue/stream audio with airplay reports for labels, publishers and PROs.
Recommended tech stack
| Layer | Our pick | Why |
|---|---|---|
| Web app (PWA) | Next.js + Tailwind | getUserMedia + MediaRecorder make in-browser audio capture viable; a PWA validates the niche before you touch app stores. |
| Mobile app | React Native (Expo) sharing the API | Native mic access is more reliable and background/widget recognition only works natively - port once the niche bites. |
| Recognition | ACRCloud or AudD API | Fingerprinting against 100M+ track catalogs for fractions of a cent per query; ACRCloud adds humming search and custom catalogs (key for niche audio nobody else indexes). |
| Backend | Node.js + PostgreSQL (Supabase) | Proxy recognition calls (never ship API keys to the client), store history and chart aggregates; Supabase auth handles anonymous-to-account upgrade. |
| Music metadata | Spotify Web API + MusicBrainz | Enrich matches with streaming links, audio features (BPM, key) and canonical metadata; MusicBrainz is the open fallback. |
| AI features | Claude API | Generate the niche layer: 'tell me about this recording', sample-history writeups, similar-track explanations - turning a lookup into an experience. |
AI prompts to clone Shazam
Pick your builder, copy the prompt, paste it and iterate. Enter your email once to unlock all prompts on every page - we'll also send you this full prompt pack.
Build a music recognition web app called TuneTrace, modeled on Shazam: one big button that listens through the microphone and names the song, with a personal history and weekly charts.
## Core concept
The home screen is a single giant pulsing button. Tap it, the app records ~8 seconds of audio, sends it to the AudD music recognition API (https://audd.io - use an API key from environment settings, never hardcoded), and shows a beautiful result card with the track, artist, album art and links to open it in Spotify, Apple Music and YouTube. Every match is saved to the user's history - their personal music diary.
## Pages
1. Recognize (home): near-fullscreen dark gradient, app name top-left, history icon top-right; centered giant circular button (160px+) with a soft glow; idle state says 'Tap to identify'; while listening, the button pulses with animated concentric ripple rings and a 'Listening...' label with elapsed seconds; then a brief 'Matching...' shimmer state
2. Result card (slides up over the home screen): large album art with a blurred copy as the card background, track title, artist, album + year, three streaming buttons (Spotify green, Apple Music red, YouTube), a Save-to-favorites heart, share button, and 'Not right? Try again'
3. No-match state: friendly card - 'No match found', tips list (get closer to the speaker, reduce talking, try 10 seconds), big Retry button
4. History: reverse-chronological list grouped by day ('Today', 'Yesterday', 'June 3'); each row shows small album art, title, artist, time, and a play-link icon; search box filters by title/artist; swipe or menu to delete a row; favorites filter toggle
Tools to build your Shazam clone
Describe your app in plain English and Lovable builds a full-stack web app with auth, database and deployment included.
Best for: Full-stack web apps without writing code
StackBlitz's AI builder. Prompt, run and edit full-stack apps directly in the browser, then deploy in one click.
Best for: Rapid prototypes and web apps
AI app builder with built-in database, auth and hosting. Strong for internal tools and CRUD-heavy products.
Best for: Dashboards, marketplaces and internal tools
The AI code editor. Full control over your codebase with AI agents that write and refactor code for you.
Best for: Developers who want full code ownership
Generates production-grade React + Tailwind UI from a prompt, deployable to Vercel instantly.
Best for: Polished UI and front-ends
Workers, Pages, R2 and D1 - host your clone on a global edge network with a generous free tier.
Best for: Serverless apps and APIs
Cheap VPS and managed hosting with an AI website builder. Easiest way to put a clone online on a budget.
Best for: Budget VPS and WordPress-style sites
How to make money with a Shazam clone
Niche pro subscription
Producers pay $8β15/month for sample ID with BPM/key detection and 'where was this sampled' writeups; worship teams pay for instant chord charts and CCLI reporting; classical fans pay for recording-level metadata. The match is free; the workflow after it is the product.
Affiliate everything after the match
Streaming links, vinyl on Discogs, sample packs, sheet music, concert tickets via the artist's tour API - every identified song is a purchase-intent signal you can route through affiliate programs.
B2B audio monitoring
Point the same recognition pipeline at venue or radio audio on a schedule and sell airplay reports to labels, publishers and PROs at $50β500/month per monitored stream - boring, sticky, and far less crowded than consumer music apps.
Custom catalogs for closed niches
ACRCloud lets you fingerprint your own catalog: ID tracks for an indie label's roster, a church's recordings, or a region's local music scene that the big catalogs barely cover - then charge the catalog owner, not the listener.
Frequently asked questions
How much money does Shazam make?
Apple doesn't say - Shazam has no disclosed revenue since the 2018 acquisition (reported at ~$400M). Pre-acquisition it made roughly $40β50M/year from referrals and ads. Today it's better understood as a free funnel into Apple Music and a trend-data asset; our $2β5M/month figure is a rough illustrative estimate of standalone value, not a reported number.
How hard is it to build a Shazam clone?
Far easier than its reputation: the fingerprinting that made Shazam famous is now a commodity API (ACRCloud, AudD) costing fractions of a cent per query, and open-source implementations exist if you want to self-host. Medium difficulty overall - the real work is clean browser audio capture, a fast delightful UI, and finding a niche willing to pay, since the generic use case is free on every phone.
Is it legal to clone Shazam?
Yes. Audio fingerprinting is published, decades-old technology with open-source implementations (Dejavu, Olaf, audfprint), and commercial APIs are licensed exactly for this. Shazam's original patents date to the early 2000s and the core technique is widely implemented. Don't use the Shazam name or logo, and let the recognition provider handle music-catalog licensing - that's what you're paying them for.
What tech stack should I use for a Shazam clone?
Next.js PWA with getUserMedia/MediaRecorder for capture, a server route that proxies to ACRCloud or AudD (keys stay server-side), Postgres for history and charts, and the Spotify API for links and track metadata. React Native later for background listening and widgets. The Cursor prompt on this page specifies the provider-agnostic architecture including cost controls.
What does it cost to run a Shazam clone?
Recognition is your COGS: ACRCloud and AudD plans start around $25β100/month for thousands of recognitions, roughly $0.002β0.01 per query after that. Hosting is trivial ($10β25/month). The prompts on this page include rate limits and a daily budget guard for exactly this reason - an unprotected recognize endpoint is an open wallet.
Why build a Shazam clone when Shazam is free and built into iPhones?
You don't compete on 'what song is this' - you compete on what happens after the match for one audience. Shazam tells a producer the track but not the sample chain, a worship leader the song but not the chords, a classical listener 'Symphony No. 5' but not which recording. Recognition is the hook; the niche workflow is the business.
More apps to clone
CloneMRR is not affiliated with, endorsed by or connected to Shazam. Revenue figures are rough estimates based on public reports and are provided for educational purposes only. "Cloning" here means building an original product inspired by a proven business model - never copy a brand's name, logo, content or code.