Apple Music Feed
Access the content of the Apple Music Catalog in bulk.
Overview
Apple Music Feed contains the catalog content of Apple Music products in bulk for consumption as feed exports. These bulk exports are appropriate for offline use cases, complementing Apple Music API, which is best for online use. Apple Music Feed includes content metadata for albums, songs, artists, and popularity charts, and fully refreshes every 24 hours. You access the Apple Music Feed using Apple Media Feed API to Requesting a feed export of a data set.
With access to the raw data and the information in this documentation, you can use Apple Music Feed in many ways. For example, if you want to build a discovery engine for Apple Music, your team can examine the data and determine endpoint requests to serve such an engine.
Apple Music Feed uses the Parquet format, which is an open-source columnar storage file format that optimizes the storage and processing of large datasets. The Parquet format improves query performance and reduces storage costs in scenarios where you need to read or process data selectively. It achieves this by using columns and storing the values of each column together, which allows efficient compression and encoding techniques that you can apply specifically to each column. Many large-scale data-processing frameworks, like Hadoop and Spark, use this format.
Use sample scripts
You can find sample Java and Python scripts in the music-feed-examples public GitHub repository that perform the following steps:
Generate a developer token.
Use the token to request metadata for the latest feed export for a specific data set.
Use the token to request links to parts of the data for a feed export.
Download the feed data to a specified output directory.
Load the data files in Parquet and run a simple query.