Shazam Scraper

ENDPOINTS
GET/songs/batch

Songs by IDs

Get up to 25 songs in one call by Shazam key, Apple id or link, with full metadata for each.

QUERY PARAMS

Comma-separated songs (max 25): Shazam keys, apple:<Apple song id> or song links.

Example: 503576063,40333609

2-letter Apple Music storefront the metadata is read from. Shazam keys, ISRCs and Apple ids are the same everywhere.

Default: US

Allowed values: any ISO 3166-1 alpha-2 code (US, GB, IN, DE, FR, JP, ...)

Language for names, genres and editorial text.

Default: en-US

Allowed values: an ISO 639-1 code (en, es, fr) or a locale tag (en-US, pt-BR, ja-JP)

{
  "country": "US",
  "count": 2,
  "results": [
    {
      "shazam_key": "503576063",
      "apple_id": "1499378607",
      "shazam_link": "https://www.shazam.com/track/503576063",
      "name": "Blinding Lights",
      "link": "https://music.apple.com/us/album/blinding-lights/1499378108?i=1499378607",
      "artist_name": "The Weeknd",
      "album_id": "1499378108",
      "album_name": "After Hours",
      "album_artist_name": null,
      "composer_name": "Max Martin, Oscar Holter, Abel Tesfaye, Ahmad Balshe & Jason 'Daheala' Quenneville",
      "isrc": "USUG11904206",
      "release_date": "2019-11-29",
      "duration_ms": 200046,
      "duration": "3:20",
      "track_number": 9,
      "disc_number": 1,
      "genres": [
        "R&B/Soul",
        "Music"
      ],
      "audio_language": null,
      "audio_traits": null,
      "is_explicit": false,
      "is_clean_version": false,
      "has_lyrics": true,
      "has_time_synced_lyrics": false,
      "is_apple_digital_master": true,
      "is_mastered_for_itunes": false,
      "is_sing_along_available": false,
      "lyrics_excerpt": null,
      "preview_link": "https://audio-ssl.itunes.apple.com/itunes-assets/AudioPreview211/v4/19/d6/60/19d660ff-e3a9-8377-15a3-ce4b28e89cac/mzaf_18422426156481158187.plus.aac.p.m4a",
      "description": null,
      "artwork": {
        "link": "https://is1-ssl.mzstatic.com/image/thumb/Music125/v4/6f/bc/e6/6fbce6c4-c38c-72d8-4fd0-66cfff32f679/20UMGIM12176.rgb.jpg/3000x3000bb.jpg",
        "template_link": "https://is1-ssl.mzstatic.com/image/thumb/Music125/v4/6f/bc/e6/6fbce6c4-c38c-72d8-4fd0-66cfff32f679/20UMGIM12176.rgb.jpg/{w}x{h}bb.jpg",
        "width": 3000,
        "height": 3000,
        "background_color": "#161211"
      }
    },
    {
      "shazam_key": "40333609",
      "apple_id": "1436677761",
      "shazam_link": "https://www.shazam.com/track/40333609",
      "name": "River Flows In You",
      "link": "https://music.apple.com/us/album/river-flows-in-you/1436677753?i=1436677761",
      "artist_name": "Yiruma",
      "album_id": "1436677753",
      "album_name": "Yiruma 2nd Album 'First Love' (The Original & the Very First Recording)",
      "album_artist_name": null,
      "composer_name": null,
      "isrc": "HKOA10616988",
      "release_date": "2001-11-27",
      "duration_ms": 188787,
      "duration": "3:08",
      "track_number": 4,
      "disc_number": 1,
      "genres": [
        "New Age",
        "Music",
        "Pop",
        "K-Pop",
        "Classical"
      ],
      "audio_language": null,
      "audio_traits": null,
      "is_explicit": false,
      "is_clean_version": false,
      "has_lyrics": false,
      "has_time_synced_lyrics": false,
      "is_apple_digital_master": false,
      "is_mastered_for_itunes": false,
      "is_sing_along_available": false,
      "lyrics_excerpt": null,
      "preview_link": "https://audio-ssl.itunes.apple.com/itunes-assets/AudioPreview211/v4/5d/e8/db/5de8db2a-16e9-9952-1e92-72c8bd66c466/mzaf_12453809584145821574.plus.aac.p.m4a",
      "description": null,
      "artwork": {
        "link": "https://is1-ssl.mzstatic.com/image/thumb/Music115/v4/5f/f4/9b/5ff49b8c-d0bb-3748-14f4-131edfb332ce/first_love_3000.jpg/3000x3000bb.jpg",
        "template_link": "https://is1-ssl.mzstatic.com/image/thumb/Music115/v4/5f/f4/9b/5ff49b8c-d0bb-3748-14f4-131edfb332ce/first_love_3000.jpg/{w}x{h}bb.jpg",
        "width": 3000,
        "height": 3000,
        "background_color": "#e1e5e8"
      }
    }
  ]
}