# Shazam Charts Scraper: Top Songs by Country, City and Genre

> Shazam charts scraper: get ranked songs for a country, city or genre with ISRC, artist, album, genre and Shazam count. Compare with your last run.

URL: https://cliqtomedia.com/actors/shazam-charts/

Category: Video, audio & streaming · Status: live on Apify Store · Apify page: https://apify.com/cliqtomedia/shazam-charts?fpr=cliqto

Pick a chart type and a country, city or genre. You get one row per song with rank, title, artist, ISRC, album, genre and Shazam count. You can also compare with your previous run.

## How to use it: 3 steps

1. **Make a free Apify account.** Apify is the cloud platform where our tools run. The free plan gives you $5 of usage every month, no credit card needed. You pay Apify, not us.
2. **Paste your input and press Start.** No code needed: you fill in a form (the input). It already has a working example. For example: `US` in Countries. Each start is one run.
3. **Download the results.** When the run ends, the results are in a table (the dataset). Open Output, press Export and pick Excel or CSV. JSON and the API are there too.

## What it does

Shazam Charts Scraper reads public Shazam charts (global, country, city, genre, viral and discovery) and saves each ranked song with its ISRC, album, release date, composer, Shazam count and Apple Music and Spotify links.



### Good for

- Music labels, managers and A&R teams who look for songs that rise in a country or city before they reach radio.
- Playlist editors and music marketers who need a daily Top 200 list with ISRC codes to match songs in their own tools.
- Analysts and researchers who track how a song moves on Shazam charts over days or weeks.
- AI agents that need a current, ranked song list with stable IDs.

## Price

Pay per event. Apify bills you, not us.

| What you pay for | Price | When |
|---|---|---|
| Start fee | $0.0022 | Charged once per run. This tool uses 1 GB of memory or less by default; more memory costs more. |
| Song row | $0.00036 (from $0.000252 on paid Apify plans) | Charged for each saved song row with chart rank or track data. Invalid or missing inputs are free rows. |

- One song: about $0.0026.
- 1,000 songs: about $0.36.
- Every day 100 songs, for 30 days: about $1.15 a month.

Free to try: the Apify free plan gives you $5 of usage every month, no credit card needed.

Prices checked on 27 November 2026. Current price: https://apify.com/cliqtomedia/shazam-charts?fpr=cliqto

## Questions

### Do I need a Shazam or Apple account?

No. It reads public charts and does not log in.

### Is the rank change from Shazam?

No. It compares with your own previous run of the same chart.

### Does it recognize or download audio?

No. The preview field is only a link.

### How is rank change counted?

When `trackRankChanges` is on, each run saves the whole chart to the key-value store `shazam-charts-history` in your Apify account. The next run of the same chart compares each song with that copy. The store is yours; you can delete it to start over. If that name cannot be opened in your account, the Actor uses `shazam-charts-history-v2` instead; `rankHistory` in `RUN_SUMMARY` shows which one.

### How fresh is the data?

Every run reads the chart live. `fetchedAt` shows when the row was saved. `shazamCount` is the public count at that moment.

### Why is a value null?

`null` means the source did not show the value for this song or did not answer. It never means zero.

## Data fields

