# Instagram Reel Song Finder & Identifier by Link (`firsthand/instagram-reel-song-finder`) Actor

Instagram reel song finder: paste reel links and find the song in each one: title, artist, ISRC, album and Apple Music link. Works on reels with Original audio, where Instagram shows no song name: the sound is recognized by Shazam. No login. You pay per song found, plus a small start fee.

- **URL**: https://apify.com/firsthand/instagram-reel-song-finder.md
- **Developed by:** [Firsthand](https://apify.com/firsthand) (community)
- **Categories:** Social media, Videos
- **Features:** Limited permissions
- **Stats:** 2 total users, 2 monthly users, 100.0% runs succeeded, 0 bookmarks
- **User rating**: No ratings yet

## Pricing

from $2.50 / 1,000 song founds

This Actor is paid per event. You are not charged for the Apify platform usage, but only a fixed price for specific events.
Since this Actor supports Apify Store discounts, the price gets lower the higher subscription plan you have.

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

## Instagram Reel Song Finder & Identifier by Link

Paste Instagram reel links and get the song playing in each one: title, artist, ISRC, album, label, release year and an Apple Music link. One row per link.

Most reels play music inside their own sound, labelled "Original audio": Instagram shows no song name for them, even when a real track is playing. This Actor downloads the reel's sound without logging in, takes a 12-second piece from the middle and identifies it with Shazam. You do not need to get the audio file first: other song recognition Actors on Apify want a direct audio or video file, this one takes the reel link.

### What you get

One row per link:

- `status`: `found` (song identified, billed), `found_uncertain`, `not_identified`, `no_audio`, `post_unavailable`, `invalid_input`, `duplicate` (a share link that leads to a reel already found in this run: song repeated, not charged again), `error`, `not_processed` (all free)
- `songFound`, `songSource` (`shazam`)
- `songTitle`, `songArtist`, `album`
- `isrc`, `label`, `releaseYear`, `genre`, `shazamKey`, `shazamUrl`, `appleMusicUrl`, `previewUrl`, `coverArt`
- `matchOffsetSec`: where in the song the reel's sound plays
- `matchSkew`, `matchTimeSkew`, `matchFrequencySkew`: how far the match is shifted in time or pitch
- `postUrl`, `postId`, `postAuthor`, `postCreateTime`, `audioDurationSec`, `audioCodec`, `windowsTried`, `input`, `scrapedAt`
- `reason`: why there is no song, in plain words

A run summary (`SUMMARY` in the key-value store) counts rows by status.

### How to find a song from an Instagram reel link

1. Paste links into **Instagram reel links**, one per line. Accepted:
   - `https://www.instagram.com/reel/CEmrg34h9tb/` (also `/reels/`, `/p/`, `/tv/` and links with the account name in the path)
   - share links: `https://www.instagram.com/share/reel/...`
2. Optionally set **Max songs found** to cap the bill, and **Country** for song details and Apple Music links (default US).
3. Run the Actor and download the dataset as CSV, Excel or JSON. The **Songs** view shows the main columns.

Rows appear in the dataset as soon as each link is done. Links to profiles, stories, audio pages and other sites get no row: they are skipped with a warning in the log. Repeated links to the same reel (any form: /reel/, /p/, with the account name) get no row either. A share link that leads to a reel already found gets a free `duplicate` row with the song repeated. If you Resurrect a run, links that ended as `error` or `not_processed` are tried again and get a second row; rows with a final status are kept and never charged twice.

### Instagram music finder: what song is this reel? Original audio

In a test on 100 public Instagram links found by searching for 16 brands and 15 creators (Nike, Starbucks, LEGO, Netflix, Selena Gomez, Cristiano Ronaldo, MrBeast and others; posted 2016-2025, November 2026 run):

| Result | Links |
|---|---|
| Song identified (`found`) | 25 |
| Shazam match shifted (`found_uncertain`, free) | 10 |
| No song found: speech, voice-over, the brand's own music (`not_identified`) | 42 |
| Instagram gives no media to visitors who are not logged in (`post_unavailable`) | 8 |
| Photo post, carousel without video, reel without sound (`no_audio`) | 5 |
| Took longer than 120 seconds (`error`, free, retried on Resurrect) | 10 |

So 25 of 100 links came back with a song. Brand reels are often speech or music made for the ad; reels from music and dance creators find a song more often (about half in an earlier test on reels from popular hashtags). A run of 100 links took about 9 minutes; one link took 24 seconds at the median.

**Uncertain matches.** When Shazam's match is shifted in time or pitch by more than 0.1%, the row is `found_uncertain` and is not charged. Some are the right song played faster or slower, some are wrong matches; we did not check which. Check `songTitle` and `matchSkew` yourself.

**Not identified.** Shazam knows released recordings. Speech, voice-overs, a creator's own music and live sound usually have no match. By default the Actor listens to 12 seconds from the middle of the sound; **Listen at two more points** adds two more tries near the start and the end. Works only on reels with at least 24 seconds of sound. In a TikTok test it rarely found more songs.

**Instagram's own song label.** For licensed tracks, Instagram shows the song name on the reel, and general Instagram scrapers return it as `musicInfo`. Most reels are labelled "Original audio", even when a released track plays in them, and the label has no ISRC or Apple Music link. This Actor does not use the label; it identifies the sound itself.

### Instagram reel song finder API

```python
from apify_client import ApifyClient

client = ApifyClient("<YOUR_APIFY_TOKEN>")
run = client.actor("firsthand/instagram-reel-song-finder").call(run_input={
    "reelUrls": ["https://www.instagram.com/reel/CEmrg34h9tb/"],
})
for row in client.dataset(run["defaultDatasetId"]).iterate_items():
    print(row["status"], row.get("songTitle"), row.get("songArtist"), row.get("isrc"))
```

Field names accepted from other Actors: `reelUrls`, `postUrls`, `directUrls`, `videoUrls`, `startUrls`, `urls`, `url`, `links` (strings or objects with `url`), `maxResults` or `maxItems`, `country`.

### Example output

```json
{
  "postUrl": "https://www.instagram.com/reel/CEmrg34h9tb/",
  "status": "found",
  "songFound": true,
  "songSource": "shazam",
  "songTitle": "Jerusalema (feat. Nomcebo Zikode)",
  "songArtist": "Master KG",
  "isrc": "ZA82Y1900130",
  "album": "Jerusalema",
  "label": "Elektra France",
  "releaseYear": "2019",
  "genre": "Dance",
  "appleMusicUrl": "https://music.apple.com/us/album/jerusalema-feat-nomcebo-zikode/1522731935?i=1522732266",
  "matchOffsetSec": 118.5,
  "matchSkew": 0.000121,
  "postAuthor": "cristiano",
  "postCreateTime": "2020-09-01T18:44:41Z",
  "audioDurationSec": 250.4,
  "reason": null
}
```

### Pricing

You pay per song found: **$0.003 per song** on the Free plan ($0.0025 on Gold and above), plus $0.0005 per run start. Rows without a song (`found_uncertain`, `not_identified`, `no_audio`, `post_unavailable`, errors) and `duplicate` rows are free. 1,000 brand reels with 250 songs found cost about $0.75; 1,000 reels where half have a song cost about $1.50.

### Good to know

- Only public reels. The Actor does not log in. Age-restricted reels and reels Instagram hides from visitors who are not logged in get a free `post_unavailable` row with Instagram's message.
- This Actor is not affiliated with, sponsored or endorsed by Instagram, Meta, Shazam or Apple. Their names are used only to describe where the data comes from.
- Song details come from Shazam's public recognition service, which is not an official API; it can change without notice. If recognition fails, the row is `error` and free, never "no song".
- Instagram changes its pages often. If Instagram stops serving reels to visitors, rows come back as `error` or `post_unavailable` (free), and the run's status message warns when most links fail or come back unavailable.
- The Actor reads public data only and does not store audio. You are responsible for how you use the results.

# Actor input Schema

## `reelUrls` (type: `array`):

Links to public Instagram reels or video posts (instagram.com/reel/..., /p/..., /share/...). One row per link. Profile pages and links from other sites are skipped with a warning.

## `extraWindows` (type: `boolean`):

By default Shazam listens to 12 seconds from the middle of the sound. With this on, a reel with no match gets two more tries (near the start and near the end). Works only on reels with at least 24 seconds of sound. Slower; in a TikTok test it rarely found more songs.

## `maxResults` (type: `integer`):

Stop after this many found songs. Empty means no limit.

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

Two-letter country code for Shazam song details and Apple Music links, e.g. US, GB. Empty means US.

## Actor input object example

```json
{
  "reelUrls": [
    "https://www.instagram.com/reel/DdMnF1INe3M/",
    "https://www.instagram.com/reel/Dd_jBj8Rhp0/"
  ]
}
```

# Actor output Schema

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

No description

## `summary` (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 = {
    "reelUrls": [
        "https://www.instagram.com/reel/DdMnF1INe3M/",
        "https://www.instagram.com/reel/Dd_jBj8Rhp0/"
    ]
};

// Run the Actor and wait for it to finish
const run = await client.actor("firsthand/instagram-reel-song-finder").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 = { "reelUrls": [
        "https://www.instagram.com/reel/DdMnF1INe3M/",
        "https://www.instagram.com/reel/Dd_jBj8Rhp0/",
    ] }

# Run the Actor and wait for it to finish
run = client.actor("firsthand/instagram-reel-song-finder").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 '{
  "reelUrls": [
    "https://www.instagram.com/reel/DdMnF1INe3M/",
    "https://www.instagram.com/reel/Dd_jBj8Rhp0/"
  ]
}' |
apify call firsthand/instagram-reel-song-finder --silent --output-dataset

```

## MCP server setup

```json
{
    "mcpServers": {
        "apify": {
            "type": "http",
            "url": "https://mcp.apify.com/?tools=fetch-actor-details,firsthand/instagram-reel-song-finder"
        }
    }
}
```

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/dMowvr0jJYLxeeR9e/builds/bVql4Vxw9XMSnT9vN/openapi.json
