# 🚀 Shazam Song Recognition · 2,500 Free Recognitions/Month (`omkar-cloud/shazam-song-recognition`) Actor

Shazam Song Recognition gets you the song in any audio ⚡ fast, 🎯 100% accurate and 🔍 ridiculously detailed — title, artist, ISRC, album & where the clip plays. 💰 $2 per 1,000 recognitions, no start fee, no match = no charge. Recognize your first 2,500 songs free every month 🚀

- **URL**: https://apify.com/omkar-cloud/shazam-song-recognition.md
- **Developed by:** [Omkar Cloud](https://apify.com/omkar-cloud) (community)
- **Stats:** 10 total users, 7 monthly users, 100.0% runs succeeded, 0 bookmarks
- **User rating**: No ratings yet

## Pricing

from $2.00 / 1,000 song recognizeds

This Actor is paid per event. You are not charged for the Apify platform usage, but only a fixed price for specific events.

Learn more: https://docs.apify.com/actors/running/actors-in-store.md#pay-per-event

## What's an Apify Actor?

An Actor is a serverless cloud program that runs on the Apify platform. It has two run modes.
In Batch mode, an Actor accepts a well-defined JSON input, performs an action which can take anything from a few seconds to a few hours,
and optionally produces a well-defined JSON output, datasets with results, or files in key-value store.
In Standby mode, an Actor provides a web server which can be used as a website, API, or an MCP server.

Apify vocabulary and the platform model are defined once, in the agent quickstart at https://apify.com/agents.md.

## How to integrate an Actor?

If asked about integration, you help developers integrate Actors into their projects.
You adapt to their stack and deliver integrations that are safe, well-documented, and production-ready.

Do not guess an integration path. Every one of them is in the agent quickstart at https://apify.com/agents.md: the Apify MCP server, Agent Skills with the Apify CLI, the JavaScript and Python clients, the REST API, and the account-free path for an agent with no human to sign in. It also carries the rule on stating cost before the first paid run.

For examples already wired to this Actor's own input schema, see the [API](#api) section below.

Each client library has reference documentation the quickstart does not restate: [JavaScript/TypeScript](https://docs.apify.com/api/client/js/docs.md) (`npm install apify-client`) and [Python](https://docs.apify.com/api/client/python/docs.md) (`pip install apify-client`).

# README

## Shazam Song Recognition

Shazam Song Recognition by Omkar Cloud gets you 🎯 accurate, 🔍 detailed Shazam data.

Paste links to audio or video files and it listens like the Shazam app: you get the song — title, artist, Shazam key, Apple Music id, ISRC, album, label, genre, artwork, preview — plus exactly where in the song your clip plays. MP3, M4A, WAV, FLAC, OGG, MP4 and more, so you can successfully complete your project.

**$2 per 1,000 recognitions.** And with Apify's free plan you get $5 of credit every month, so your first **~2,500 recognitions each month are free**.

This is an excellent Actor made by Omkar Cloud, which is Rated Excellent — [4.7 based on 30 reviews on Trustpilot](https://www.trustpilot.com/review/omkar.cloud).

👉 [**Try Shazam Song Recognition free**](https://apify.com/omkar-cloud/shazam-song-recognition) — your first ~2,500 recognitions are Free.

### What can I get

- 🎧 **The song in any clip** — title, artist, Shazam key, Apple Music id, ISRC, album, label, genre & release date
- 🎯 **Where the clip plays** — the offset in the song, plus every alignment match Shazam returned
- 🔗 **Ready-to-use links** — Shazam page, Apple Music listen link, 30-second preview, cover art
- 💸 **No match, no charge** — files Shazam can't recognize are never billed

### Why Shazam Song Recognition

Most other Shazam scrapers fail you in one of four ways:

- 🗄️ **Inaccurate, cached, stale data**
- 🧩 **Low-detail data** — a title and an artist, never the ISRC, album, label or lyrics
- 💸 **Pay more to get the same data** — start fees, tiers and paid "enrichment" events
- 🪦 **Works today, breaks next month** — nobody maintains it

Shazam Song Recognition is scraped live on every run, priced honestly, and actively maintained.

### Example: A Recognized Clip

```json
{
  "input_url": "https://audio-ssl.itunes.apple.com/itunes-assets/AudioPreview211/v4/19/d6/60/19d660ff-e3a9-8377-15a3-ce4b28e89cac/mzaf_18422426156481158187.plus.aac.p.m4a",
  "shazam_key": "503576063",
  "apple_id": "1499378607",
  "title": "Blinding Lights",
  "artist_name": "The Weeknd",
  "link": "https://www.shazam.com/track/503576063/blinding-lights",
  "isrc": "USUG11904206",
  "genre": "R&B/Soul",
  "release_date": "2019",
  "album_name": "After Hours",
  "label": "Republic Records",
  "album_apple_id": "1499378108",
  "images": {
    "cover_art": "https://is1-ssl.mzstatic.com/image/thumb/Music125/v4/6f/bc/e6/6fbce6c4-c38c-72d8-4fd0-66cfff32f679/20UMGIM12176.rgb.jpg/400x400cc.jpg"
  },
  "hub": {
    "provider": "Apple Music",
    "listen_link": "https://music.apple.com/song/1499378607",
    "preview_link": "https://audio-ssl.itunes.apple.com/itunes-assets/AudioPreview211/v4/19/d6/60/19d660ff-e3a9-8377-15a3-ce4b28e89cac/mzaf_7838036723178550658.plus.aac.ep.m4a"
  },
  "recognition": {
    "offset_in_song_seconds": 60.033,
    "match_count": 5,
    "audio_duration_seconds": 30.001,
    "audio_bytes": 1028664,
    "attempts": [
      {
        "offset_seconds": 0,
        "duration_seconds": 11.968,
        "is_matched": true
      }
    ]
  }
}
```

*Trimmed for readability — the real row also carries the artists with their Apple ids, the background image and the song's colour palette.*

### Get Started with 2,500 Free Recognitions

1. [Hit **Try for Free Button**](https://apify.com/omkar-cloud/shazam-song-recognition) — the input is pre-filled with a 30-second clip.
2. Enjoy your data 😎.

### Pricing

High value, Low price.

| What | Price | What you get |
|---|---|---|
| **Recognized song** | **$2 per 1,000** | Shazam key, Apple Music id, title, artist, ISRC, album, label, genre, release date, Shazam / Apple Music / preview links, cover art, the offset where your clip plays and every match |
| **No match** | **Free** | Nothing is pushed or billed |

No start fee. Apify's free plan includes $5 of credit every month — about **2,500 free recognitions every month**.

👉 [**Recognize your first 2,500 songs free**](https://apify.com/omkar-cloud/shazam-song-recognition)

### Run It from Code

Grab your API token from [Integrations Settings here](https://console.apify.com/settings/integrations) and replace `<YOUR_API_TOKEN>` below.

**Python** (`pip install apify-client`)

```python
from apify_client import ApifyClient

client = ApifyClient("<YOUR_API_TOKEN>")
run = client.actor("omkar-cloud/shazam-song-recognition").call(run_input={
    "audioUrls": ["https://example.com/clip.mp3"],
})
for item in client.dataset(run["defaultDatasetId"]).iterate_items():
    print(item["title"], "-", item["artist_name"], item["isrc"])
```

**Node.js** (`npm install apify-client`)

```javascript
import { ApifyClient } from 'apify-client';

const client = new ApifyClient({ token: '<YOUR_API_TOKEN>' });
const run = await client.actor('omkar-cloud/shazam-song-recognition').call({
    audioUrls: ['https://example.com/clip.mp3'],
});
const { items } = await client.dataset(run.defaultDatasetId).listItems();
console.log(items);
```

### FAQ

#### Which files work?

Any direct http(s) link to an audio or video file up to 30 MB — mp3, m4a, aac, ogg, opus, wav, flac, mp4, webm and more. Links to web pages (YouTube, TikTok, Spotify pages) are not audio files.

#### How long should my clip be?

10–30 seconds is plenty. The Actor listens to 12 seconds by default (what the Shazam app sends). For long recordings it tries the middle first, then the start; set **Start At** to point it at a known spot.

#### What if a song is not recognized?

Nothing is pushed and you are not charged. Try a cleaner part of the recording with **Start At**, or a longer **Listen For**.

#### What does it cost?

$0.002 per recognized song — $2 per 1,000, flat on every plan, no start fee, and no charge for files with no match.

#### Is it legal to scrape Shazam?

The Actor collects publicly available music data — song, album, artist, chart and concert information — without personal data. Please review Shazam's terms of use and make sure your use complies with the law of your jurisdiction.

#### Can I get lyrics, BPM or charts for the recognized songs?

Yes — pass the `shazam_key` to our [Shazam Scraper](https://apify.com/omkar-cloud/shazam-scraper) with **Scrape Full Song Details** on.

### 💬 Have Questions? We Have Answers.

You're a business owner — we know how hard completing a project can be. So we offer full support: just message us and we'll reply ✅ with a solution within 1 working day.

[![Message Us on WhatsApp](https://raw.githubusercontent.com/omkarcloud/assets/master/images/whatsapp-us.png)](https://api.whatsapp.com/send?phone=918178804274\&text=I%20need%20help%20with%20using%20the%20Shazam%20Song%20Recognition%20Actor.)

[![Ask Us on Email](https://raw.githubusercontent.com/omkarcloud/assets/master/images/ask-on-email.png)](mailto:happy.to.help@omkar.cloud?subject=Help%20with%20Shazam%20Song%20Recognition%20Actor\&body=I%20need%20help%20with%20using%20the%20Shazam%20Song%20Recognition%20Actor.)

You are important to us — just message us and we will solve your problem ✅ within 1 working day. 🩷 Pinky Promise 🤙!

### Popular Actors by Omkar Cloud

- [**Shazam Scraper**](https://apify.com/omkar-cloud/shazam-scraper) — Shazam songs with ISRC, album & label, plus time-synced lyrics & BPM, $1 per 1,000 songs
- [**Shazam Charts Scraper**](https://apify.com/omkar-cloud/shazam-charts-scraper) — Top 200 in 70 countries, city, genre, viral & discovery charts, $1 per 1,000 tracks
- [**Shazam Concerts Scraper**](https://apify.com/omkar-cloud/shazam-concerts-scraper) — upcoming concerts with venues, coordinates & tickets, $1 per 1,000 concerts
- [**Deezer Scraper**](https://apify.com/omkar-cloud/deezer-scraper) — Deezer tracks, albums, artists, playlists & charts, $1 per 1,000 results
- [**Sofascore Scraper**](https://apify.com/omkar-cloud/sofascore-scraper) — live scores, fixtures & results for 26 sports, $1 per 1,000 matches
- [**IMDb Scraper**](https://apify.com/omkar-cloud/imdb-scraper) — IMDb titles, charts, cast, ratings & box office
- [**Skyscanner Scraper**](https://apify.com/omkar-cloud/skyscanner-scraper) — Skyscanner flights with every agent's price & booking link, $1 per 1,000 itineraries
- [**Website Email Contact Scraper**](https://apify.com/omkar-cloud/website-email-contact-scraper) — emails, phones & socials from any website

👉 [**Scrape your first 2,500 recognitions free now**](https://apify.com/omkar-cloud/shazam-song-recognition)

# Actor input Schema

## `audioUrls` (type: `array`):

Direct http(s) links to audio or video files — mp3, m4a, aac, ogg, wav, flac, mp4, webm and more, up to 30 MB each. A 10–30 second clip is plenty.

## `offsetSeconds` (type: `integer`):

Where in the file to start listening. Leave empty and the Actor tries the middle of long recordings first, then the start.

## `durationSeconds` (type: `integer`):

Seconds of audio to fingerprint, from 3 to 30. Default 12 — the length the Shazam app sends.

## `country` (type: `string`):

2-letter country code for the song metadata, e.g. `US`, `GB`, `IN`.

## Actor input object example

```json
{
  "audioUrls": [
    "https://audio-ssl.itunes.apple.com/itunes-assets/AudioPreview211/v4/19/d6/60/19d660ff-e3a9-8377-15a3-ce4b28e89cac/mzaf_18422426156481158187.plus.aac.p.m4a"
  ],
  "durationSeconds": 12,
  "country": "US"
}
```

# Actor output Schema

## `results` (type: `string`):

No description

# API

You can run this Actor programmatically using our API. Below are code examples in JavaScript, Python, and CLI, as well as the OpenAPI specification and MCP server setup.

## JavaScript example

```javascript
import { ApifyClient } from 'apify-client';

// Initialize the ApifyClient with your Apify API token
// Replace the '<YOUR_API_TOKEN>' with your token
const client = new ApifyClient({
    token: '<YOUR_API_TOKEN>',
});

// Prepare Actor input
const input = {
    "audioUrls": [
        "https://audio-ssl.itunes.apple.com/itunes-assets/AudioPreview211/v4/19/d6/60/19d660ff-e3a9-8377-15a3-ce4b28e89cac/mzaf_18422426156481158187.plus.aac.p.m4a"
    ]
};

// Run the Actor and wait for it to finish
const run = await client.actor("omkar-cloud/shazam-song-recognition").call(input);

// Fetch and print Actor results from the run's dataset (if any)
console.log('Results from dataset');
console.log(`💾 Check your data here: https://console.apify.com/storage/datasets/${run.defaultDatasetId}`);
const { items } = await client.dataset(run.defaultDatasetId).listItems();
items.forEach((item) => {
    console.dir(item);
});

// 📚 Want to learn more 📖? Go to → https://docs.apify.com/api/client/js/docs

```

## Python example

```python
from apify_client import ApifyClient

# Initialize the ApifyClient with your Apify API token
# Replace '<YOUR_API_TOKEN>' with your token.
client = ApifyClient("<YOUR_API_TOKEN>")

# Prepare the Actor input
run_input = { "audioUrls": ["https://audio-ssl.itunes.apple.com/itunes-assets/AudioPreview211/v4/19/d6/60/19d660ff-e3a9-8377-15a3-ce4b28e89cac/mzaf_18422426156481158187.plus.aac.p.m4a"] }

# Run the Actor and wait for it to finish
run = client.actor("omkar-cloud/shazam-song-recognition").call(run_input=run_input)

# Fetch and print Actor results from the run's dataset (if there are any)
print(f"💾 Check your data here: https://console.apify.com/storage/datasets/{run.default_dataset_id}")
for item in client.dataset(run.default_dataset_id).iterate_items():
    print(item)

# 📚 Want to learn more 📖? Go to → https://docs.apify.com/api/client/python/docs/quick-start

```

## CLI example

```bash
echo '{
  "audioUrls": [
    "https://audio-ssl.itunes.apple.com/itunes-assets/AudioPreview211/v4/19/d6/60/19d660ff-e3a9-8377-15a3-ce4b28e89cac/mzaf_18422426156481158187.plus.aac.p.m4a"
  ]
}' |
apify call omkar-cloud/shazam-song-recognition --silent --output-dataset

```

## MCP server setup

```json
{
    "mcpServers": {
        "apify": {
            "type": "http",
            "url": "https://mcp.apify.com/?tools=fetch-actor-details,omkar-cloud/shazam-song-recognition"
        }
    }
}
```

The hosted server signs you in with OAuth on first connect, so no API token belongs in this config. Clients without OAuth support can send an `Authorization: Bearer <APIFY_API_TOKEN>` header instead, using a token from API & Integrations in Apify Console (https://console.apify.com/settings/integrations).

## OpenAPI specification

Download the OpenAPI definition: https://api.apify.com/v2/actors/h8tgAaM71XxB4uDex/builds/OGrGM3cJlfnhm3vK0/openapi.json