- `status` (string): complete when Shazam track data was found; partial when some details could not be read; not_found, invalid_input or error for a free row that explains a missing chart, a wrong input or a chart that could not be read.
- `statusReason` (string): Why this row is partial, missing, or invalid.
- `position` (integer): Rank in the selected chart. Null for standalone tracks.
- `previousPosition` (integer): Position in your previous run of the same chart; null when off, first run or new entry.
- `positionChange` (integer): Places moved since your previous run; positive = up, negative = down, null when not known.
- `peakPosition` (integer): Best position seen in your runs of this chart; null when comparison is off.
- `isNewEntry` (boolean): true when the track was not in your previous run of this chart; null when not known.
- `previousSnapshotAt` (string): Time of the previous run used for comparison; null when there is none.
- `chart` (string): Name of the chart used for this row.
- `chartType` (string): Global, country, city, genre, viral, or discovery.
- `country` (string): Two-letter country code for a regional chart.
- `city` (string): City name for a city chart.
- `genre` (string): Genre from the chart or track details.
- `trackId` (string): Apple Music song ID used by Shazam chart links.
- `shazamKey` (string): Shazam track key.
- `title` (string): Song title.
- `artist` (string): Main artist or artists.
- `album` (string): Album name when available.
- `releaseDate` (string): Release date in YYYY-MM-DD form when available.
- `durationMs` (integer): Track duration in milliseconds when available.
- `isrc` (string): International Standard Recording Code for the recording.
- `shazamCount` (integer): Public Shazam count at fetch time; null when unavailable.
- `appleMusicUrl` (string): Apple Music link when available.
- `spotifyUrl` (string): Spotify track link matched by exact ISRC; null when unavailable.
- `url` (string): Public Shazam song link.
- `artworkUrl` (string): Cover image link when available.
- `source` (string): Source site for the row.
- `sourceUrl` (string): Chart or song page used for the row.
- `fetchedAt` (string): Time this row was collected, in UTC.
- `links` (object): Music and Shazam links grouped for the table view.
- `sources` (array): Sites that supplied this row, including the Spotify link source when used.
- `albumArtist` (string): Album artist from Apple Music.
- `albumId` (string): Apple Music album ID.
- `composer` (string): Composer names shown on the public Shazam song page.
- `trackNumber` (integer): Track number on the album.
- `discNumber` (integer): Disc number on the album.
- `isExplicit` (boolean): Whether Apple Music marks the track explicit.
- `isCleanVersion` (boolean): Whether Apple Music marks this as a clean version.
- `hasLyrics` (boolean): True when the public Shazam song page shows lyrics; null when unknown.
- `previewUrl` (string): Short Apple Music audio preview link; audio is not downloaded.

## Input settings

- `chartType` (string): Global or country Top 200, city Top 50, genre, viral, or discovery chart.
- `countries` (array): Up to 5 two-letter country codes, such as US or GB. Choose one country for a city chart.
- `cities` (array): Up to 10 city names or slugs, such as New York City. Use when Chart type is City Top 50.
- `genres` (array): Up to 10 genre names or slugs, such as pop. Use when Chart type is Genre.
- `trackIds` (array): Up to 200 Apple Music song IDs or public Shazam song URLs. Adds standalone track rows.
- `maxItems` (integer): Maximum total song rows across all charts and track IDs. Also limited by the platform Max items setting.
- `maxItemsPerChart` (integer): Maximum song rows from each chart before the Maximum total rows limit.
- `includeShazamCount` (boolean): Read each public song page for its total Shazam count. Adds one request per track; null when the page has no count or fails.
- `trackRankChanges` (boolean): Save each chart to a named key-value store shazam-charts-history in your Apify account. Next run adds previousPosition, positionChange, peakPosition and isNewEntry. The first run has no previous position.
- `deliveryConnector` (string): Your Slack, Notion or other MCP connector. After the run the Actor posts a short summary there. Connect services once in Apify Console → MCP connectors.
- `deliveryTarget` (string): Where to post the summary: a Notion page link (each run is added on top of that page) or a Slack channel ID. Notion needs a page here; without it the summary is not sent and the run summary says why.

## Step by step on Apify

1. Open the Input tab. Chart type is already Country Top 200 (box 1).
2. Keep `US` in Countries or type another two-letter code, such as `GB` (box 2).
3. Keep Maximum total rows at `3` for a first test, or set up to `200` (box 3).
4. Click Start.
5. Open the Output tab. The Tracks table shows the rank, chart, title and artist (box 5).
6. Check the Shazams, Composers and ISRC columns (box 6). Change and Peak stay `null` until you turn on Compare with my previous run.

## Use cases

| Task | Input | You get | Key fields | Next step |
|---|---|---|---|---|
| Daily Top 200 for one country | `chartType: country`, `countries` | ranked song | `position`, `title`, `artist`, `isrc`, `shazamCount` | Google Sheets or CSV export |
| Find songs that rise in a city | `chartType: city`, `countries` (one), `cities` | ranked song | `position`, `positionChange`, `isNewEntry` | schedule + Slack summary |
| Watch a genre chart | `chartType: genre`, `genres` | ranked song | `position`, `genre`, `releaseDate` | dataset API |
| Match chart songs to Spotify | any chart | ranked song | `isrc`, `spotifyUrl`, `appleMusicUrl` | your own catalog tool |
| Get data for known songs | `chartType: tracks`, `trackIds` | song | `isrc`, `album`, `composer`, `shazamCount` | dataset API |

