scraper-api-com Apple Music API

Apple Music: read-only. 4 public endpoints, no account needed.

Operations 4

GET /v1/applemusic/artist Get an Apple Music artist (profile, top songs, discography) by URL or id #
GET /v1/applemusic/album Get an Apple Music album (metadata + full tracklist) by URL or id #
GET /v1/applemusic/track Get a single Apple Music song by URL or id #

Work with this as data

Every API here is available over the APIs.io API and to AI agents over MCP.

MCP server

One button, every client — Claude, Cursor, VS Code and the rest.

https://apis.io/mcp

Tools for apis

7 MCP tools reach this
  • find_apisBrowse and filter every API in the catalog.
  • get_api_artifactsOne API's artifacts, grouped by type.
  • get_openapiThe primary OpenAPI for this API.
  • find_similar_apisAPIs that look like this one.
  • apis_io_searchSTART HERE — APIs, providers and tags for one query, each with its total.
  • resolveTurn a domain, URL or GitHub org into the provider it belongs to.
  • find_cohortsEvery scored population of providers in the catalog.
All 92 tools →

Call it yourself

curl for this page
This API
curl "https://apis.io/api/v1/apis/scraper-api-com:scraper-api-com-apple-music-api"
All apis
curl "https://apis.io/api/v1/apis?limit=25"

Discovery needs no key. Ratings and market analysis are Pro.

Get an API key

Free tier, no form to fill in. Signing in shares your email address with us — we store it to create your key and to recognise you if you sign in with another provider. See our Privacy Policy and Terms.

A second provider on the same verified email joins the account you already have.

OpenAPI Specification

scraper-api-com-apple-music-api-openapi.yml Raw ↑
openapi: 3.2.0
info:
  title: scraper-api.com Apple Music API
  version: 0.1.0
  description: 'Self-hosted social media scraping API — a drop-in replacement for scrapecreators.com.


    ## Authentication

    Every request must send your API key in the `x-api-key` header.


    ## Credits

    Billing is credit-based: **1 request = 1 credit** (some endpoints cost more — see each endpoint''s description). Credits are **non-expiring** — buy once, use whenever.


    Response bodies match the ScrapeCreators shapes so existing integrations work unchanged.'
  contact:
    name: Fabian Bitter
    email: fabian@bitter.de
servers:
- url: https://api.scraper-api.com
  description: Production
security:
- apiKeyAuth: []
tags:
- name: Apple Music
  description: 'Apple Music: read-only. 4 public endpoints, no account needed.'
