Apple Music Scraper

ENDPOINTS
GET/songs/batch

Songs Batch

Get up to 100 songs by id in one call; ids that don't exist are listed in not_found.

QUERY PARAMS

Comma-separated Apple Music song IDs or song links, up to 100.

Examples:

  • IDs: 1649434293,1440841367

2-letter country code of the Apple Music storefront to read. Defaults to the pasted link's country, else US.

Allowed values: any code from /countries (US, GB, IN, DE, FR, JP, ...)

Language of names, genres and editorial text. Defaults to the country's own language.

Allowed values: a language tag supported by the country (en-US, en-GB, fr-FR, es-MX, ja, ...)

{
  "songs": [
    {
      "id": "1649434293",
      "name": "Anti-Hero",
      "link": "https://music.apple.com/us/album/anti-hero/1649434004?i=1649434293",
      "artist_name": "Taylor Swift",
      "album_id": "1649434004",
      "album_name": "Midnights",
      "album_artist_name": "Taylor Swift",
      "composer_name": "Taylor Swift & Jack Antonoff",
      "isrc": "USUG12205736",
      "release_date": "2022-10-21",
      "duration_ms": 200690,
      "duration": "3:20",
      "track_number": 3,
      "disc_number": 1,
      "genres": [
        "Pop",
        "Music"
      ],
      "audio_language": "en-US",
      "audio_traits": [
        "atmos",
        "lossless",
        "lossy_stereo",
        "spatial"
      ],
      "is_explicit": false,
      "is_clean_version": false,
      "has_lyrics": true,
      "has_time_synced_lyrics": true,
      "is_apple_digital_master": true,
      "is_mastered_for_itunes": true,
      "is_sing_along_available": true,
      "lyrics_excerpt": "I have this thing where I get older, but just never wiser\nMidnights become my afternoons",
      "preview_link": "https://audio-ssl.itunes.apple.com/itunes-assets/AudioPreview211/v4/1d/56/2a/1d562a07-dc5f-a9c0-1f36-2051a8c14eb7/mzaf_4558921924675045578.plus.aac.ep.m4a",
      "description": null,
      "artwork": {
        "link": "https://is1-ssl.mzstatic.com/image/thumb/Music112/v4/3d/01/f2/3d01f2e5-5a08-835f-3d30-d031720b2b80/22UM1IM07364.rgb.jpg/3000x3000bb.jpg",
        "template_link": "https://is1-ssl.mzstatic.com/image/thumb/Music112/v4/3d/01/f2/3d01f2e5-5a08-835f-3d30-d031720b2b80/22UM1IM07364.rgb.jpg/{w}x{h}bb.jpg",
        "width": 3000,
        "height": 3000,
        "background_color": "#eae7e3"
      }
    },
    {
      "id": "1440841367",
      "name": "Keep the Family Close",
      "link": "https://music.apple.com/us/album/keep-the-family-close/1440841363?i=1440841367",
      "artist_name": "Drake",
      "album_id": "1440841363",
      "album_name": "Views",
      "album_artist_name": "Drake",
      "composer_name": "Aubrey Drake Graham & Maneesh Bidaye",
      "isrc": "USCM51600061",
      "release_date": "2016-04-29",
      "duration_ms": 328910,
      "duration": "5:28",
      "track_number": 1,
      "disc_number": 1,
      "genres": [
        "Hip-Hop/Rap",
        "Music"
      ],
      "audio_language": "en-US",
      "audio_traits": [
        "lossless",
        "lossy_stereo"
      ],
      "is_explicit": true,
      "is_clean_version": false,
      "has_lyrics": true,
      "has_time_synced_lyrics": true,
      "is_apple_digital_master": true,
      "is_mastered_for_itunes": true,
      "is_sing_along_available": true,
      "lyrics_excerpt": "It's a little chilly out there\nHow they standin' out there is beyond me",
      "preview_link": "https://audio-ssl.itunes.apple.com/itunes-assets/AudioPreview211/v4/67/ff/a6/67ffa612-3d40-9fb5-aff9-2b4ef1845f76/mzaf_9376529871734784038.plus.aac.ep.m4a",
      "description": null,
      "artwork": {
        "link": "https://is1-ssl.mzstatic.com/image/thumb/Music115/v4/f2/0d/8b/f20d8bff-a927-ae98-6784-20a1f51cb23e/16UMGIM27642.rgb.jpg/3000x3000bb.jpg",
        "template_link": "https://is1-ssl.mzstatic.com/image/thumb/Music115/v4/f2/0d/8b/f20d8bff-a927-ae98-6784-20a1f51cb23e/16UMGIM27642.rgb.jpg/{w}x{h}bb.jpg",
        "width": 3000,
        "height": 3000,
        "background_color": "#46535d"
      }
    }
  ],
  "not_found": []
}