## Tips

- Start with the default 3 rows to check the output.
- Set the max rows to 200 for a full Top 200.
- Turn on the comparison and run daily to see rank changes.

## Limits



- Up to 200 rows and up to 10 charts in one run. City charts have up to 50 songs.
- A full Top 200 with Shazam counts took 161–175 seconds in our tests, inside the default 300-second timeout. Three countries with 10 songs each took 54 seconds. With several large charts, set a longer timeout or turn off `includeShazamCount`.
- Rank change shows the change since your previous run of the same chart, not Shazam's own daily change: Shazam does not publish the previous rank.
- The Spotify link comes from a free third-party lookup (`tools.wallstream.com`) by exact ISRC. When that service does not answer, `spotifyUrl` is `null` and the run goes on.
- Four Apple Music flags (Digital Master, time-synced lyrics, Mastered for iTunes, Sing) need a paid Apple developer key and are not in the output.
- The Actor does not recognize or download audio. `previewUrl` is only a link.
- Charts change during the day. Two runs a few minutes apart can differ in the lower places.
- Use the data in line with the Apple Media Services terms.

## Sample result

```json
{
  "status": "complete",
  "statusReason": null,
  "position": 1,
  "previousPosition": 1,
  "positionChange": 0,
  "peakPosition": 1,
  "isNewEntry": false,
  "previousSnapshotAt": "2026-11-21T07:07:07.604Z",
  "chart": "Top 200 — United States",
  "chartType": "country",
  "country": "US",
  "title": "Flower In A Hurricane [From GTAVI: Original Score]",
  "artist": "Justice, Tame Impala, SZA & King Gizzard & The Lizard Wizard",
  "album": "Grand Theft Auto VI: Original Score",
  "releaseDate": "2026-11-20",
  "durationMs": 221190,
  "isrc": "FR6P12602660",
  "shazamCount": 1004517,
  "trackId": "6812477273",
  "spotifyUrl": "https://open.spotify.com/track/4HCOHRCSQelz2GPX8iTamO",
  "url": "https://www.shazam.com/track/904393509/flower-in-a-hurricane-from-gtavi-original-score",
  "fetchedAt": "2026-11-21T07:09:21.052Z"
}
```

## Use it from code

Actor ID: `cliqtomedia/shazam-charts`

```python
from apify_client import ApifyClient

client = ApifyClient("YOUR_APIFY_TOKEN")
run = client.actor("cliqtomedia/shazam-charts").call(run_input={
    "chartType": "country",
    "countries": [
        "US"
    ]
})
for item in client.dataset(run["defaultDatasetId"]).iterate_items():
    print(item)
```

```bash
curl -X POST "https://api.apify.com/v2/acts/cliqtomedia~shazam-charts/run-sync-get-dataset-items?token=YOUR_APIFY_TOKEN" \
  -H "Content-Type: application/json" \
  -d '{"chartType": "country", "countries": ["US"]}'
```

```python
# pip install langchain-apify
# set APIFY_TOKEN in your environment
from langchain_apify import ApifyActorsTool

tool = ApifyActorsTool("cliqtomedia/shazam-charts")
result = tool.invoke({"run_input": {"chartType": "country", "countries": ["US"]}})
print(result)
```

run-sync waits up to 300 seconds; for longer runs start a run and use a webhook. LlamaIndex and MCP: https://cliqtomedia.com/actors/ai-agents/

## Similar tools

- [SoundCloud Scraper - Tracks, Artists, Playlists & Plays](https://cliqtomedia.com/actors/soundcloud-scraper/)
- [Spotify Scraper: Play Counts, Artists, Tracks & Playlists](https://cliqtomedia.com/actors/spotify-scraper/)
- [YouTube Transcript Scraper: Subtitles & Timed Text](https://cliqtomedia.com/actors/youtube-transcript-scraper/)
- [YouTube Comments Scraper: Replies & CSV Export](https://cliqtomedia.com/actors/youtube-comments-scraper/)
- [Apple Podcast Directory Scraper: RSS & Owner Contacts](https://cliqtomedia.com/actors/podcast-directory-rss-contacts-scraper/)
- [Audio & Podcast Transcriber (Speech to Text)](https://cliqtomedia.com/actors/audio-video-transcriber/)