paths:
  /v1/applemusic/artist:
    get:
      tags:
      - Apple Music
      summary: Get an Apple Music artist (profile, top songs, discography) by URL or id
      operationId: applemusic_v1_artist
      description: '**Live endpoint.** Credit cost: **1** (1 request = 1 credit).'
      security:
      - apiKeyAuth: []
      parameters:
      - name: url
        in: query
        required: false
        description: 'Provide at least one of: url, id.'
        schema:
          type: string
      - name: id
        in: query
        required: false
        description: 'Provide at least one of: url, id.'
        schema:
          type: string
      responses:
        '200':
          description: Platform-native JSON payload (ScrapeCreators-compatible).
          content:
            application/json:
              example:
                success: true
                data:
                  id: '159260351'
                  kind: artist
                  name: Taylor Swift
                  url: https://music.apple.com/us/artist/taylor-swift/159260351
                  artwork:
                    url: https://is1-ssl.mzstatic.com/image/thumb/mock/1200x1200bb.jpg
                    width: 5998
                    height: 5998
                  editorial_notes: Favorite Taylor's artist page for updates.
                  artist_bio: null
                  genre_names:
                  - Pop
                  origin: West Reading, PA, United States
                  born_or_formed: December 13, 1989
                  top_songs:
                  - id: '1833328840'
                    kind: song
                    title: The Fate of Ophelia
                    artist_name: Taylor Swift
                    album_name: The Life of a Showgirl
                    url: https://music.apple.com/us/album/x/1833328839?i=1833328840
                    duration_ms: 226000
                    track_number: 1
                    disc_number: 1
                    explicit: false
                    artwork: null
                    preview_url: null
                  albums:
                  - id: '1468058165'
                    kind: album
                    title: Lover
                    subtitle: Taylor Swift
                    artist_name: Taylor Swift
                    track_count: 18
                    release_date: '2019-08-23'
                    url: https://music.apple.com/us/album/lover/1468058165
                    artwork: null
                  singles: []
        '400':
          description: Missing or invalid parameters.
          content:
            application/json:
              example:
                error:
                  message: 'Missing required parameter(s): handle'
        '401':
          description: Missing or invalid API key.
          content:
            application/json:
              example:
                error:
                  message: Invalid API key.
        '402':
          description: Not enough credits.
          content:
            application/json:
              example:
                error:
                  message: Insufficient credits.
        '429':
          description: Rate limit exceeded.
          content:
            application/json:
              example:
                error:
                  message: Rate limit exceeded.
        '502':
          description: Upstream scrape failed.
          content:
            application/json:
              example:
                error:
                  message: Upstream scrape failed.
  /v1/applemusic/album:
    get:
      tags:
      - Apple Music
      summary: Get an Apple Music album (metadata + full tracklist) by URL or id
      operationId: applemusic_v1_album
      description: '**Live endpoint.** Credit cost: **1** (1 request = 1 credit).'
      security:
      - apiKeyAuth: []
      parameters:
      - name: url
        in: query
        required: false
        description: 'Provide at least one of: url, id.'
        schema:
          type: string
      - name: id
        in: query
        required: false
        description: 'Provide at least one of: url, id.'
        schema:
          type: string
      responses:
        '200':
          description: Platform-native JSON payload (ScrapeCreators-compatible).
          content:
            application/json:
              example:
                success: true
                data:
                  id: '1468058165'
                  kind: album
                  title: Lover
                  artist_name: Taylor Swift
                  artist_url: https://music.apple.com/us/artist/taylor-swift/159260351
                  artist_id: '159260351'
                  url: https://music.apple.com/us/album/lover/1468058165
                  track_count: 18
                  release_date: '2019-08-23'
                  release_info: 'August 23, 2019

                    18 songs, 1 hour 1 minute

                    ℗ 2019 Taylor Swift'
                  record_label: Taylor Swift
                  copyright: ℗ 2019 Taylor Swift
                  upc: 00602577928383
                  is_single: false
                  is_compilation: false
                  genre_names:
                  - Pop
                  editorial_notes: A love letter to love itself.
                  artwork:
                    url: https://is1-ssl.mzstatic.com/image/thumb/mock/1200x1200bb.jpg
                    width: 1200
                    height: 1200
                  tracks:
                  - id: '1468058169'
                    kind: song
                    title: I Forgot That You Existed
                    duration_ms: 170651
                    track_number: 1
                    disc_number: 1
                    explicit: false
                    isrc: USUG11901473
                    artist_name: Taylor Swift
                    url: https://music.apple.com/us/album/x/1468058165?i=1468058169
                    album_id: '1468058165'
                    preview_url: null
        '400':
          description: Missing or invalid parameters.
          content:
            application/json:
              example:
                error:
                  message: 'Missing required parameter(s): handle'
        '401':
          description: Missing or invalid API key.
          content:
            application/json:
              example:
                error:
                  message: Invalid API key.
        '402':
          description: Not enough credits.
          content:
            application/json:
              example:
                error:
                  message: Insufficient credits.
        '429':
          description: Rate limit exceeded.
          content:
            application/json:
              example:
                error:
                  message: Rate limit exceeded.
        '502':
          description: Upstream scrape failed.
          content:
            application/json:
              example:
                error:
                  message: Upstream scrape failed.
  /v1/applemusic/track:
    get:
      tags:
      - Apple Music
      summary: Get a single Apple Music song by URL or id
      operationId: applemusic_v1_track
      description: '**Live endpoint.** Credit cost: **1** (1 request = 1 credit).'
      security:
      - apiKeyAuth: []
      parameters:
      - name: url
        in: query
        required: false
        description: 'Provide at least one of: url, id.'
        schema:
          type: string
      - name: id
        in: query
        required: false
        description: 'Provide at least one of: url, id.'
        schema:
          type: string
      responses:
        '200':
          description: Platform-native JSON payload (ScrapeCreators-compatible).
          content:
            application/json:
              example:
                success: true
                data:
                  id: '1468058169'
                  kind: song
                  title: I Forgot That You Existed
                  album: Lover
                  album_name: Lover
                  album_id: '1468058165'
                  url: https://music.apple.com/us/album/i-forgot-that-you-existed/1468058165?i=1468058169
                  duration_ms: 170651
                  track_number: 1
                  disc_number: 1
                  artist_name: Taylor Swift
                  composer_name: Taylor Swift & Louis Bell
                  explicit: false
                  isrc: USUG11901473
                  release_date: '2019-08-23'
                  genre_names:
                  - Pop
                  artwork:
                    url: https://is1-ssl.mzstatic.com/image/thumb/mock/1200x1200bb.jpg
                    width: 1200
                    height: 1200
                  preview_url: null
        '400':
          description: Missing or invalid parameters.
          content:
            application/json:
              example:
                error:
                  message: 'Missing required parameter(s): handle'
        '401':
          description: Missing or invalid API key.
          content:
            application/json:
              example:
                error:
                  message: Invalid API key.
        '402':
          description: Not enough credits.
          content:
            application/json:
              example:
                error:
                  message: Insufficient credits.
        '429':
          description: Rate limit exceeded.
          content:
            application/json:
              example:
                error:
                  message: Rate limit exceeded.
        '502':
          description: Upstream scrape failed.
          content:
            application/json:
              example:
                error:
                  message: Upstream scrape failed.
  /v1/applemusic/search:
    get:
      tags:
      - Apple Music
      summary: Search the Apple Music catalog (songs/albums/artists) by query
      operationId: applemusic_v1_search
      description: '**Live endpoint.** Credit cost: **1** (1 request = 1 credit).'
      security:
      - apiKeyAuth: []
      parameters:
      - name: query
        in: query
        required: true
        schema:
          type: string
      responses:
        '200':
          description: Platform-native JSON payload (ScrapeCreators-compatible).
          content:
            application/json:
              example:
                success: true
                data:
                  query: taylor swift
                  type: all
                  results:
                  - id: '159260351'
                    kind: artist
                    name: Taylor Swift
                    url: https://music.apple.com/us/artist/taylor-swift/159260351
                    artwork: null
                  - id: '1468058165'
                    kind: album
                    title: Lover
                    subtitle: Taylor Swift
                    artist_name: Taylor Swift
                    track_count: 18
                    release_date: '2019-08-23'
                    url: https://music.apple.com/us/album/lover/1468058165
                    artwork: null
                  - id: '1833328840'
                    kind: song
                    title: The Fate of Ophelia
                    artist_name: Taylor Swift
                    album_name: The Life of a Showgirl
                    url: https://music.apple.com/us/album/x/1833328839?i=1833328840
                    duration_ms: 226000
                    track_number: 1
                    disc_number: 1
                    explicit: false
                    artwork: null
                    preview_url: null
        '400':
          description: Missing or invalid parameters.
          content:
            application/json:
              example:
                error:
                  message: 'Missing required parameter(s): handle'
        '401':
          description: Missing or invalid API key.
          content:
            application/json:
              example:
                error:
                  message: Invalid API key.
        '402':
          description: Not enough credits.
          content:
            application/json:
              example:
                error:
                  message: Insufficient credits.
        '429':
          description: Rate limit exceeded.
          content:
            application/json:
              example:
                error:
                  message: Rate limit exceeded.
        '502':
          description: Upstream scrape failed.
          content:
            application/json:
              example:
                error:
                  message: Upstream scrape failed.
components:
  securitySchemes:
    apiKeyAuth:
      type: apiKey
      in: header
      name: x-api-key
      description: Your scraper-api.com API key.
x-tagGroups:
- name: Platforms
  tags:
  - Instagram
  - TikTok
  - YouTube
  - Facebook
  - LinkedIn
  - Twitter
  - Spotify
  - Apple Music
  - Kleinanzeigen
  - Quoka
  - markt.de
  - mobile.de
  - '11880'
  - Gelbe Seiten
  - ImmobilienScout24
  - immowelt
  - WG-Gesucht
  - Bayut
  - LOVOO
  - Jaumo
  - Tinder
  - Bumble
  - Snapchat
  - Google
  - Arbeitsagentur
  - Ausbildung.de
  - meinestadt.de